waf configure problem

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Brajesh Gupt
Posts: 6
Joined: January 04 2015
Affiliation: Pennsylvania State University

waf configure problem

Post by Brajesh Gupt » April 02 2015

I am trying to install the Planck likelihood following the instructions given in the cosmomc webpage. When I try to run:

Code: Select all

 ./waf configure --ifort 
I get the following:

Code: Select all

Setting top to                           : /gpfs/work/b/bkg12/planck/plc-1.0 
Setting out to                           : /gpfs/work/b/bkg12/planck/plc-1.0/build 
Checking for program gcc,cc              : /usr/global/gcc/4.8.2/bin/gcc 
Checking for program ar                  : /usr/bin/ar 
Check gcc version                        : gcc (GCC) 4.8.2 
Compile a test code with gcc             : yes 
Setting architecture flag to             : -m64 
Checking for program ifort               : /usr/global/intel/composer_xe/2015.0.090/composer_xe_2015.0.090/bin/intel64/ifort 
Checking for program xiar                : /usr/bin/ar 
Compile a test code with ifort           : yes 
retrieve ifort link line                 : not found 
No suitable fortran compiler found (cause: '[Errno 2] No such file or directory: '/usr/global/intel/composer_xe/2015/composer_xe_2015.0.090/compiler/lib/intel64'') 
The configuration failed
(complete log in /gpfs/work/b/bkg12/planck/plc-1.0/build/config.log)
Now the problem is that there is no directory:

Code: Select all

 '/usr/global/intel/composer_xe/2015/composer_xe_2015.0.090/compiler/lib/intel64 
instead the correct directory should be:

Code: Select all

/usr/global/intel/composer_xe/2015.0.090/composer_xe_2015.0.090/compiler/lib/intel64 
For some reason it is not able to find the correct directory path even though I explicitly say that in the Makefile:

Code: Select all

# on a linux machine, ifort 11.1
IFORTLIBPATH = /usr/global/intel/composer_xe/2015.0.090/composer_xe_2015.0.090/compiler/lib
IFORTRUNTIME = -L$(IFORTLIBPATH)/intel64 -lintlc -limf -lsvml -liomp5 -lifport -lifcoremt -lpthread
# IFORTRUNTIME = -L$(IFORTLIBPATH) -lintlc -limf -lsvml -liomp5 -lifport -lifcoremt -lpthread
Any insight would be greatly appreciated.

Thanks,
Brajesh

Erick Almaraz
Posts: 29
Joined: June 10 2012
Affiliation: University of Mexico

waf configure problem

Post by Erick Almaraz » April 14 2015

Dear Brajesh:

Why don't you try?

./waf configure --lapack_mkl=$MKLROOT --lapack_mkl_version=10.3 --install_all_deps

Regards

Post Reply