jacopo-chevallard / BEAGLE-general

Basic information to get started with the galaxy spectral modelling tool Beagle
https://www.iap.fr/beagle/
9 stars 0 forks source link

Error due to no CMakeLists.txt? #37

Closed rmastand closed 7 years ago

rmastand commented 7 years ago

As in 2.3.2 in the manual, I tried to run the command cmake -DCMAKE_Fortran_COMPILER= -DCMAKE_INSTALL_PREFIX= .. twice, the first time with install_dir being a new directory I made within the BEAGLE-general repository, and the second with the install_sir being a new directory outside of the repository. Both times I got "The source directory "path/BEAGLE-general" does not appear to contain CMakeLists.txt."

I know there are some CMakeLists in the cmake-dependencies folder. I am quite sure that the compiler/environment variables are set correctly. My build directory is empty.

The manual asks users to download BEAGLE using git clone https://github.com/jacopo-chevallard/BEAGLE.git. I'm guessing this is an older version, because when I tried to do this, it said the repository didn't exist. I used the command git clone https://github.com/jacopo-chevallard/BEAGLE-general.git instead (I'm only mentioning this in case this has anything to do with the error I'm having).

jacopo-chevallard commented 7 years ago

You don't need to compile/install Beagle, since you're using the Dockerized version, while those instructions refer to the source code compilation. In practice, you should ignore section 2 of the manual, and instead follow the instructions on the GitHub wiki (here) to run the Dockerized version of Beagle to which you have access. You can then refer to the manual, from sec. 3 on, for details about the model parameters, format of the input/output files, etc...