CABM_Make_error_in ubuntu 14.04
Posted: September 11 2015
I am a beginner in CAMB.I am using Ubuntu 14.04 lts. While installing CAMB using terminal,when I gave make command it shows errors
What editing should I do In the make file
Code: Select all
root@WorkStation:/home/vipin/Softwares/camb# make
mkdir -p Release
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c constants.f90 -o Release/constants.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c utils.F90 -o Release/utils.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c subroutines.f90 -o Release/subroutines.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c inifile.f90 -o Release/inifile.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c power_tilt.f90 -o Release/power_tilt.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c recfast.f90 -o Release/recfast.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c reionization.f90 -o Release/reionization.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c modules.f90 -o Release/modules.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c bessels.f90 -o Release/bessels.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c equations.f90 -o Release/equations.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c halofit_ppf.f90 -o Release/halofit_ppf.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c lensing.f90 -o Release/lensing.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c SeparableBispectrum.F90 -o Release/SeparableBispectrum.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c cmbmain.f90 -o Release/cmbmain.o
gfortran -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JRelease -IRelease/ -c camb.f90 -o Release/camb.o
gfortran -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
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
make: *** [camb] Error 1