Did you set LD_LIBRARY_PATH correctly ? Gerhard ________________________________________ Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at] im Auftrag von Ricardo Faccio [rfaccio at fq.edu.uy] Gesendet: Montag, 3. M?rz 2008 19:50 An: wien at zeus.theochem.tuwien.ac.at Betreff: [Wien] compilation error: missing libraries
Dear Wien2k users: I'm trying to compile WIEN2k in a dell pc-desktop: Core 2 Duo processor Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz 2 Gb RAM OpenSuse 10.3, x86-64 bit I've installed the following programs an libraries: ####################### /opt/intel/fce/10.1.012 /opt/intel/mkl/9.1.023/ ####################### I've choose the following OPTIONS in siteconfig ###################################################################################### current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -O3 -xT current:FPOPT:-FR -mp1 -w -prec_div -pc80 -xT -pad -ip -DINTEL_VML^M current:LDFLAGS:$(FOPT) -L/opt/intel/fce/10.1.012/lib -lguide -lpthread current:DPARALLEL:'-DParallel'^M current:R_LIBS:-L/opt/intel/mkl/9.1.023/lib/em64t -lmkl_lapack -lmkl_em64t current:RP_LIBS:-L /usr/local/SCALAPACK -L /usr/local/BLACS/LIB -lpblas -lredist -ltools -lscalapack -lfblacs -lblacs -lmpi^M ###################################################################################### After a successfully compilation, the lapw1 crashes when it is executed in normal conditions. The program stops with the following error: ###################################################################################### /home/ricardo/WIEN2k/lapw1: error while loading shared libraries: libmkl_lapack. so: cannot open shared object file: No such file or directory ###################################################################################### I tried so many options, but for some reason there is something missing in the path and I can't fix it. It is clear from the OPTIONS that the PATH is correct, and all the libraries are located in such a folder. Any hint? Best regards Ricardo ------------------------------------------------------------------------- ----- Dr. Ricardo Faccio Mail: Cryssmat-Lab., C?tedra de F?sica, DETEMA Facultad de Qu?mica, Universidad de la Rep?blica Av. Gral. Flores 2124, C.C. 1157 C.P. 11800, Montevideo, Uruguay. E-mail: rfaccio at fq.edu.uy<mailto:rfaccio at fq.edu.uy> Phone: 598 2 9241860 Int. 109 598 2 9290705 Fax: 598 2 9241906 Web: http://cryssmat.fq.edu.uy/ricardo/ricardo.htm