wmap_likelihood: why this error occurs in installation

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jie Ren
Posts: 28
Joined: May 13 2006
Affiliation: Theoretical Physics Division, Chern Institute of Mathematics, Nankai University, Tianjin, China

wmap_likelihood: why this error occurs in installation

Post by Jie Ren » May 13 2006

Hello,

I want to install the WMAP likelihood software (wmap_likelihoodcode_v2.tar.gz), but cannot solve the following problem. Could you give me a help? Thanks.

in Makefile:
F90 = ifort
FFLAGS = -g -O1
INCS = -I. -I/nfs/s07r2p1/renphysics/Healpix_2.01/include -I/nfs/s07r2p1/renphysics/cfitsio/include
LIBS = -L. -L/nfs/s07r2p1/renphysics/Healpix_2.01/lib -L/nfs/s07r2p1/renphysics/cfitsio/lib -lhealpix -lcfitsio -llapack

[renphysics@nkstar2 wmap_likelihood]$ make
ifort -g -O2 -o test read_archive_map.o read_fits.o WMAP_3yr_options.o WMAP_3yr_util.o WMAP_3yr_tt_pixlike.o WMAP_3yr_tt_beam_and_ptsrc_corr.o WMAP_3yr_teeebb_pixlike.o WMAP_3yr_likelihood.o test.o -L. -L/usr/lib/liblapack.so -L/nfs/s07r2p1/renphysics/Healpix_2.01/lib -L/nfs/s07r2p1/renphysics/cfitsio/lib -lhealpix -lcfitsio -llapack
/usr/lib/liblapack.so: undefined reference to `e_wsfe'
/usr/lib/liblapack.so: undefined reference to `z_abs'
/usr/lib/liblapack.so: undefined reference to `c_sqrt'
/usr/lib/liblapack.so: undefined reference to `s_cmp'
/usr/lib/liblapack.so: undefined reference to `z_exp'
/usr/lib/liblapack.so: undefined reference to `c_exp'
/usr/lib/liblapack.so: undefined reference to `do_fio'
/usr/lib/liblapack.so: undefined reference to `z_sqrt'
/usr/lib/liblapack.so: undefined reference to `s_cat'
/usr/lib/liblapack.so: undefined reference to `s_stop'
/usr/lib/liblapack.so: undefined reference to `c_abs'
/usr/lib/liblapack.so: undefined reference to `s_wsfe'
/usr/lib/liblapack.so: undefined reference to `s_copy'
make: *** [test] Error 1
[renphysics@nkstar2 wmap_likelihood]$

Anze Slosar
Posts: 183
Joined: September 24 2004
Affiliation: Brookhaven National Laboratory
Contact:

wmap_likelihood: why this error occurs in installation

Post by Anze Slosar » May 14 2006

Lapack was compiled with g77... Add -lf2c or much better: use MKL.

Jie Ren
Posts: 28
Joined: May 13 2006
Affiliation: Theoretical Physics Division, Chern Institute of Mathematics, Nankai University, Tianjin, China

wmap_likelihood: why this error occurs in installation

Post by Jie Ren » May 15 2006

It is OK by adding "-lg2c".

moslem zarei
Posts: 28
Joined: March 11 2008
Affiliation: Isfahan University of Technology
Contact:

wmap_likelihood: why this error occurs in installation

Post by moslem zarei » June 21 2008

Hi Ren

I have recompiled the cosmomc bu when I run and make the likelihood_v3
I get theis error:
[zareie@localhost likelihood_v3]$ make
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o read_archive_map.o read_archive_map.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o read_fits.o read_fits.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o healpix_types.o healpix_types.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o br_mod_dist.o br_mod_dist.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_options.o WMAP_5yr_options.F90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_util.o WMAP_5yr_util.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_gibbs.o WMAP_5yr_gibbs.F90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_tt_pixlike.o WMAP_5yr_tt_pixlike.F90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_tt_beam_ptsrc_chisq.o WMAP_5yr_tt_beam_ptsrc_chisq.f90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_teeebb_pixlike.o WMAP_5yr_teeebb_pixlike.F90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_tetbeebbeb_pixlike.o WMAP_5yr_tetbeebbeb_pixlike.F90
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o WMAP_5yr_likelihood.o WMAP_5yr_likelihood.F90
ar r libwmap5.a read_archive_map.o read_fits.o healpix_types.o br_mod_dist.o WMAP_5yr_options.o WMAP_5yr_util.o WMAP_5yr_gibbs.o WMAP_5yr_tt_pixlike.o WMAP_5yr_tt_beam_ptsrc_chisq.o WMAP_5yr_teeebb_pixlike.o WMAP_5yr_tetbeebbeb_pixlike.o WMAP_5yr_likelihood.o
ar: creating libwmap5.a
ifort -O -DOPTIMIZE -I. -I/home/zareie/Desktop/cfitsio/include -c -o test.o test.F90
ifort -O -DOPTIMIZE -o test test.o read_archive_map.o read_fits.o healpix_types.o br_mod_dist.o WMAP_5yr_options.o WMAP_5yr_util.o WMAP_5yr_gibbs.o WMAP_5yr_tt_pixlike.o WMAP_5yr_tt_beam_ptsrc_chisq.o WMAP_5yr_teeebb_pixlike.o WMAP_5yr_tetbeebbeb_pixlike.o WMAP_5yr_likelihood.o -L. -L/home/zareie/Desktop/cfitsio/lib -lcfitsio -lscs_mp -L/opt/intel/mkl/10.0.1.014/lib/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread
/opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so: undefined reference to `mkl_serv_load_fun'
/opt/intel/mkl/10.0.1.014/lib/32/libmkl_lapack.so: undefined reference to `mkl_serv_load_dll'
make: *** [test] Error 1

Could you please help me
thanks

Post Reply