CosmoCoffee Forum Index CosmoCoffee

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

Installation of cosmomc
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Dyaa Chbib

Joined: 17 Aug 2016
Posts: 1
Affiliation: CPT

PostPosted: August 17 2016  Reply with quote


I tried to install cosmomc but I get error.
I use fortran with the following version:
GNU Fortran (Debian 4.9.2−10) 4.9.2

I need help in asap.

cd ./source && make cosmomc BUILD=MPI
make[1]: Entering directory `/tmp/CosmoMC-June2016/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 `/tmp/CosmoMC-June2016/camb'
mkdir -p ReleaseMPI
ar -r ReleaseMPI/libcamb_recfast.a ReleaseMPI/constants.o ReleaseMPI/utils.o ReleaseMPI/subroutines.o ReleaseMPI/inifile.o ReleaseMPI/power_tilt.o ReleaseMPI/recfast.o ReleaseMPI/reionization.o ReleaseMPI/modules.o ReleaseMPI/bessels.o ReleaseMPI/equations_ppf.o ReleaseMPI/halofit_ppf.o ReleaseMPI/lensing.o ReleaseMPI/SeparableBispectrum.o ReleaseMPI/cmbmain.o ReleaseMPI/camb.o
make[2]: Leaving directory `/tmp/CosmoMC-June2016/camb'
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -I../camb/ReleaseMPI -JReleaseMPI -IReleaseMPI/ -c MiscUtils.f90 -o ReleaseMPI/MiscUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -I../camb/ReleaseMPI -JReleaseMPI -IReleaseMPI/ -c ArrayUtils.f90 -o ReleaseMPI/ArrayUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -I../camb/ReleaseMPI -JReleaseMPI -IReleaseMPI/ -c StringUtils.f90 -o ReleaseMPI/StringUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -I../camb/ReleaseMPI -JReleaseMPI -IReleaseMPI/ -c MpiUtils.f90 -o ReleaseMPI/MpiUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -I../camb/ReleaseMPI -JReleaseMPI -IReleaseMPI/ -c FileUtils.f90 -o ReleaseMPI/FileUtils.o
FileUtils.f90: In function ‘writetextvector’:
FileUtils.f90:1369:0: internal compiler error: Segmentation fault
call F%Write(vec(j))

Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc−4.9/README.Bugs> for instructions.
make[1]: *** [ReleaseMPI/FileUtils.o] Error 1
make[1]: Leaving directory `/tmp/CosmoMC-June2016/source'
make: *** [cosmomc] Error 2
Back to top
View user's profile  
Antony Lewis

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

PostPosted: August 18 2016  Reply with quote

You need Gfortran 6 or higher. Or use 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.