library flags are fine. set compiler flag for opterons (-xW).  <br><br># Linux PC system with IFC 10 compiler + mkl 10 (-ip is broken; -static does not give traceback-lines)<br>linuxif9:FC:ifort<br>
linuxif9:MPF:ifort<br>linuxif9:CC:cc<br>linuxif9:FOPT:-FR -mp1 -w -prec_div  -pc80 -pad -align -DINTEL_VML -xW -traceback      <br>linuxif9:FPOPT:$(FOPT)<br>linuxif9:LDFLAGS:$(FOPT) -L/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t" target="_blank">10.2.1.017/lib/em64t</a> -pthread <br>

linuxif9:R_LIBS: -L/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t" target="_blank">10.2.1.017/lib/em64t</a> -lmkl_lapack -lguide -lmkl_core<br>linuxif9:DPARALLEL:&#39;-DParallel&#39;<br>linuxif9:RP_LIBS: -lmlk_intel_lp64 -lmkl_sequential -lmkl_scalapack -lmkl_blacs_lp64 $(R_LIBS) -L/opt/fftw-2.1.5/libfftw.a<br>

linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_<br><br><br>however, and i cannot determine where this is coming from, i now get more errors than previously.<br><br>follown.o: In function `follown_&#39;:<br>follown.f:(.text+0x697): undefined reference to `dsyev_&#39;<br>
follown.o: In function `stepper_&#39;:<br>follown.f:(.text+0xede): undefined reference to `dsyev_&#39;<br>follown.o: In function `maxeigen_&#39;:<br>follown.f:(.text+0x1209): undefined reference to `dsyev_&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_c_blklu_unsym_omp_pardiso&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_lapack_cpptrs&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_blas_crot&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_blklu_omp_pardiso&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_blas_lp64_izamax&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_lapack_lp64_zpotf2&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_lapack_claeh2&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_blas_dsyrk&#39;<br>&lt;snip&gt;<br><br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_lp64_sp_blkslv_pardiso&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_lp64_sp_blkslv_unsym_pardiso&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_get_proc_pardiso&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_blkslv_unsym_pardiso&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_lapack_cgbtrf&#39;<br>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_blkldl_omp_pardiso&#39;<br>/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so">10.2.1.017/lib/em64t/libmkl_lapack.so</a>: undefined reference to `mkl_pds_sp_blklu_unsym_omp_pardiso&#39;<br>
make[1]: *** [aim] Error 1<br>make[1]: Leaving directory `/scratch/wein2k/SRC_aim&#39;<br>make: *** [real] Error 2<br><br>where is the mkl_lapack lib trying to call these from?<br><br>again, any information is appreciated.<br>
<br>Thank you,<br>JD<br><br><div class="gmail_quote">On Mon, Aug 31, 2009 at 11:36 AM, Pawel Lesniak <span dir="ltr">&lt;<a href="mailto:lesniak@ifmpan.poznan.pl" target="_blank">lesniak@ifmpan.poznan.pl</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Pawel Lesniak pisze:<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jeff DeReus pisze:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to compile WIEN2K_09 and running into some issues.  I was hoping to get some assistance from the user community.<br>
<br>
I am running CentOS5.3 on dual core dell machines, intel non-commercial compilers and mkl.<br>
there is no mkl_em64t anywhere on my system so i have had to comment that out in order to get a compilation to come close to completing properly.  if anyone has information pertaining to the missing mkl_em64t, it would be most appreciated.<br>


<br>
here is the section of my siteconfig relevant to the IFC 10 selection.  i have had to explicitly define the location of the lapack and mkl_core libraries for them to be found.<br>
<br>
# Linux PC system with IFC 10 compiler + mkl 10 (-ip is broken; -static does not give traceback-lines)<br>
linuxif9:FC:ifort<br>
linuxif9:MPF:ifort<br>
linuxif9:CC:cc<br>
linuxif9:FOPT:-FR -mp1 -w -prec_div  -pc80 -pad -align -DINTEL_VML -traceback<br>
linuxif9:FPOPT:$(FOPT)<br>
linuxif9:LDFLAGS:  $(FOPT) -L/opt/intel/mkl/<a href="http://10.0.2.017/lib/em64t" target="_blank">10.0.2.017/lib/em64t</a> &lt;<a href="http://10.0.2.017/lib/em64t" target="_blank">http://10.0.2.017/lib/em64t</a>&gt; -pthread -i-static<br>


linuxif9:R_LIBS:-L/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so" target="_blank">10.2.1.017/lib/em64t/libmkl_lapack.so</a> &lt;<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so" target="_blank">http://10.2.1.017/lib/em64t/libmkl_lapack.so</a>&gt; -lguide -L/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_core.so" target="_blank">10.2.1.017/lib/em64t/libmkl_core.so</a> &lt;<a href="http://10.2.1.017/lib/em64t/libmkl_core.so" target="_blank">http://10.2.1.017/lib/em64t/libmkl_core.so</a>&gt;<br>


#-lmkl_em64t<br>
linuxif9:DPARALLEL:&#39;-DParallel&#39;<br>
linuxif9:RP_LIBS:-lmkl_intel_lp64 -lmkl_scalapack_lp64 -lmkl_blacs_lp64 -lmkl_sequential  -L /opt/local/fftw/lib/ -lfftw_mpi -lfftw<br>
linuxif9:MPIRUN:mpirun -np _NP_ -machinefile _HOSTS_ _EXEC_<br>
<br>
</blockquote></blockquote>
<br></div>
Sorry for double post - my email client made some &quot;corections&quot;.<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -align -DINTEL_VML -xSSE4.1<br>
current:FPOPT:$(FOPT)<br>
current:LDFLAGS:$(FOPT) -L/opt/intel/mkl/<a href="http://10.1.0.015/lib/em64t" target="_blank">10.1.0.015/lib/em64t</a> -pthread<br>
current:DPARALLEL:&#39;-DParallel&#39;<br>
current:R_LIBS:-lmkl_lapack -lmkl -liomp5<br>
current:RP_LIBS:-lmkl_scalapack -lmkl_blacs_lp64 $(R_LIBS) /opt/fftw3_ifort-11.0/lib/libfftw3.a<br>
<br>
This is for my Intel64 platform, ifort 11, mkl 10.1 - works ok.<br>
In your config error is obvious:<br>
-L is to set PATH to library<br>
to link dynamically to library in file <br>
</blockquote>
/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t/libmkl_lapack.so" target="_blank">10.2.1.017/lib/em64t/libmkl_lapack.so</a><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
you should use sth like:<br>
</blockquote><div>
-L/opt/intel/mkl/<a href="http://10.2.1.017/lib/em64t" target="_blank">10.2.1.017/lib/em64t</a> -lmkl_lapack<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Correct your config, or use my (and change path to mkl) - whichever you like.<br>
</blockquote><div><div></div><div>
<br>
Regards,<br>
Pawel Lesniak<br>
<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
</div></div></blockquote></div><br>