problem installing Likelihood

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jaykumar Patel
Posts: 4
Joined: September 25 2017
Affiliation: U of A

problem installing Likelihood

Post by Jaykumar Patel » September 29 2017

I am trying to install

./waf install

ERROR:

Code: Select all

[104/109] Linking build/src/clik_example_C
- install /home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/lib/libclik_f90.so (from build/src/libclik_f90.so)
[106/109] Linking build/src/clik_example_f90
- install /home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/lib/libclik.so (from build/src/libclik.so)
src/libclik.so: undefined reference to `curl_easy_setopt'
src/libclik.so: undefined reference to `curl_global_cleanup'
src/libclik.so: undefined reference to `curl_easy_init'
src/libclik.so: undefined reference to `curl_easy_perform'
src/libclik.so: undefined reference to `curl_easy_cleanup'
src/libclik.so: undefined reference to `curl_global_init'
collect2: error: ld returned 1 exit status

src/libclik.so: undefined reference to `curl_easy_setopt'
src/libclik.so: undefined reference to `curl_global_cleanup'
src/libclik.so: undefined reference to `curl_easy_init'
src/libclik.so: undefined reference to `curl_easy_perform'
src/libclik.so: undefined reference to `curl_easy_cleanup'
src/libclik.so: undefined reference to `curl_global_init'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/build'
Build failed
 -> task in 'clik_example_f90' failed (exit status 1): 
	{task 139844676146256: fcprogram clik_example_f90.f90.9.o -> clik_example_f90}
['/usr/bin/gfortran', '-m64', 'src/clik_example_f90.f90.9.o', '-o', '/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/build/src/clik_example_f90', '-Wl,-rpath,/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/lib', '-m64', '', '-Lsrc', '-lclik_f90', '-lclik']
 -> task in 'clik_example_C' failed (exit status 1): 
	{task 139844676072208: cprogram clik_example_c.c.7.o -> clik_example_C}
['/usr/bin/gcc', '-m64', 'src/clik_example_c.c.7.o', '-o', '/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/build/src/clik_example_C', '-Wl,-rpath,/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0/lib', '-Wl,-rpath,/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Lsrc', '-L/home/jay/Desktop/Phys_499/CMB_data/Code_Likehood/likelihood_c_f_code/plc-2.0', '-lclik', '-llapack', '-lblas', '-ldl', '-lcfitsio', '-lgfortran', '-lgomp']

Alejandro Jaramillo
Posts: 2
Joined: March 25 2019
Affiliation: Universidad de Antioquia

Re: problem installing Likelihood

Post by Alejandro Jaramillo » May 21 2019

Hi, i'm having the same problem, did you find a way to solve it? thanks in advance

Antony Lewis
Posts: 1522
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: problem installing Likelihood

Post by Antony Lewis » May 21 2019

Is this using the update ?

Arnab Paul
Posts: 2
Joined: May 21 2019
Affiliation: Indian Statistical Institute, Kolkata

Re: problem installing Likelihood

Post by Arnab Paul » May 21 2019

Hi, I am also facing the same problem, even while using the update.

Alejandro Jaramillo
Posts: 2
Joined: March 25 2019
Affiliation: Universidad de Antioquia

Re: problem installing Likelihood

Post by Alejandro Jaramillo » May 25 2019

I'm having the same problem, it could be solved by compiling with gfort (i.e ./waf configure --gfort) but compiling with gfort instead of ifort gives problems when running the code, so it is necessary to solve this problem, if anyone knows the solution please share with us

(i'm using the update plc too)

Arnab Paul
Posts: 2
Joined: May 21 2019
Affiliation: Indian Statistical Institute, Kolkata

Re: problem installing Likelihood

Post by Arnab Paul » May 27 2019

Hi Alejandro, I tried configuring with both ifort (15.0.1) and gfortran (7.4.0). The problem during ./waf install persists in both the cases for my desktop. Can you please tell which version of gfortran and which mkl you are using?

(I am using Ubuntu 18.04, gcc 7.4.0 and intel mkl)

Post Reply