[CosmoMC] Unable to make CosmoMC (Nov 2016)

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Joseph Wraga
Posts: 6
Joined: February 22 2018
Affiliation: Drexel University

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Post by Joseph Wraga » February 22 2018

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.

Nishanth Sasankan
Posts: 27
Joined: September 07 2016
Affiliation: university of notre dame

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Post by Nishanth Sasankan » February 23 2018

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

Joseph Wraga
Posts: 6
Joined: February 22 2018
Affiliation: Drexel University

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Post by Joseph Wraga » February 23 2018

Thank you, Nishanth. What is the issue with running CosmoMC on a personal machine?

Nishanth Sasankan
Posts: 27
Joined: September 07 2016
Affiliation: university of notre dame

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Post by Nishanth Sasankan » February 23 2018

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

Joseph Wraga
Posts: 6
Joined: February 22 2018
Affiliation: Drexel University

[CosmoMC] Unable to make CosmoMC (Nov 2016)

Post by Joseph Wraga » February 24 2018

I see. Thank you!

Post Reply