New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Install Error #198
Comments
Dear @diogoamore. We have continuous integration testing for the MacOS using travis CI, which seems to be working. Having a look at the script install_conda_macos.sh which is used on travis.ci I can't see where the compiler is set. Could you check that in your installation that the gcc compiler is used. If not then that might be your problem. Looking at the page https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html it seems that you/we might need to install a compiler package from conda. it would be great if you could let us know how that works so that we can add a page in our wiki |
Dear @stoiver, I have managed to finally install anuga_core after several attempts to run the shell commands individually, but not with parallel working yet though. Not sure what the issue is yet with parallel. Nevertheless, it seems to be working already for the simple_examples folder tests. The issue now is with anuga_viewer. Since I could not execute this line (sudo apt-get install build-essential libgdal-dev make git libopenscenegraph-dev) as on Ubuntu, I have compiled openscenegraph separately, but as I attempted to run make, errors pop up. I have managed to solve some errors related related to c++11 FLAG and X11 lib. But at moment I am stuck at this error
I have a feeling it is related to some incompatibility between the OSViewer version I compiled manually and the one anuga_viewer is using to compile. Could you confirm that? If so, is there anything I should alter within the makefile lines? I compiled openSceneGraph 3.6.3 (latest). As I am not a programmer myself, only a very motivated functional programmer I would say, I think I reached my limit here. If there is anything you can tell about both parallel install issue on Mac and the further anuga_viewer install issues, I would very much appreciate the support. Best |
@diogoamore we should probably break this into two issues, one on the anuga_core installation on MacOS and one on the installation of the anuga-viewer on MacOS. Regarding the installation of anuga_core on MacOS. Can you provide the steps you took to get it installed. From that we can create an installation page on our wiki. Perhaps @uniomni can provide some help with the installation of the parallel version. By the way you can also use the separate mail list anuga-user@lists.sourceforge.net (subscription via https://lists.sourceforge.net/lists/listinfo/anuga-user) |
Dear @stoiver, Apologies for the late reply. I was busy with some other stuff in the past few days. We can definitely break the issue into two as you suggested. Regarding the correct steps I took to effectively install anugga_core on my MacOS, I basically went through the install_conda_macos.sh file command list and ran them one by one from scratch after the first failed attempt to install anuga_core. So, I believe that the final installation success was due to making sure both I also believe the Lastly, I believe your bash script is very well set, however, a couple of notes pointing to the fact that if one has Anaconda already installed, or if the bash script run through some errors, it would be best running the commands step-by-step so that one is clear that the install process is running smoothly. Ubuntu bash script did not present errors I believe because it does not use anaconda, and Hope this clarify my issue. I wil try to open an issue regarding anuga_viewer in a mailing list. Best, |
Dear admin,
I ve been trying to install Anuga on my MacOS but have not had much success. I have installed on my Ubuntu alright. However, as I have tried the install_conda_macos.sh file, I had no success. I have used python2 command instead of python throughout the command list and the installation seems to go all the way to the end. But as I try to runtests.py, lots of errors pop up. I haven't gone through all of them because I am not sure whether there are incompatibilities related to python scripts and Mac.
If there are any specific detail I should care about while attempting an install on MacOS I would much appreciate, as I have not read anything at Github description page.
Cheers
Diogo
The text was updated successfully, but these errors were encountered: