[CosmoMC] Make shows gfortran errors
Posted: June 12 2017
I have successfully make'd CosmoMC on my desktop (Ubuntu). It was symbolically linked to the Planck likelihood as well. Previously, I got memory errors which prevented me from successfully running CosmoMC. I am now trying to get it working on a supercomputing cluster.
I am first trying to 'make' CosmoMC on the cluster build node -> I just 'scp'-ed cosmomc onto the cluster build node.
I have these modules loaded on the cluster environment:
When I try to do 'make' on ~/cosmomc, I get
and I'm not quite sure what it all means. It would be great if someone could point in the right direction! The paper 1409.1354v3 did not quite resolve my issues, from what I can see.
I am first trying to 'make' CosmoMC on the cluster build node -> I just 'scp'-ed cosmomc onto the cluster build node.
I have these modules loaded on the cluster environment:
Code: Select all
1) ifort/2017.1.132-GCC-5.4.0 14) ncurses/6.0-gimkl-2017a 27) Python/2.7.13-gimkl-2017a
2) impi/2017.1.132-GCC-5.4.0-2.26 15) libreadline/6.3-gimkl-2017a 28) GCCcore/6.3.0
3) gimpi/2017a 16) XZ/5.2.3-gimkl-2017a 29) binutils/2.27-GCCcore-6.3.0
4) imkl/2017.1.132-gimpi-2017a 17) libxml2/2.9.4-gimkl-2017a 30) numactl/2.0.10-GCC-4.9.2
5) gimkl/2017a 18) libxslt/1.1.29-gimkl-2017a 31) hwloc/1.10.0-GCC-4.9.2
6) bzip2/1.0.6-gimkl-2017a 19) LLVM/3.8.1-gimkl-2017a 32) OpenBLAS/0.2.13-GCC-4.9.2-LAPACK-3.5.0
7) CUDA/8.0.61 20) Szip/2.1-gimkl-2017a 33) gompi/2015a
8) zlib/1.2.11-gimkl-2017a 21) HDF5/1.8.18-gimkl-2017a 34) FFTW/3.3.4-gompi-2015a
9) libpng/1.6.28-gimkl-2017a 22) cURL/7.52.1-gimkl-2017a 35) ScaLAPACK/2.0.2-gompi-2015a-OpenBLAS-0.2.13-LAPACK-3.5.0
10) freetype/2.7.1-gimkl-2017a 23) netCDF/4.4.1-gimkl-2017a 36) foss/2015a
11) GEOS/3.6.1-gimkl-2017a 24) SQLite/3.16.2-gimkl-2017a 37) CFITSIO/3.39-foss-2015a
12) libgpuarray/0.6.2-gimkl-2017a-CUDA-8.0.61 25) METIS/5.1.0-gimkl-2017a 38) GCC/6.3.0
13) libjpeg-turbo/1.5.1-gimkl-2017a 26) SuiteSparse/4.5.4-gimkl-2017a 39) OpenMPI/2.0.2-GCC-6.3.0
Code: Select all
mkdir -p ReleaseMPI
cd ../camb && \
make --file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[1]: Entering directory `/gpfs1m/projects/uoa00518/cosmomc/camb'
mkdir -p ReleaseMPI
mpif90 -mkl -O3 -no-prec-div -fpp -qopenmp -xHost -DMPI -module ReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
gfortran: error: unrecognized command line option ‘-mkl’
gfortran: error: unrecognized command line option ‘-no-prec-div’; did you mean ‘-fno-tree-dce’?
gfortran: error: unrecognized command line option ‘-fpp’; did you mean ‘-cpp’?
gfortran: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’?
gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’?
make[1]: *** [ReleaseMPI/constants.o] Error 1
make[1]: Leaving directory `/gpfs1m/projects/uoa00518/cosmomc/camb'
make: *** [camb] Error 2