CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

compile CosmoMC error
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Ze Luan



Joined: 12 Jun 2016
Posts: 1
Affiliation: CCNU

PostPosted: June 12 2016  Reply with quote

Hello,
I want to install CosmoMC and I have installed Fortran Compiler,Open MPI,CFITSIO, HEALPix, and building WMAP, Planck data. And I have edited the
source/Makefile and camb/Makefile.
But when I type "make" to compile ComoMC, I meet an error. What should I do?

Code:

cd ./source && make cosmomc BUILD=MPI
make[1]: Entering directory `/home/limh/workspace/cosmomc/source'
mkdir -p ReleaseMPI
cd ../camb && \
   make --file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
   RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[2]: Entering directory `/home/limh/workspace/cosmomc/camb'
mkdir -p ReleaseMPI
mpif90  -mkl -openmp -O3 -no-prec-div -fpp -xHost -DMPI -module ReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
--------------------------------------------------------------------------
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)
--------------------------------------------------------------------------
make[2]: *** [ReleaseMPI/constants.o] Error 1
make[2]:Leaving directory `/home/limh/workspace/cosmomc/camb'
make[1]: *** [camb] Error 2
make[1]:Leaving directory `/home/limh/workspace/cosmomc/source'
make: *** [cosmomc] Error 2
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1239
Affiliation: University of Sussex

PostPosted: June 13 2016  Reply with quote

Check your mpi settings as in
http://cosmocoffee.info/viewtopic.php?t=2678
Back to top
View user's profile [ Hidden ] Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.