[Wien] compilation error: missing libraries

Laurence Marks L-marks at northwestern.edu
Tue Mar 4 00:01:48 CET 2008


Add -i-static -fminshared to avoid shared libraries. You may also need
to look at what you have in /etc/ld.so.conf


On Mon, Mar 3, 2008 at 5:29 PM, Ricardo Faccio <rfaccio at fq.edu.uy> wrote:
> Dear Gerhard
>     All the settings that  I choosed to compile have been attached to this
>  email. On the other hand I am sending to the list the tree of my MKL
>  installation.
>     As you can see all the paths seems to be ok (I guess).
>  Please let me know what others thing should I check to overcome this issue.
>  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
>   Phone: 598 2 9241860 Int. 109
>              598 2 9290705
>   Fax:    598 2 9241906
>   Web:  http://cryssmat.fq.edu.uy/ricardo/ricardo.htm
>  ----- Original Message -----
>  From: "Gerhard Fecher" <fecher at uni-mainz.de>
>  To: "A Mailing list for WIEN2k users" <wien at zeus.theochem.tuwien.ac.at>
>  Sent: Monday, March 03, 2008 5:23 PM
>  Subject: Re: [Wien] compilation error: missing libraries
>
>
>  > 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
>  > _______________________________________________
>  > Wien mailing list
>  > Wien at zeus.theochem.tuwien.ac.at
>  > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>  >
>  >
>  > --
>  > No virus found in this incoming message.
>  > Checked by AVG Free Edition.
>  > Version: 7.5.516 / Virus Database: 269.21.3/1308 - Release Date:
>  > 03/03/2008 10:01
>  >
>  >
>
> _______________________________________________
>  Wien mailing list
>  Wien at zeus.theochem.tuwien.ac.at
>  http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>



-- 
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2220 N Campus Drive
Northwestern University
Evanston, IL 60208, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
email: L-marks at northwestern dot edu
Web: www.numis.northwestern.edu
Commission on Electron Diffraction of IUCR
www.numis.northwestern.edu/IUCR_CED


More information about the Wien mailing list