[Wien] error while loading shared libraries
L. D. Marks
L-marks at northwestern.edu
Mon Aug 16 16:53:22 CEST 2004
Note: it's best to include options in BOTH Compiler options and Linker
Flags, e.g.
http://support.intel.com/support/performancetools/fortran/linux/sb/CS-007800.htm
On Mon, 16 Aug 2004, Jorissen Kevin wrote:
> I recently had problems compiling wien due to incompatibilities between ifc7 (and later) and redhat 9 (it's something about glibc to be more precise).
> Downgrading glibc is not recommended. I've seen some patch mentioned somewhere, but haven't tried it (not sure it's real anyway).
> Anyway, dynamic linking is still possible. I have mkl installed in only one directory, but it is nfs mounted on all machines. I use options
>
> LDFLAGS = -L../SRC_lib -L/opt/intel/mkl60/lib/32 -Vaxlib -i_dynamic
> R_LIBS = -lmkl_lapack -lmkl_ia32 -lguide -lpthread
>
> compiler is ifc70. The Vaxlib is only necessary because wien needs its getarg. You can use the i_dynamic for other software compilation as well.
>
> This works for me.
>
> Since ifc people claim to support redhat, I suppose they'll fix things sooner or (more probably) later.
>
> good luck,
>
> Kevin.
>
>
>
> -----Oorspronkelijk bericht-----
> Van: Mahmoud Payami [mailto:mpayami at aeoi.org.ir]
> Verzonden: ma 8/16/2004 9:58
> Aan: wien at zeus.theochem.tuwien.ac.at
> CC:
> Onderwerp: Re: [Wien] error while loading shared libraries
>
>
>
> Dear Stefaan,
>
> Thank you very much for your comment.
> I got the solution.
> In fact, the "-static" option does not work properly for mkl70+Ifort80, So
> I had ommitted during the compilation.
> I have checked before for mkl61+Ifort80 and it did not need to omit
> anything.
> Thank you again.
>
> Best regards,
>
> Mahmoud
>
>
> >
> > > Kindly, I have installed the MKL library on "/usr/local/intel/mkl70".
> > > During the compilation, I change the Linker option appropriate for
> > > this (non-default) path.
> > > Running the program for non-parallel case is ok. But, when I run for
> > > k-point parallel case, the following message appears:
> > > ---------------------------------------------
> > >
> > > LAPW0 END
> > > lapw1: error while loading shared libraries: libguide.so: cannot open
> > > shared object file: No such file or directory
> >
> > Did you compile with the proper options? For instance:
> >
> > O Compiler options: -FR -mp -w
> > L Linker Flags: -L../SRC_lib -
> > L/opt/intel/mkl70/lib/32 -Vaxlib
> > -static
> > P Preprocessor flags '-DParallel'
> > R R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_ia32 -lguide -
> > lpthread
> >
> > In the linker flags, you should put the path to your own mkl. The
> > static option is essential for this libguide problem as well (if you
> > omit static, it will search for this library dynamically on all your
> > machines, and probably you have installed mkl only on the machine on
> > which you compile).
> >
> > Stefaan
> >
> > _______________________________________________
> > Wien mailing list
> > 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
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>
>
>
>
-----------------------------------------------
Laurence Marks
Department of Materials Science and Engineering
MSE Rm 2036 Cook Hall
2225 N Campus Drive
Northwestern University
Evanston, IL 60201, USA
Tel: (847) 491-3996 Fax: (847) 491-7820
mailto:L-marks at northwestern.edu
http://www.numis.northwestern.edu
-----------------------------------------------
More information about the Wien
mailing list