[CosmoMC] Integrating with CosmoChord

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Mason Ng
Posts: 25
Joined: May 17 2017
Affiliation: The University of Auckland

[CosmoMC] Integrating with CosmoChord

Post by Mason Ng » July 19 2017

I am now trying to integrate CosmoMC with CosmoChord, and I'm getting some errors (I also get errors [because of different definitions of action] if I first 'make' cosmomc, then bring unzip CosmoChord). At first, it seems like a few of them were associated with conflicting tool chains in the cluster. I have been in contact with someone from the cluster for awhile now and there is still no resolution even after about 2 weeks, hence the thread. I'll explain what has happened.

I should note that I have successfully compiled CosmoMC before (and symbolically linking to Planck likelihoods), and that is all fine. I did "mpirun -np 1 ./cosmomc test.ini" and also with "test_planck.ini" to make sure.

These are the modules I used that was fine for CosmoMC:

Code: Select allp>

1) OpenBLAS/0.2.13-GCC−4.9.2-LAPACK−3.5.0  11) libpng/1.6.28-gimkl−2017a                  21) libxml2/2.9.4-gimkl−2017a      31) icc/2017.1.132-GCC−5.4.0
  2) GCCcore/5.4.0                           12) freetype/2.7.1-gimkl−2017a                 22) libxslt/1.1.29-gimkl−2017a     32) ifort/2017.1.132-GCC−5.4.0
  3) binutils/2.26-GCCcore−5.4.0             13) GEOS/3.6.1-gimkl−2017a                     23) LLVM/3.8.1-gimkl−2017a         33) iccifort/2017.1.132-GCC−5.4.0
  4) GCC/5.4.0−2.26                          14) Szip/2.1-gimkl−2017a                       24) cURL/7.52.1-gimkl−2017a        34) impi/2017.1.132-iccifort−2017.1.132-GCC−5.4.0
  5) gimpi/2017a                             15) HDF5/1.8.18-gimkl−2017a                    25) netCDF/4.4.1-gimkl−2017a       35) iimpi/2017a
  6) gimkl/2017a                             16) libgpuarray/0.6.2-gimkl−2017a-CUDA−8.0.61  26) Tcl/8.6.6-gimkl−2017a          36) imkl/2017.1.132-iimpi−2017a
  7) bzip2/1.0.6-gimkl−2017a                 17) libjpeg-turbo/1.5.1-gimkl−2017a            27) SQLite/3.16.2-gimkl−2017a      37) intel/2017a
  8) CUDA/8.0.61                             18) ncurses/6.0-gimkl−2017a                    28) METIS/5.1.0-gimkl−2017a
  9) FFTW/3.3.5-gimkl−2017a                  19) libreadline/6.3-gimkl−2017a                29) SuiteSparse/4.5.4-gimkl−2017a
 10) zlib/1.2.11-gimkl−2017a                20) XZ/5.2.3-gimkl−2017a                       30) Python/2.7.13-gimkl−2017a 
NOTE: I think for my original CosmoMC runs, the source/Makefile automatically points to ifort?

Now for trying to integrate CosmoChord:

After unpacking a fresh CosmoMC (Nov 2016), I simply unzipped the CosmoChord files in the CosmoMC folder.

If I try to make CosmoMC (with CosmoChord files in) with the above modules, I get

Code: Select allp>

(using make clean)
cd ./source && make clean
make[1]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
rm -f ReleaseMPI/*.o ReleaseMPI/*.mod ../core
rm -rf Release*
rm -rf Debug*
cd ../polychord; make clean
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
rm -f *.o *.mod *.MOD
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
cd ../camb; make clean
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
rm -f *.o *.a *.d core *.mod Releaselib/*.o Releaselib/*.mod
rm -f *.o *.a *.d core *.mod ReleaseMPI/*.o ReleaseMPI/*.mod pycamb/camb/*.so
rm -rf Release*
rm -rf Debug*
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
make[1]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'

(using make)
cd ./source && make cosmomc BUILD=MPI
make[1]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
mkdir -p ReleaseMPI
cd ../polychord; make all BUILD=MPI
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
mpif90 -mkl -openmp -O3 -no-prec-div -fpp -xHost -DMPI -DCLIK -assume noold_maxminloc -c utils.f90
ifort: command line remark #10411: option '-openmp' is deprecated and will be removed in a future release. Please use the replacement option '-qopenmp'
utils.f90(1025): error #7013: This module file was not generated by any release of this compiler.   [MPI]
        use mpi,only: MPI_Wtime
————
utils.f90(1031): error #6406: Conflicting attributes or multiple declaration of name.   [MPI_WTIME]
        time = MPI_Wtime()
—————
utils.f90(1025): error #6580: Name in only-list does not exist.   [MPI_WTIME]
        use mpi,only: MPI_Wtime
———————-^
compilation aborted for utils.f90 (code 1)
make[2]: *** [utils.o] Error 1
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
make[1]: *** [polychord] Error 2
make[1]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
make: *** [cosmomc] Error 2
Apparently the problem still was with the tool chains; some information from the cluster: ""there are three types of tool chains available on the cluster,

foss: GCC, OpenMPI, OpenBLAS/LAPACK, ScaLAPACK(/BLACS), FFTW
intel: icc, ifort, impi, imkl
gimkl: GCC, impi, imkl""

Anyways I tried to follow the instructions, so I now have this for the modules list:

Code: Select allp>

1) OpenBLAS/0.2.13-GCC−4.9.2-LAPACK−3.5.0                     9) libreadline/6.3-foss−2015a  17) CUDA/7.5.18                     25) Python/2.7.11-foss−2015a
  2) numactl/2.0.10-GCC−4.9.2                                  10) ncurses/5.9-foss−2015a      18) Szip/2.1-foss−2015a             26) GCCcore/6.3.0
  3) hwloc/1.10.0-GCC−4.9.2                                    11) LLVM/3.7.1-foss−2015a       19) HDF5/1.8.16-foss−2015a          27) binutils/2.27-GCCcore−6.3.0
  4) gompi/2015a                                               12) zlib/1.2.8-foss−2015a       20) GEOS/3.5.0-foss−2015a           28) GCC/6.3.0
  5) FFTW/3.3.4-gompi−2015a                                    13) Tcl/8.6.4-foss−2015a        21) NASM/2.11.08-foss−2015a         29) OpenMPI/2.0.2-GCC−6.3.0
  6) ScaLAPACK/2.0.2-gompi−2015a-OpenBLAS−0.2.13-LAPACK−3.5.0  14) SQLite/3.10.0-foss−2015a    22) libjpeg-turbo/1.4.0-foss−2015a
  7) foss/2015a                                                15) libxml2/2.9.3-foss−2015a    23) libpng/1.6.20-foss−2015a
  8) bzip2/1.0.6-foss−2015a                                    16) libxslt/1.1.28-foss−2015a   24) freetype/2.6.2-foss−2015a
Doing 'make' and/or 'make clean' spits out some "which: no ifort" related error, but I thought that was a minor problem since gcc/gfortran is being used in the end (and especially since I was not supposed to import a module from Intel). Other than the ifort errors (I hope it is not a big deal), I get this output:

Code: Select allp>

make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c utils.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c abort.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c array_utils.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c settings.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c calculate.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c mpi_utils.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c random_utils.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c chordal_sampling.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c run_time_info.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c clustering.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c params.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c priors.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c read_write.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c feedback.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c generate.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c ini.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c nested_sampling.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c interfaces.F90
ar r libchord.a abort.o array_utils.o calculate.o chordal_sampling.o clustering.o feedback.o generate.o ini.o interfaces.o mpi_utils.o nested_sampling.o params.o priors.o random_utils.o read_write.o run_time_info.o settings.o utils.o
ar: creating libchord.a
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
cd ../camb && \
	make –file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
	RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
constants.f90:90:29:

         if (id==0) error stop('Error id must be non-zero')
                             1
Error: Blank required in ERROR STOP statement near (1)
make[2]: *** [ReleaseMPI/constants.o] Error 1
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
make[1]: *** [camb] Error 2
make[1]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
make: *** [cosmomc] Error 2

Could someone please advise?

Antony Lewis
Posts: 1354
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: [CosmoMC] Integrating with CosmoChord

Post by Antony Lewis » July 19 2017

For the last point try the latest version from github. (or make the obvious edit to constants.f90 to resolve the compiler compatibility error you see)

Mason Ng
Posts: 25
Joined: May 17 2017
Affiliation: The University of Auckland

Re: [CosmoMC] Integrating with CosmoChord

Post by Mason Ng » July 19 2017

Antony Lewis wrote:For the last point try the latest version from github. (or make the obvious edit to constants.f90 to resolve the compiler compatibility error you see)
Thanks for the reply. I apologize for my ignorance, but I could not find an obvious place to fix the ifort/gfortran compatibility error in constants.f90. Nonetheless, I used the Github version and now I get a different output:

To be explicit, I did try building the new CosmoMC (without CosmoChord) and running "mpirun -np 1 ./cosmomc test.ini" and with test_planck.ini as usual and I encountered no issues at all. I did not forget to perform the symbolic link with the Planck likelihood.

Code: Select allp>

cd ./source && make cosmomc BUILD=MPI
which: no ifort in (/share/easybuild/RHEL6.3/westmere/software/OpenMPI/2.0.2-GCC−6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/binutils/2.27-GCCcore−6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/GCCcore/6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/Python/2.7.11-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/freetype/2.6.2-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libpng/1.6.20-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libjpeg-turbo/1.4.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/NASM/2.11.08-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/GEOS/3.5.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/HDF5/1.8.16-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/CUDA/7.5.18:/share/easybuild/RHEL6.3/westmere/software/CUDA/7.5.18/bin:/share/easybuild/RHEL6.3/westmere/software/libxslt/1.1.28-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libxml2/2.9.3-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/SQLite/3.10.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/Tcl/8.6.4-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/LLVM/3.7.1-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/ncurses/5.9-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libreadline/6.3-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/bzip2/1.0.6-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/FFTW/3.3.4-gompi−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/hwloc/1.10.0-GCC−4.9.2/bin:/share/easybuild/RHEL6.3/westmere/software/numactl/2.0.10-GCC−4.9.2/bin:/share/easybuild/RHEL6.3/westmere/software/OpenBLAS/0.2.13-GCC−4.9.2-LAPACK−3.5.0/bin:/gpfs1m/projects/uoa00518/plc−2.0/bin:/usr/lib64/qt−3.3/bin:/share/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/ibutils/bin:/usr/share/pvm3/bin:/home/wng373/bin)
make[1]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
mkdir -p ReleaseMPI
cd ../polychord; make all BUILD=MPI
which: no ifort in (/share/easybuild/RHEL6.3/westmere/software/OpenMPI/2.0.2-GCC−6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/binutils/2.27-GCCcore−6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/GCCcore/6.3.0/bin:/share/easybuild/RHEL6.3/westmere/software/Python/2.7.11-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/freetype/2.6.2-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libpng/1.6.20-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libjpeg-turbo/1.4.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/NASM/2.11.08-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/GEOS/3.5.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/HDF5/1.8.16-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/CUDA/7.5.18:/share/easybuild/RHEL6.3/westmere/software/CUDA/7.5.18/bin:/share/easybuild/RHEL6.3/westmere/software/libxslt/1.1.28-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libxml2/2.9.3-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/SQLite/3.10.0-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/Tcl/8.6.4-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/LLVM/3.7.1-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/ncurses/5.9-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/libreadline/6.3-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/bzip2/1.0.6-foss−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/FFTW/3.3.4-gompi−2015a/bin:/share/easybuild/RHEL6.3/westmere/software/hwloc/1.10.0-GCC−4.9.2/bin:/share/easybuild/RHEL6.3/westmere/software/numactl/2.0.10-GCC−4.9.2/bin:/share/easybuild/RHEL6.3/westmere/software/OpenBLAS/0.2.13-GCC−4.9.2-LAPACK−3.5.0/bin:/gpfs1m/projects/uoa00518/plc−2.0/bin:/usr/lib64/qt−3.3/bin:/share/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/ibutils/bin:/usr/share/pvm3/bin:/home/wng373/bin)
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c utils.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c abort.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c array_utils.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c settings.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c calculate.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c mpi_utils.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c random_utils.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c chordal_sampling.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c run_time_info.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c clustering.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c params.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c priors.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c read_write.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c feedback.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c generate.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c ini.f90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c nested_sampling.F90
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -c interfaces.F90
ar r libchord.a abort.o array_utils.o calculate.o chordal_sampling.o clustering.o feedback.o generate.o ini.o interfaces.o mpi_utils.o nested_sampling.o params.o priors.o random_utils.o read_write.o run_time_info.o settings.o utils.o
ar: creating libchord.a
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/polychord'
cd ../camb && \
	make –file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
	RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[2]: Entering directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c utils.F90 -o ReleaseMPI/utils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c subroutines.f90 -o ReleaseMPI/subroutines.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c inifile.f90 -o ReleaseMPI/inifile.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c power_tilt.f90 -o ReleaseMPI/power_tilt.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c recfast.f90 -o ReleaseMPI/recfast.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c reionization.f90 -o ReleaseMPI/reionization.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c modules.f90 -o ReleaseMPI/modules.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c bessels.f90 -o ReleaseMPI/bessels.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c equations_ppf.f90 -o ReleaseMPI/equations_ppf.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c halofit_ppf.f90 -o ReleaseMPI/halofit_ppf.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c lensing.f90 -o ReleaseMPI/lensing.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c SeparableBispectrum.F90 -o ReleaseMPI/SeparableBispectrum.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c cmbmain.f90 -o ReleaseMPI/cmbmain.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -JReleaseMPI -IReleaseMPI/ -c camb.f90 -o ReleaseMPI/camb.o
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
ar: creating ReleaseMPI/libcamb_recfast.a
make[2]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/camb'
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c MiscUtils.f90 -o ReleaseMPI/MiscUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c ArrayUtils.f90 -o ReleaseMPI/ArrayUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c StringUtils.f90 -o ReleaseMPI/StringUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c MpiUtils.f90 -o ReleaseMPI/MpiUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c FileUtils.f90 -o ReleaseMPI/FileUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c RandUtils.f90 -o ReleaseMPI/RandUtils.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c ObjectLists.f90 -o ReleaseMPI/ObjectLists.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c Interpolation.f90 -o ReleaseMPI/Interpolation.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c IniObjects.f90 -o ReleaseMPI/IniObjects.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c ObjectParamNames.f90 -o ReleaseMPI/ObjectParamNames.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c Matrix_utils_new.f90 -o ReleaseMPI/Matrix_utils_new.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c settings.f90 -o ReleaseMPI/settings.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c samples.f90 -o ReleaseMPI/samples.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c IO.f90 -o ReleaseMPI/IO.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c GeneralTypes.f90 -o ReleaseMPI/GeneralTypes.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c likelihood.f90 -o ReleaseMPI/likelihood.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c BaseParameters.f90 -o ReleaseMPI/BaseParameters.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c propose.f90 -o ReleaseMPI/propose.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c ParamSet.f90 -o ReleaseMPI/ParamSet.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c PowellConstrainedMinimize.f90 -o ReleaseMPI/PowellConstrainedMinimize.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c CosmologyTypes.f90 -o ReleaseMPI/CosmologyTypes.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c CosmoTheory.f90 -o ReleaseMPI/CosmoTheory.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c Calculator_Cosmology.f90 -o ReleaseMPI/Calculator_Cosmology.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c Likelihood_Cosmology.f90 -o ReleaseMPI/Likelihood_Cosmology.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c CMBlikes.f90 -o ReleaseMPI/CMBlikes.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c CMB_BK_Planck.f90 -o ReleaseMPI/CMB_BK_Planck.o
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -DCLIK -I../camb/ReleaseMPI -I/gpfs1m/projects/uoa00518/plc−2.0/include -I../polychord -JReleaseMPI -IReleaseMPI/  -I../polychord  -c cliklike.f90 -o ReleaseMPI/cliklike.o
f951: Fatal Error: Reading module ‘clik’ at line 1 column 2: Unexpected EOF
compilation terminated.
make[1]: *** [ReleaseMPI/cliklike.o] Error 1
make[1]: Leaving directory `/gpfs1m/projects/uoa00518/Work/cosmomc/source'
make: *** [cosmomc] Error 2

Post Reply