CosmoCoffee Forum Index CosmoCoffee

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

Installation on OSX 10.11.6 (el capitan)
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Claudio Nahmad



Joined: 14 Jan 2017
Posts: 2
Affiliation: Facultad de Ciencias UNAM

PostPosted: January 14 2017  Reply with quote

Hello.

I am currently installing CosmoMC on a iMac with OSX el capitan. The first step was to install CAMB, to do this i downloaded gcc5.2 from https://gcc.gnu.org/wiki/GFortranBinaries#MacOS and installed it with the automatic installation. Following this i downloaded CAMB from the github repository and installed it with "make". Everything fine.

Next thing is installing CosmoMC, so i downloaded it from the website https://github.com/cmbant/CosmoMC unpacked and typed "make" in the terminal. The following error appears:


Code:
cd ./source && make cosmomc BUILD=MPI
mkdir -p ReleaseMPI
cd ../camb && \
   /Applications/Xcode.app/Contents/Developer/usr/bin/make --file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
   RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -DMPI -JReleaseMPI -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


My entry might be easy to resolve, but i'm sorry i'm new to this. Thank you in advance.
Back to top
View user's profile   Visit poster's website
Antony Lewis



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

PostPosted: January 15 2017  Reply with quote

To start with you need GCC6 and mpi.

Or use CosmoBox (http://cosmologist.info/CosmoBox/)
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.