Page 1 of 1

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Posted: February 22 2018
by Joseph Wraga
When trying to make CosmoMC, I get the error

Code: Select all

/mkdir -p ReleaseMPI
mpif90 -f90=ifort -mkl -openmp -03 -no-prec-div -fpp -qopenmp -xHost -DMPI -DCLIK -module ReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
make[2]: mpif90: No such file or directory
make[2]: *** [ReleaseMPI/constants.o] Error 1
make[1]: *** [camb] Error 2
make: *** [cosmomc] Error 2
It is similar to the error here: https://stackoverflow.com/questions/446 ... -directory.

I followed the link given in the answer ( http://www.owsiak.org/running-open-mpi-on-macos/ ) to get OpenMPI(3.0.0) running on my mac, but it doesn't seem to fix this. Any help is much appreciated.

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Posted: February 23 2018
by Nishanth Sasankan
If you are running on a cluster, sometimes changing versions of compilers will fix these issues. Also you dont want to run CosmoMC on a personal Machine.

Hope this helps
Nishanth

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Posted: February 23 2018
by Joseph Wraga
Thank you, Nishanth. What is the issue with running CosmoMC on a personal machine?

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Posted: February 23 2018
by Nishanth Sasankan
CosmoMC runs a MCMC with large set of parameters, this requires multiple processor core. Even if you have cosmomc working on your laptop, at the end of the day, you need a cluster to run multiple chains(walkers) and get convergence for your parameters.

Hope this helps
Nishanth

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Posted: February 24 2018
by Joseph Wraga
I see. Thank you!