[Wien] error while loading shared libraries

Jorissen Kevin Kevin.Jorissen at ua.ac.be
Mon Aug 16 16:36:39 CEST 2004


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
	
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7262 bytes
Desc: not available
Url : http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20040816/be5e0d0f/attachment.bin


More information about the Wien mailing list