Making CosmoMC on a Mac

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Joseph Wraga
Posts: 6
Joined: February 22 2018
Affiliation: Drexel University

Making CosmoMC on a Mac

Post by Joseph Wraga » March 20 2018

When trying to make CosmoMC-Nov2016, I get many errors that look similar to:

Code: Select all

Cannot disable Fortran error message 6460
cliklike.f90(61): error #6460: This is not a field name that is defined in the encompassing structure.   [ADD]
            call LikeList%Add(Like)
(I've included the full error at the bottom of this post). This is similar to the problem in this thread : http://cosmocoffee.info/viewtopic.php?p=6380
I linked data/clik as described. I also tried forcing ifort/icc using

Code: Select all

 
./waf configure  --install_all_deps --icc --ifort 
which gives me

Code: Select all

Setting top to                           : /Users/joe/Documents/Research/plc-2.0 
Setting out to                           : /Users/joe/Documents/Research/plc-2.0/build 
Checking for program 'icc, ICL'          : /opt/intel/compilers_and_libraries_2018.1.126/mac/bin/intel64/icc 
No suitable c compiler found (cause: 'Could not find g++, if renamed try eg: CXX=g++48 waf configure
(complete log in /Users/joe/Documents/Research/plc-2.0/build/config.log)') 
The configuration failed
(complete log in /Users/joe/Documents/Research/plc-2.0/build/config.log)
So it seems there is no problem with icc or ifort, so I'm not sure why g++ would be needed.
I have ifort version 18.0.1.
Any help would be appreciated.

The full error is:

Code: Select all

cd ./source && make clean
rm -f ReleaseMPI/*.o ReleaseMPI/*.mod ../core
rm -rf Release*
rm -rf Debug*
cd ../camb; make clean
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*
cd ./source && make cosmomc BUILD=MPI
mkdir -p ReleaseMPI
cd ../camb && \
	/Applications/Xcode.app/Contents/Developer/usr/bin/make --file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
	RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
mkdir -p ReleaseMPI
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c utils.F90 -o ReleaseMPI/utils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c subroutines.f90 -o ReleaseMPI/subroutines.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c inifile.f90 -o ReleaseMPI/inifile.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c power_tilt.f90 -o ReleaseMPI/power_tilt.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c recfast.f90 -o ReleaseMPI/recfast.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c reionization.f90 -o ReleaseMPI/reionization.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c modules.f90 -o ReleaseMPI/modules.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c bessels.f90 -o ReleaseMPI/bessels.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c equations_ppf.f90 -o ReleaseMPI/equations_ppf.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c halofit_ppf.f90 -o ReleaseMPI/halofit_ppf.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c lensing.f90 -o ReleaseMPI/lensing.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c SeparableBispectrum.F90 -o ReleaseMPI/SeparableBispectrum.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c cmbmain.f90 -o ReleaseMPI/cmbmain.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -module ReleaseMPI -IReleaseMPI/ -c camb.f90 -o ReleaseMPI/camb.o
ifort: command line remark #10148: option '-vec_report0' not supported
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 archive ReleaseMPI/libcamb_recfast.a
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c MiscUtils.f90 -o ReleaseMPI/MiscUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c ArrayUtils.f90 -o ReleaseMPI/ArrayUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c StringUtils.f90 -o ReleaseMPI/StringUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c MpiUtils.f90 -o ReleaseMPI/MpiUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c FileUtils.f90 -o ReleaseMPI/FileUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c RandUtils.f90 -o ReleaseMPI/RandUtils.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c ObjectLists.f90 -o ReleaseMPI/ObjectLists.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c Interpolation.f90 -o ReleaseMPI/Interpolation.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c IniObjects.f90 -o ReleaseMPI/IniObjects.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c ObjectParamNames.f90 -o ReleaseMPI/ObjectParamNames.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c Matrix_utils_new.f90 -o ReleaseMPI/Matrix_utils_new.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c settings.f90 -o ReleaseMPI/settings.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c samples.f90 -o ReleaseMPI/samples.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c IO.f90 -o ReleaseMPI/IO.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c GeneralTypes.f90 -o ReleaseMPI/GeneralTypes.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c likelihood.f90 -o ReleaseMPI/likelihood.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c BaseParameters.f90 -o ReleaseMPI/BaseParameters.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c propose.f90 -o ReleaseMPI/propose.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c ParamSet.f90 -o ReleaseMPI/ParamSet.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c PowellConstrainedMinimize.f90 -o ReleaseMPI/PowellConstrainedMinimize.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c CosmologyTypes.f90 -o ReleaseMPI/CosmologyTypes.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c CosmoTheory.f90 -o ReleaseMPI/CosmoTheory.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c Calculator_Cosmology.f90 -o ReleaseMPI/Calculator_Cosmology.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c Likelihood_Cosmology.f90 -o ReleaseMPI/Likelihood_Cosmology.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c CMBlikes.f90 -o ReleaseMPI/CMBlikes.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c CMB_BK_Planck.f90 -o ReleaseMPI/CMB_BK_Planck.o
ifort: command line remark #10148: option '-vec_report0' not supported
/usr/local/bin/ifort   -O2 -ip -W0 -WB -qopenmp -fpp -vec_report0  -mkl=parallel -DCLIK -I../camb/ReleaseMPI -I/Users/joe/Documents/Research/plc-2.0/include -module ReleaseMPI -IReleaseMPI/ -c cliklike.f90 -o ReleaseMPI/cliklike.o
ifort: command line remark #10148: option '-vec_report0' not supported
Cannot disable Fortran error message 7013
cliklike.f90(2): error #7013: This module file was not generated by any release of this compiler.   [CLIK]
    use clik
--------^
Cannot disable Fortran error message 6457
cliklike.f90(13): error #6457: This derived type name has not been declared.   [TCMBLIKELIHOOD]
    type, extends(TCMBLikelihood) :: ClikLikelihood
------------------^
Cannot disable Fortran error message 6457
cliklike.f90(14): error #6457: This derived type name has not been declared.   [CLIK_OBJECT]
        type(clik_object) :: clikid
-------------^
Cannot disable Fortran error message 6457
cliklike.f90(39): error #6457: This derived type name has not been declared.   [TLIKELIHOODLIST]
    class(TLikelihoodList) :: LikeList
----------^
Cannot disable Fortran error message 6457
cliklike.f90(40): error #6457: This derived type name has not been declared.   [TSETTINGINI]
    class(TSettingIni) Ini
----------^
Cannot disable Fortran error message 6683
cliklike.f90(129): error #6683: A kind type parameter must be a compile-time constant.   [MCP]
    real(mcp) function clik_lnlike(this, CMB, Theory, DataParams)
---------^
Cannot disable Fortran error message 6457
cliklike.f90(131): error #6457: This derived type name has not been declared.   [CMBPARAMS]
    Class (CMBParams) CMB
-----------^
Cannot disable Fortran error message 6457
cliklike.f90(132): error #6457: This derived type name has not been declared.   [TCOSMOTHEORYPREDICTIONS]
    Class(TCosmoTheoryPredictions), target :: Theory
----------^
Cannot disable Fortran error message 6683
cliklike.f90(133): error #6683: A kind type parameter must be a compile-time constant.   [MCP]
    real(mcp) DataParams(:)
---------^
Cannot disable Fortran error message 6683
cliklike.f90(218): error #6683: A kind type parameter must be a compile-time constant.   [MCP]
    real(mcp) function clik_lensing_lnlike(this, CMB, Theory, DataParams)
---------^
Cannot disable Fortran error message 6457
cliklike.f90(220): error #6457: This derived type name has not been declared.   [CMBPARAMS]
    Class (CMBParams) CMB
-----------^
Cannot disable Fortran error message 6457
cliklike.f90(221): error #6457: This derived type name has not been declared.   [TCOSMOTHEORYPREDICTIONS]
    Class(TCosmoTheoryPredictions), target :: Theory
----------^
Cannot disable Fortran error message 6683
cliklike.f90(222): error #6683: A kind type parameter must be a compile-time constant.   [MCP]
    real(mcp) DataParams(:)
---------^
Cannot disable Fortran error message 6404
cliklike.f90(218): error #6404: This name does not have a type, and must have an explicit type.   [CMB]
    real(mcp) function clik_lensing_lnlike(this, CMB, Theory, DataParams)
-------------------------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(129): error #6404: This name does not have a type, and must have an explicit type.   [CMB]
    real(mcp) function clik_lnlike(this, CMB, Theory, DataParams)
-----------------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(218): error #6404: This name does not have a type, and must have an explicit type.   [THEORY]
    real(mcp) function clik_lensing_lnlike(this, CMB, Theory, DataParams)
------------------------------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(129): error #6404: This name does not have a type, and must have an explicit type.   [THEORY]
    real(mcp) function clik_lnlike(this, CMB, Theory, DataParams)
----------------------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(47): error #6404: This name does not have a type, and must have an explicit type.   [INI]
    do i=1, Ini%Count
------------^
Cannot disable Fortran error message 6460
cliklike.f90(47): error #6460: This is not a field name that is defined in the encompassing structure.   [COUNT]
    do i=1, Ini%Count
----------------^
Cannot disable Fortran error message 6460
cliklike.f90(48): error #6460: This is not a field name that is defined in the encompassing structure.   [ITEMS]
        name = Ini%Items(i)%P%Name
-------------------^
Cannot disable Fortran error message 6460
cliklike.f90(48): error #6460: This is not a field name that is defined in the encompassing structure.   [NAME]
        name = Ini%Items(i)%P%Name
------------------------------^
Cannot disable Fortran error message 6054
cliklike.f90(48): error #6054: A CHARACTER data type is required in this context.   [NAME]
        name = Ini%Items(i)%P%Name
------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(49): error #6404: This name does not have a type, and must have an explicit type.   [STRINGSTARTS]
        if (StringStarts(name,'clik_data_')) then
------------^
Cannot disable Fortran error message 6341
cliklike.f90(49): error #6341: A logical data type is required in this context.   [STRINGSTARTS]
        if (StringStarts(name,'clik_data_')) then
------------^
Cannot disable Fortran error message 6460
cliklike.f90(50): error #6460: This is not a field name that is defined in the encompassing structure.   [READFILENAME]
            fname = Ini%ReadFileName(name, NotFoundFail = .false.)
------------------------^
Cannot disable Fortran error message 6054
cliklike.f90(50): error #6054: A CHARACTER data type is required in this context.   [INI]
            fname = Ini%ReadFileName(name, NotFoundFail = .false.)
--------------------^
Cannot disable Fortran error message 6404
cliklike.f90(52): error #6404: This name does not have a type, and must have an explicit type.   [MPIRANK]
            if (MpiRank==0 .and. feedback > 0) &
----------------^
Cannot disable Fortran error message 6404
cliklike.f90(52): error #6404: This name does not have a type, and must have an explicit type.   [FEEDBACK]
            if (MpiRank==0 .and. feedback > 0) &
---------------------------------^
Cannot disable Fortran error message 6404
cliklike.f90(61): error #6404: This name does not have a type, and must have an explicit type.   [LIKELIST]
            call LikeList%Add(Like)
-----------------^
Cannot disable Fortran error message 6460
cliklike.f90(61): error #6460: This is not a field name that is defined in the encompassing structure.   [ADD]
            call LikeList%Add(Like)
--------------------------^
/var/folders/m5/254dqgrn7398_c7c6g67tbcr0000gn/T/ifortJiSo2O.i90(269): catastrophic error: Too many errors, exiting
compilation aborted for cliklike.f90 (code 1)
make[1]: *** [ReleaseMPI/cliklike.o] Error 1
make: *** [cosmomc] Error 2

Zhaoyi Zhou
Posts: 10
Joined: September 22 2018
Affiliation: Shandong University

Re: Making CosmoMC on a Mac

Post by Zhaoyi Zhou » September 22 2018

Hello,
I have the same question that you have. This is my error information:

Code: Select all

cliklike.f90(2): error #7013: This module file was not generated by any release of this compiler.   [CLIK]
I wonder if you've solved your questions since you sent it March.
I've tried to edit my /source/Makefile as the website asked, but it didn't work. I've been stuck for days, I really need help...

Post Reply