-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue When I run Make #198
Comments
Can you try removing the build directory and then making again sending the output to a log file? Like this:
and then post the |
Here is the make.log file: ./scripts/build/findExecutables.pl |
It looks like it's trying to run |
I didn't see this, I'll try again! thanks. |
Sounds good! Let me know if you run into problems, or if it's successful. |
Also, there's an experimental precompiled executable for MacOS that may be useful: https://github.com/galacticusorg/galacticus/wiki/Using-Precompiled-Binaries-on-MacOS |
Tutorial didn't work and the precompiled said that Galacticus.exe is a Microsoft executable. I don't know what is wrong |
Can you provide details of what didn't work when you tried to build? And what's the full error message you get when trying to run the pre-compiled binary? |
@liempi I just did some tests on the pre-compiled binary for MacOS. The test runs fine. If you follow step 1 and step 2 as shown in the Tutorial Andrew mentioned above. You should get all the necessary files. I am not sure why the command "Curl" does not work for me. But anyway, you need to download the "Galacticus" repository and "datasets" repository to run the quick test in step 2. The zip file containing precompiled executable does not include the static dataset, so you will need to copy the "datasets/static" folder from step 1 to "datasets" you get from the zip file. The parameter file for the quick test, "quickTest.xml", is included in the source file of Galacticus from step 1, so you need to copy the "parameters" folder from step 1 to where you have the file Galacticus.exe. If you have all the files mentioned above, you can run the quick test as shown in Tutorial: ./Galacticus.exe parameters/quickTest.xml When you run this for the first time, you will get a message that "Galacticus.exe can not be opened because the developer cannot be verified". Just click "cancel". Go to "System Preferences"->"Security & Privacy" ->"General", where you will see "Galacticus.exe was blocked ...". Click "Allow anyway". Then try to rerun Galactiuus. You may again get similar error message, but for another executable file. Repeat the above steps to allow the executable to run. After a few attempts, you should be able to run the test. Note that if you get error message related to "datasets", try removing all the files under "datasets/dynamic/intergalacticMedium" and "datasets/dynamic/largeScaleStructure". I hope this can solve the problem you met. |
Thanks @Xiaolong-Du - I will update the installation notes to include these points. |
Sorry for the delay, I found my error. so, I think the problem is with the gcc installation but the installation of gcc is ok. |
liempi@MacBook-Pro-de-Matias galacticus % sudo ./Galacticus.exe parameters/quickTest.xml
## #### # ### ### ### ## ### ## ### # # # # # # # # # # # #### ### # ### # # # # # ## # # # # # # # # # # ##### ### #### ### ## ### ### ####© 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
M: Memory: nodes + misc = total Program aborted. Backtrace: I tried and I got this in my shell, but I check the directory and the file is exactly there. |
For the pre-compiled case the problem is that Galacticus is unable to find the datasets that it needs at run time.
|
It's possible that you need to set your First, check whether you have
to add this location to your I see that there's an error in the instructions for this step on the wiki page, I'll fix that now. |
@abensonca Now is working, I'm gonna reinstall from the source, maybe now it will work. Thanks for your time!! |
Hello, I'm trying to install Galacticus but when I type make in my shell I obtain:
File does not exist: ./work/build/stateStorables.xml at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 981.
XML::Simple::find_xml_file(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 238
XML::Simple::parse_file(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 218
XML::Simple::XMLin(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /Users/liempi/Documents/galacticus/perl/Galacticus/Build/SourceTree/Process/ObjectBuilder.pm line 51
Galacticus::Build::SourceTree::Process::ObjectBuilder::Process_ObjectBuilder(HASH(0x7fb4c8c15e88), HASH(0x7fb4c89e5380)) called at /Users/liempi/Documents/galacticus/perl/Galacticus/Build/SourceTree.pm line 184
Galacticus::Build::SourceTree::ProcessTree(HASH(0x7fb4c8c15e88)) called at ./scripts/build/buildCode.pl line 217
at /Users/liempi/Documents/galacticus/perl/Galacticus/Build/Components.pm line 69.
Galacticus::Build::Components::ANON("File does not exist: ./work/build/stateStorables.xml at /usr/"...) called at /usr/local/Cellar/perl/5.34.0/lib/perl5/5.34.0/Carp.pm line 291
Carp::croak("File does not exist: ./work/build/stateStorables.xml") called at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 981
XML::Simple::find_xml_file(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 238
XML::Simple::parse_file(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /usr/local/Cellar/perl/5.34.0/lib/perl5/site_perl/5.34.0/XML/Simple.pm line 218
XML::Simple::XMLin(XML::Simple=HASH(0x7fb4cf8f4cd0), "./work/build/stateStorables.xml") called at /Users/liempi/Documents/galacticus/perl/Galacticus/Build/SourceTree/Process/ObjectBuilder.pm line 51
Galacticus::Build::SourceTree::Process::ObjectBuilder::Process_ObjectBuilder(HASH(0x7fb4c8c15e88), HASH(0x7fb4c89e5380)) called at /Users/liempi/Documents/galacticus/perl/Galacticus/Build/SourceTree.pm line 184
Galacticus::Build::SourceTree::ProcessTree(HASH(0x7fb4c8c15e88)) called at ./scripts/build/buildCode.pl line 217
The text was updated successfully, but these errors were encountered: