Page 1 of 1

Updated clik for 2015 Planck

Posted: March 02 2019
by Antony Lewis
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.

Re: Updated clik for 2015 Planck

Posted: March 19 2019
by He Jia
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 .