Error on attempting cosmomc compile

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Aaron Brown
Posts: 3
Joined: July 08 2015
Affiliation: Reed College

Error on attempting cosmomc compile

Post by Aaron Brown » July 08 2015

Hi,
Upon attempting compile of cosmomc using make command I receive following errors:
ake
cd ./source && make cosmomc BUILD=MPI
make[1]: Entering directory `/home/aaron/Downloads/cosmomc/source'
mkdir -p ReleaseMPI
cd ../camb && \
make --file=Makefile_main libcamb_recfast.a \
RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[2]: Entering directory `/home/aaron/Downloads/cosmomc/camb'
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -DMPI -c constants.f90
make[2]: mpif90: Command not found
make[2]: *** [constants.o] Error 127
make[2]: Leaving directory `/home/aaron/Downloads/cosmomc/camb'
make[1]: *** [camb] Error 2
make[1]: Leaving directory `/home/aaron/Downloads/cosmomc/source'
make: *** [cosmomc] Error 2

and then I'm sent back to my cd.


Unsure what they are trying to tell me. Any and all help is appreciated.

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Error on attempting cosmomc compile

Post by Antony Lewis » July 08 2015

mpif90 is quite standard, but on e.g. NERSC machines it is instead called "ftn" - just change MPIF90C in the source/Makefile.

Post Reply