<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error when &amp;quot;make&amp;quot; the source of CosmoMC: undefined referenc in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870734#M8446</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95  &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide  &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;BR /&gt;&lt;BR /&gt;[root@localhost source]# make all &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90 &lt;BR /&gt;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 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90 &lt;BR /&gt;ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/ &lt;BR /&gt;mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/ &lt;BR /&gt;WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o &lt;BR /&gt;utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy- &lt;BR /&gt;a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o &lt;BR /&gt;postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 - &lt;BR /&gt;lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/ &lt;BR /&gt;Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp - &lt;BR /&gt;fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb &lt;BR /&gt;&lt;STRONG&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function &lt;BR /&gt;`wmap_tlike_mp_compute_tt_pixlike_': &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function &lt;BR /&gt;`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_': &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function &lt;BR /&gt;`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_': &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_root_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u&lt;SUB&gt;'&lt;/SUB&gt;: &lt;BR /&gt;Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_' &lt;BR /&gt;make: *** [cosmomc] Error 1 &lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;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 &lt;STRONG&gt;the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did I miss some links to the libraries? &lt;BR /&gt;I didn't get a clue what was goning on! &lt;BR /&gt;Any help would be greatly appreciated, thanks a billion!! &lt;BR /&gt;Best regards, limh in Beijing , China&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello, &lt;A href="http://software.intel.com/en-us/profile/342379/"&gt;ArturGuzik&lt;/A&gt;&lt;BR /&gt; Thanks for your quick reply,I am a novice in Linux compling, socould you please explain more clearly what I should do next?&lt;BR /&gt;&lt;BR /&gt;First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.&lt;BR /&gt;Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?&lt;BR /&gt;&lt;BR /&gt;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 ?</description>
    <pubDate>Wed, 16 Sep 2009 09:03:01 GMT</pubDate>
    <dc:creator>limh</dc:creator>
    <dc:date>2009-09-16T09:03:01Z</dc:date>
    <item>
      <title>Error when "make" the source of CosmoMC: undefined reference to `dpotrf_'</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870731#M8443</link>
      <description>Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 \ &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide \ &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;BR /&gt;&lt;BR /&gt;[root@localhost source]# make all &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90 &lt;BR /&gt;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 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90 &lt;BR /&gt;ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/ &lt;BR /&gt;mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/ &lt;BR /&gt;WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o &lt;BR /&gt;utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy- &lt;BR /&gt;a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o &lt;BR /&gt;postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 - &lt;BR /&gt;lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/ &lt;BR /&gt;Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp - &lt;BR /&gt;fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb &lt;BR /&gt;&lt;STRONG&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function &lt;BR /&gt;`wmap_tlike_mp_compute_tt_pixlike_': &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function &lt;BR /&gt;`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_': &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function &lt;BR /&gt;`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_': &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_root_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u&lt;SUB&gt;'&lt;/SUB&gt;: &lt;BR /&gt;Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_' &lt;BR /&gt;make: *** [cosmomc] Error 1 &lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;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 &lt;STRONG&gt;the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did I miss some links to the libraries? &lt;BR /&gt;I didn't get a clue what was goning on! &lt;BR /&gt;Any help would be greatly appreciated, thanks a billion!! &lt;BR /&gt;Best regards, limh in Beijing , China</description>
      <pubDate>Wed, 16 Sep 2009 02:33:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870731#M8443</guid>
      <dc:creator>limh</dc:creator>
      <dc:date>2009-09-16T02:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870732#M8444</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95  &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide  &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;/EM&gt;&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;The missing references come from LAPACK. &lt;BR /&gt;&lt;BR /&gt;(1) Did you follow all the suggestions regarding using LAPACK Fortran 90 interfaces in User's Manual?&lt;BR /&gt;(2) You may also see &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=67451"&gt;this thread&lt;/A&gt; and Tim's response.&lt;BR /&gt;(3) make sure you have USE statement in your code (matrix_diagonalize routine).&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Sep 2009 03:49:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870732#M8444</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-09-16T03:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870733#M8445</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95  &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide  &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;BR /&gt;&lt;BR /&gt;[root@localhost source]# make all &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90 &lt;BR /&gt;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 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90 &lt;BR /&gt;ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/ &lt;BR /&gt;mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/ &lt;BR /&gt;WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o &lt;BR /&gt;utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy- &lt;BR /&gt;a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o &lt;BR /&gt;postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 - &lt;BR /&gt;lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/ &lt;BR /&gt;Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp - &lt;BR /&gt;fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb &lt;BR /&gt;&lt;STRONG&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function &lt;BR /&gt;`wmap_tlike_mp_compute_tt_pixlike_': &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function &lt;BR /&gt;`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_': &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function &lt;BR /&gt;`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_': &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_root_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u&lt;SUB&gt;'&lt;/SUB&gt;: &lt;BR /&gt;Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_' &lt;BR /&gt;make: *** [cosmomc] Error 1 &lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;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 &lt;STRONG&gt;the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did I miss some links to the libraries? &lt;BR /&gt;I didn't get a clue what was goning on! &lt;BR /&gt;Any help would be greatly appreciated, thanks a billion!! &lt;BR /&gt;Best regards, limh in Beijing , China&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.&lt;BR /&gt;Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?&lt;BR /&gt;&lt;BR /&gt;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 ?</description>
      <pubDate>Wed, 16 Sep 2009 09:02:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870733#M8445</guid>
      <dc:creator>limh</dc:creator>
      <dc:date>2009-09-16T09:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870734#M8446</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95  &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide  &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;BR /&gt;&lt;BR /&gt;[root@localhost source]# make all &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90 &lt;BR /&gt;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 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90 &lt;BR /&gt;ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/ &lt;BR /&gt;mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/ &lt;BR /&gt;WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o &lt;BR /&gt;utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy- &lt;BR /&gt;a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o &lt;BR /&gt;postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 - &lt;BR /&gt;lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/ &lt;BR /&gt;Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp - &lt;BR /&gt;fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb &lt;BR /&gt;&lt;STRONG&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function &lt;BR /&gt;`wmap_tlike_mp_compute_tt_pixlike_': &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function &lt;BR /&gt;`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_': &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function &lt;BR /&gt;`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_': &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_root_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u&lt;SUB&gt;'&lt;/SUB&gt;: &lt;BR /&gt;Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_' &lt;BR /&gt;make: *** [cosmomc] Error 1 &lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;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 &lt;STRONG&gt;the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Did I miss some links to the libraries? &lt;BR /&gt;I didn't get a clue what was goning on! &lt;BR /&gt;Any help would be greatly appreciated, thanks a billion!! &lt;BR /&gt;Best regards, limh in Beijing , China&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello, &lt;A href="http://software.intel.com/en-us/profile/342379/"&gt;ArturGuzik&lt;/A&gt;&lt;BR /&gt; Thanks for your quick reply,I am a novice in Linux compling, socould you please explain more clearly what I should do next?&lt;BR /&gt;&lt;BR /&gt;First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.&lt;BR /&gt;Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?&lt;BR /&gt;&lt;BR /&gt;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 ?</description>
      <pubDate>Wed, 16 Sep 2009 09:03:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870734#M8446</guid>
      <dc:creator>limh</dc:creator>
      <dc:date>2009-09-16T09:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870735#M8447</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hello, &lt;A href="http://software.intel.com/en-us/profile/342379/"&gt;ArturGuzik&lt;/A&gt;&lt;BR /&gt; Thanks for your quick reply,I am a novice in Linux compling, socould you please explain more clearly what I should do next?&lt;BR /&gt;&lt;BR /&gt;First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.&lt;BR /&gt;Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?&lt;BR /&gt;&lt;BR /&gt;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 ?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I understand your frustration. If you successfully linked lapack, it means you have everything OK with the path, and library itself. So,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(1) use the following link line (Link Advisor), assume you're on IA32 system:&lt;BR /&gt;&lt;BR /&gt;$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&lt;BR /&gt;&lt;BR /&gt;(2) try the makefiles provided with the MKL (examples folder). They contain the LAPACK95 examples.&lt;BR /&gt;&lt;BR /&gt;(3) make sure you follow &lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=68394"&gt;these guidelines&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(4) make sure you have USE statement in your code.&lt;BR /&gt;&lt;BR /&gt;If this doesn't help you will need to post some portion of the code and actual makefile to get some more specific help.&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Sep 2009 12:43:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870735#M8447</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-09-16T12:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870736#M8448</link>
      <description>&lt;DIV style="margin:0px;"&gt;Limh, By following Artur's recommendations, are you still experience the problem?&lt;BR /&gt;--Gennady&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Sep 2009 05:07:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870736#M8448</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2009-09-21T05:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870737#M8449</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/442811"&gt;limh&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi, everyone! Sorry to bother you again! &lt;BR /&gt;&lt;BR /&gt;I used a&lt;STRONG&gt; Linux Fedora 11 &lt;/STRONG&gt;system and have both Gfortran and &lt;STRONG&gt;Intel Fortran Compiler 11.1&lt;/STRONG&gt; installed. My CPU is Intel Duo Core E7400 and the memory is 3.0GB. Below is part of the &lt;STRONG&gt;Makefile in my source subdirectory of CosmoMC&lt;/STRONG&gt;: &lt;BR /&gt;&lt;BR /&gt;#Intel fortran 8, check you have the latest update from the Intel web pages &lt;BR /&gt;#See Makefile_intel for ifc 7.1 or lower (some versions have problems) &lt;BR /&gt;&lt;STRONG&gt;F90C = ifort &lt;BR /&gt;FFLAGS = -O2 -Vaxlib -ip -W0 -WB -openmp -fpp &lt;BR /&gt;LAPACKL = -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95  &lt;BR /&gt;-L/opt/intel/Compiler/11.1/046/lib/ia32 -lguide  &lt;BR /&gt;-L/usr/lib -lpthread &lt;BR /&gt;&lt;/STRONG&gt;And the feedback is: &lt;BR /&gt;&lt;BR /&gt;[root@localhost source]# make all &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Matrix_utils.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c settings.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbtypes.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c Planck_like.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c cmbdata.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c WeakLen.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c mpk.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c supernovae.f90 &lt;BR /&gt;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 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c CMB_Cls_simple.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c paramdef.F90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c propose.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c params_CMB.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c calclike.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c conjgrad_wrapper.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c EstCovmat.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c postprocess.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c MCMC.f90 &lt;BR /&gt;ifort -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp -fpp -I/home/limh/mywork/cfitsio/include -I/home/ &lt;BR /&gt;limh/mywork/wmap_likelihood_v3 -I../camb -c driver.F90 &lt;BR /&gt;ifort -o ../cosmomc /home/limh/mywork/wmap_likelihood_v3/read_archive_map.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/read_fits.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_options.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_util.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o /home/limh/ &lt;BR /&gt;mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o /home/limh/mywork/wmap_likelihood_v3/ &lt;BR /&gt;WMAP_5yr_likelihood.o /home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_gibbs.o /home/limh/mywork/ &lt;BR /&gt;wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o /home/limh/mywork/wmap_likelihood_v3/br_mod_dist.o &lt;BR /&gt;utils.o Matrix_utils.o settings.o cmbtypes.o Planck_like.o cmbdata.o WeakLen.o mpk.o supernovae.o SDSSLy- &lt;BR /&gt;a-v3.o CMB_Cls_simple.o paramdef.o propose.o params_CMB.o calclike.o conjgrad_wrapper.o EstCovmat.o &lt;BR /&gt;postprocess.o MCMC.o driver.o -L/home/limh/mywork/cfitsio/lib -L/home/limh/mywork/wmap_likelihood_v3 - &lt;BR /&gt;lcfitsio -L../camb -lcamb -L/opt/intel/Compiler/11.1/046/mkl/lib/32 -lmkl_lapack95 -L/opt/intel/ &lt;BR /&gt;Compiler/11.1/046/lib/ia32 -lguide -L/usr/lib -lpthread -DMATRIX_SINGLE -O2 -Vaxlib -ip -W0 -WB -openmp - &lt;BR /&gt;fpp -I/home/limh/mywork/cfitsio/include -I/home/limh/mywork/wmap_likelihood_v3 -I../camb &lt;BR /&gt;&lt;STRONG&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_pixlike.o: In function &lt;BR /&gt;`wmap_tlike_mp_compute_tt_pixlike_': &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x37b3): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3ad5): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_pixlike.F90:(.text+0x3c7c): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_teeebb_pixlike.o: In function &lt;BR /&gt;`wmap_teeebb_lowl_mp_teeebb_lowl_likelihood_': &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3c3f): undefined reference to `dgemv_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x3ef6): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_teeebb_pixlike.F90:(.text+0x4760): undefined reference to `dpotrs_' &lt;BR /&gt;/home/limh/mywork/wmap_likelihood_v3/WMAP_5yr_tt_beam_ptsrc_chisq.o: In function &lt;BR /&gt;`wmap_tt_beam_ptsrc_chisq_mp_compute_tt_beam_and_ptsrc_chisq_': &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1578): undefined reference to `dpotrf_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1784): undefined reference to `dpotrs_' &lt;BR /&gt;WMAP_5yr_tt_beam_ptsrc_chisq.f90:(.text+0x1d65): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1bb5): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_dc_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1df7): undefined reference to `ssyevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_root_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2021): undefined reference to `ssyev_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_diagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x2b05): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x2d6e): undefined reference to `ssyevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_partial_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x3735): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x3a7d): undefined reference to `cheevr_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cdiagonalize_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x4259): undefined reference to `cheevd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrixsym_logdet_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x467e): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_crotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x53be): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x58c8): undefined reference to `ctrmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x5eba): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x628e): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotatesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x6cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x73da): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x7cbb): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x81b0): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_rotateantisymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x8a7a): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x8f10): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x978b): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x9dd5): undefined reference to `chemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xa3d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb06b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multtri_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xb7f9): undefined reference to `strmm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmleft_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xc1a3): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_symmright_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xcb4b): undefined reference to `ssymm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmultgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xd2bb): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_multgen_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xdb02): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xe241): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_nt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xeaad): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cmult_tn_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf1d9): undefined reference to `cgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_cholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xf5a8): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholesky_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xfa10): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_choleskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0xff4f): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x10557): undefined reference to `strtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_ccholeskyrootinverse_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x10d4c): undefined reference to `cpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x111fc): undefined reference to `ctrtri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverse_chol_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x11a7c): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x12091): undefined reference to `spotri_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglike_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x12927): undefined reference to `spotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1325b): undefined reference to `spotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_gaussianloglikedouble_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x13b97): undefined reference to `dpotrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1453c): undefined reference to `dpotrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_inverseasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1532d): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mult_tn_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1630b): undefined reference to `sgemm_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1664e): undefined reference to `sgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_svd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16817): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1693b): undefined reference to `sgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_vt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x16d1f): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x16fef): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_u&lt;SUB&gt;'&lt;/SUB&gt;: &lt;BR /&gt;Matrix_utils.F90:(.text+0x173af): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x1768a): undefined reference to `cgesvd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_csvd_allvt_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x17b5b): undefined reference to `cgesdd_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solvesymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18296): undefined reference to `ssytrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18547): undefined reference to `ssytrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_solveasymm_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x18aff): undefined reference to `sgetrf_' &lt;BR /&gt;Matrix_utils.F90:(.text+0x18d09): undefined reference to `sgetrs_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdot_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x190ed): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_quadform_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1962e): undefined reference to `sdot_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymm_.': &lt;BR /&gt;Matrix_utils.F90:(.text+0x19cff): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvec_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1a3d0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1aac0): undefined reference to `sgemv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_mulvecsymmsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b18b): undefined reference to `ssymv_' &lt;BR /&gt;Matrix_utils.o: In function `matrixutils_mp_matrix_vecdotsingle_': &lt;BR /&gt;Matrix_utils.F90:(.text+0x1b61d): undefined reference to `sdot_' &lt;BR /&gt;make: *** [cosmomc] Error 1 &lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;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 &lt;STRONG&gt;the system could not recognized reference to `dpotrf_', `dpotrs_', dpotrs_' , `dgemv_', `ssymm_' ,etc.&lt;/STRONG&gt; &lt;BR /&gt;&lt;BR /&gt;Did I miss some links to the libraries? &lt;BR /&gt;I didn't get a clue what was goning on! &lt;BR /&gt;Any help would be greatly appreciated, thanks a billion!! &lt;BR /&gt;Best regards, limh in Beijing , China&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;First , I have linked the lapack library in another program before, if there was anything wrong with the lapack, it should be reported before.&lt;BR /&gt;Second, I have the Intel Fortran Compiler 11.1 installed , which didn't it contain the lapack library in it?&lt;BR /&gt;&lt;BR /&gt;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 ?&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
Hi,&lt;BR /&gt;I have the same problem!&lt;BR /&gt;Have you find something to solve the problem?&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Oct 2009 08:11:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870737#M8449</guid>
      <dc:creator>phoenix407</dc:creator>
      <dc:date>2009-10-09T08:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error when "make" the source of CosmoMC: undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870738#M8450</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
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.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Oct 2009 13:36:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Error-when-quot-make-quot-the-source-of-CosmoMC-undefined/m-p/870738#M8450</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2009-10-09T13:36:25Z</dc:date>
    </item>
  </channel>
</rss>

