Posted by Garold Murdachaew on October 23, 2006 at 17:51:59:
In Reply to: Re: use of intel mkl blas with intel compiler on x86_64 opteron posted by Valera on October 21, 2006 at 16:21:28:
Dear Valera,
Thank you for the quick response. I played around for a while and changed the external libs in Symbols file until I was also linking in the mkl lapack and libguide in addition to the blas. Then I also added in the system lpthread library. My final Symbols line said:
# External libraries.
XLIB=' /opt/intel/mkl72/lib/em64t/libmkl_lapack.a /opt/intel/mkl72/lib/em64t/libmkl_em64t.a /opt/intel/mkl72/lib/em64t/libguide.a -lpthread '
(note that these are the static libs ; maybe I should try the dynamic *.so libs? probabbly that will not make a differnce though)
The relavant error output is:
cd src/seward ; /usr/bin/gmake
gmake[1]: Entering directory `/storage/garold/lib/molcas65/6.5.dev/src/seward'
/home/local/bin64/ifort -o ../../bin/seward.exe -Vaxlib main.o -L../../lib -lseward -L../../lib -lmolcas -L../../g/lib/LINUX64 -lma /opt/intel/mkl72/lib/em64t/libmkl_lapack.a /opt/intel/mkl72/lib/em64t/libmkl_em64t.a /opt/intel/mkl72/lib/em64t/libguide.a -lpthread
../../lib/libseward.a(naint_giao.o)(.text+0xa7c): In function `naint_giao_':
: undefined reference to `dgetmo_'
etc.
The linking order is similar to what is described on this mkl page:
http://www.intel.com/support/performancetools/libraries/mkl/linux/sb/cs-017266.htm
so I guess I am pretty close. Any ideas on what to try next to get it to link?
Thanks,
Garold
ps: so far I am only trying the serial installation so I have left the ga lib in.