Installing clik on mac (gfortran)

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Mario Acero
Posts: 28
Joined: November 15 2006
Affiliation: Universidad del Atlantico
Contact:

Installing clik on mac (gfortran)

Post by Mario Acero » August 08 2014

Dear all,

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
I got the following messages:

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 am sure that gfortran works correctly, but this message here is confusing.

I would appreciate your help on this regards.

Cheers,

Mario AAO.

Post Reply