This is my first post here. So, please guide my way through. I tried installing the latest "CAMB" on my kubuntu 14.04. But with "make" I encountered the following error
Code: Select all
camb_python.f90:153:0: internal compiler error: Segmentation fault cData%q = c_loc(data%q%points)
I installed gfortran-5 (version 5.3) and gfortran-4.9 (version 4.9.3) and made changes to the compiler line in the make file accordingly (F90C = gfortran-5 and F90C = gfortran-4.9respectively). But now I get the following "Fatal Error" in "make"
Code: Select all
mkdir -p Release
gfortran-5 -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -
JRelease -IRelease/ Release/constants.o Release/utils.o
Release/subroutines.o Release/inifile.o Release/power_tilt.o
Release/recfast.o Release/reionization.o Release/modules.o
Release/bessels.o Release/equations.o Release/halofit_ppf.o
Release/lensing.o Release/SeparableBispectrum.o Release/cmbmain.o
Release/camb.o inidriver.F90 -lstdc++ -o camb
inidriver.F90:7:8:
use IniFile
1
Fatal Error: Cannot read module file ‘inifile.mod’ opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
make: *** [camb] Error 1
Code: Select all
mkdir -p Release
gfortran-4.9 -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -
JRelease -IRelease/ Release/constants.o Release/utils.o
Release/subroutines.o Release/inifile.o Release/power_tilt.o
Release/recfast.o Release/reionization.o Release/modules.o
Release/bessels.o Release/equations.o Release/halofit_ppf.o
Release/lensing.o Release/SeparableBispectrum.o Release/cmbmain.o
Release/camb.o inidriver.F90 -lstdc++ -o camb
inidriver.F90:7.8:
use IniFile
1
Fatal Error: Cannot read module file 'inifile.mod' opened at (1), because it was created by a different version of GNU Fortran
make: *** [camb] Error 1
Thanks & Regards,
Rohin.