I am trying to install the Planck likelihood codes (clik) on my mac (10.9) and I've been having some problems. So far, I know that for using with CosmoMC, it is necessary to use ifort compiler and the MKL libraries, but I am interested in using Planck codes independent of CosmoMC.
So what I am trying is to install it following the instructions in the clik Documentation for the "Simple case with apple lapack" and using gfortran compiler.
When typing
Code: Select all
./waf configure --install_all_deps --lapack_apple
Code: Select all
Setting top to : /Users/maaceroo/Documents/Software/planck/plc-1.0
Setting out to : /Users/maaceroo/Documents/Software/planck/plc-1.0/build
Checking for program gcc,cc : /usr/bin/gcc
Checking for program ar : /opt/local/bin/ar
Check gcc version : not found, let's hope for the best...
Compile a test code with gcc : yes
Setting architecture flag to : -arch x86_64
Checking for program ifort : not found
ifort not found, defaulting to gfortran (cause: 'Could not find the program ifort
(complete log in /Users/maaceroo/Documents/Software/planck/plc-1.0/build/config.log)')
Checking for program gfortran,g77 : /usr/local/bin/gfortran
Check gfortran version : GNU Fortran (GCC) 4.9.0
Compile a test code with gfortran : failed
No suitable fortran compiler found (cause: 'The configuration failed
(complete log in /Users/maaceroo/Documents/Software/planck/plc-1.0/build/config.log)')
The configuration failed
(complete log in /Users/maaceroo/Documents/Software/planck/plc-1.0/build/config.log)
I would appreciate your help on this regards.
Cheers,
Mario AAO.