Updated clik for 2015 Planck

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Antony Lewis
Posts: 1444
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Updated clik for 2015 Planck

Post by Antony Lewis » March 02 2019

In case anyone has problems building Planck 2015 likelihoods with recent compilers or using with python 3, Karim has kindly provided an updated code release, available from here until the updated code is made available along with new likelihoods in the 2018 release.

He Jia
Posts: 1
Joined: March 19 2019
Affiliation: Peking University / UC Berkeley

Re: Updated clik for 2015 Planck

Post by He Jia » March 19 2019

Hi, I just tried to install this with Anaconda on Linux, and here's some experience in case someone else encounters the same issue.

On my side it seems that ifort is not compatible with glibc, so I switched to gfortran. And in order to use conda's mkl, I modified waf_tools/any_lapack.py as follows:

Code: Select all

(Line 83) cmdlist["ars"] = " ".join([osp.join(mkl_options[tag][0]%(ctx.options.lapack_mkl),"lib%s.so"%v.strip()) for v in mkl_options[tag][1].split("-l") if v.strip() and v.strip()[:3]=="mkl"])          # change .a library to .so

(Line 293) "linux_10.3_64" :("%s/lib/"," -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core  -lgomp -lpthread -lm"),
Then I could successfully install it with --lapack_mkl=$CONDA_PREFIX .

Post Reply