- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, everyone! Sorry to bother you again!
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 \
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide \
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 \
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide \
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - limh
Hi, everyone! Sorry to bother you again!
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
The missing references come from LAPACK.
(1) Did you follow all the suggestions regarding using LAPACK Fortran 90 interfaces in User's Manual?
(2) You may also see this thread and Tim's response.
(3) make sure you have USE statement in your code (matrix_diagonalize routine).
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - limh
Hi, everyone! Sorry to bother you again!
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
Hello,
First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.
Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?
I will try reinstalling the lapack library again, but I just feel frustrated and don't understand why it still didn't work after I made alll the necessary links ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - limh
Hi, everyone! Sorry to bother you again!
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
Hello, ArturGuzik
Thanks for your quick reply,I am a novice in Linux compling, socould you please explain more clearly what I should do next?
First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.
Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?
I will try reinstalling the lapack library again, but I just feel frustrated and don't understand why it still didn't work after I made alll the necessary links ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - limh
Hello, ArturGuzik
Thanks for your quick reply,I am a novice in Linux compling, socould you please explain more clearly what I should do next?
First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.
Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?
I will try reinstalling the lapack library again, but I just feel frustrated and don't understand why it still didn't work after I made alll the necessary links ?
Hi,
I understand your frustration. If you successfully linked lapack, it means you have everything OK with the path, and library itself. So,
(1) use the following link line (Link Advisor), assume you're on IA32 system:
$MKLPATH/libmkl_solver.a -Wl,--start-group $MKLPATH/libmkl_intel.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -openmp -lpthread
(2) try the makefiles provided with the MKL (examples folder). They contain the LAPACK95 examples.
(3) make sure you follow these guidelines
(4) make sure you have USE statement in your code.
If this doesn't help you will need to post some portion of the code and actual makefile to get some more specific help.
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Limh, By following Artur's recommendations, are you still experience the problem?
--Gennady
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - limh
Quoting - limh
Hi, everyone! Sorry to bother you again!
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
I used a Linux Fedora 11 system and have both Gfortran and Intel Fortran Compiler 11.1 installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the Makefile in my source subdirectory of CosmoMC:
#Intel fortran 8, check you have the latest update from the Intel web pages
#See Makefile_intel for ifc 7.1 or lower (some versions have problems)
F90C = ifort
FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp
LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95
-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide
-L/usr/lib -lpthread
And the feedback is:
[root@localhost source]# make all
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb -c SDSSLy-a-v3.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90
ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/
limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90
ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/
wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/
mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/
WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/
wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o
utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy-
a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o
postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 -
lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/
Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -
fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function
`wmap_tlike_mp_compute_tt_pixlike_':
WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_'
WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function
`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_':
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_'
WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_'
/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function
`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_':
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_'
WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_':
Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_':
Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_root_':
Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_'
Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_':
Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_'
Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_':
Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_'
Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_':
Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_'
Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_':
Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_':
Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_'
Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_'
Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_':
Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_'
Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_':
Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_'
Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_':
Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_':
Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_':
Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.':
Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_':
Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_':
Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_':
Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_':
Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_':
Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_':
Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_':
Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_':
Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_':
Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_':
Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_'
Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_':
Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_':
Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_'
Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.':
Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_':
Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_'
Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_':
Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_'
Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_':
Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.':
Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_':
Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_':
Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_'
Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_':
Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u':
Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_'
Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_':
Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_':
Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_'
Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_':
Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_'
Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_':
Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_':
Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.':
Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_':
Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_':
Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_':
Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_'
Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_':
Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_'
make: *** [cosmomc] Error 1
I gave the full path for all the lib* files that needed (but drop libmkl_ia32 because it was said that it is a dummy library and has been removed from any new version of Intel Fortran compiler) , so why did it report that the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.
Did I miss some links to the libraries?
I didn't get a clue what was goning on!
Any help would be greatly appreciated, thanks a billion!!
Best regards, limh in Beijing , China
Hello,
First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.
Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?
I will try reinstalling the lapack library again, but I just feel frustrated and don't understand why it still didn't work after I made alll the necessary links ?
I have the same problem!
Have you find something to solve the problem?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You wouldn't be able to modify a Makefile set up for ifort 8 by guesswork so as to work correctly with ifort 11, preferably including the MKL which came with it. You would require reference to the docs, including the link advisor on the home page of this forum. I would recommend that you rely on the ifortvars script to set paths, rather than editing them individually into the Makefile.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page