[Wien] Error while loading shared libraries
Gerhard Fecher
fecher at uni-mainz.de
Sat Jan 12 09:49:32 CET 2008
As the Intel compiler manual tells,
for 32 bit systems the setting of ulimit may not influence the behavior at runtime at all.
Note: The size of {\it "unlimited"} varies by {\scshape Linux}
configuration, so you may need to specify a larger, specific number to
{\it ulimit} (for example, 999999999). On {\scshape Linux} also note
that many 32bit {\scshape Linux} distributions ship with a pthread
static library ({\it libpthread.a}) that at runtime will fix the
stacksize to 2093056 bytes regardless of the {\it ulimit} setting. To
avoid this problem do not link with the {\it -static} option or the
{\it -fast} option. Instead of {\it -fast}, use options: {\it -ipo -O3
-no-prec-div -xP}. This only affects the 32bit {\scshape Linux}
distributions and does not apply to the 64bit {\scshape Linux}
distributions.
Check youre settings you have 3 different versions given below.
/opt/intel/fc/9.1.036/bin/ifort
/opt/intel/mkl/9.0/lib/32 -lguide -lpthread
/opt/intel/mkl/9.1.023/lib/32 -lmkl_lapack -lmkl_ia32 -lmkl_lapack -lmkl_ia32
Somehow I feel very tired
Gerhard
________________________________________
Von: wien-bounces at zeus.theochem.tuwien.ac.at [wien-bounces at zeus.theochem.tuwien.ac.at] im Auftrag von zubaer [zubaexy at gmail.com]
Gesendet: Samstag, 12. Januar 2008 00:51
An: A Mailing list for WIEN2k users
Betreff: Re: [Wien] Error while loading shared libraries
Hi Chandrika,
Thanks for your reply.
Now I see the following segmentation fault error.
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
dstart 080694C6 Unknown Unknown Unknown
. FFFFE600 Unknown Unknown Unknown
dstart 0805246B Unknown Unknown Unknown
dstart 08049786 Unknown Unknown Unknown
libc.so.6
006C2DE6 Unknown Unknown Unknown
dstart 080496C1 Unknown Unknown Unknown
0.000u 0.001s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
error: command /home/hossain2/WIEN2k/dstart
dstart.def failed
Following suggestions available in mail-list digest, I have done the following:
In .bashrc (or equivalent) insert: ulimit -s unlimited.
In lapw0para and x_lapw insert: limit stacksize unlimited.
Still I see the same error. Also is it ok to insert "limit stacksize unlimited" anywhere in the mentioned files?
I appreciate your help.
Thanks,
Zubaer
On 1/11/08, Chandrika <rcais at cal3.vsnl.net.in<mailto:rcais at cal3.vsnl.net.in>> wrote:
Hi Zubaer,
Yes you need to add the compiler and mkl library paths to ld.so.conf and bashrc (or equivalent) in /etc. You will find details in earlier mails.
Best wishes,
Chandrika
----- Original Message -----
From: zubaer<mailto:zubaexy at gmail.com>
To: A Mailing list for WIEN2k users<mailto:wien at zeus.theochem.tuwien.ac.at>
Sent: Thursday, January 10, 2008 10:46 PM
Subject: [Wien] Error while loading shared libraries
Hi,
I am getting following error while running x nn.
/home/hossain2/WIEN2k/nn: error while loading shared libraries: libguide.so: cannot open shared object file: No such file or directory
0.000u
0.000s 0:00.00 0.0% 0+0k 0+0io 0pf+0w
error: command /home/hossain2/WIEN2k/nn
nn.def failed
I have following settings
Compiler:
/opt/intel/fc/9.1.036/bin/ifort
Options:
current:FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -O3
current:FPOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -O3
current:LDFLAGS:$(FOPT) -L/opt/intel/mkl/9.0/lib/32 -lguide -lpthread
current:DPARALLEL:'-DParallel'
current:R_LIBS:-L/opt/intel/mkl/9.1.023/lib/32 -lmkl_lapack -lmkl_ia32 -lmkl_lapack -lmkl_ia32
current:RP_LIBS:-L /usr/local/SCALAPACK -L /usr/local/BLACS/LIB -lpblas -lredist -ltools -lscalapack -lfblacs -lblacs -lmpi
Do I need to add the path of libguide.so somewhere? What location by default the linker searches for libguide.so?
I see the file is available at /opt/intel/fc/9.1.036/bin/lib/
I appreciate any help. Thanks in advance.
-Zubaer
________________________________
_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at<mailto:Wien at zeus.theochem.tuwien.ac.at>
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at<mailto:Wien at zeus.theochem.tuwien.ac.at>
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
More information about the Wien
mailing list