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.
Error on attempting cosmomc compile
-
- Posts: 3
- Joined: July 08 2015
- Affiliation: Reed College
-
- Posts: 1941
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Error on attempting cosmomc compile
mpif90 is quite standard, but on e.g. NERSC machines it is instead called "ftn" - just change MPIF90C in the source/Makefile.