[CPMD-list] hi

Reuti reuti at staff.uni-marburg.de
Thu Sep 16 10:40:01 CEST 2004


Hi,

because we want most of the time the Intel libraries statical linked into to 
programs (for exactly the reason, that they not on all the nodes), I rename all 
the file in /opt/intel_fc_80/lib (same with intel_cc_80) to solve this problem 
with:

$ rename .so .so.disabled *.so

This way I don't have to touch the make files in each program, and the .a libs 
will be used during linking.

Cheers - Reuti

PS: Before you apply any patch to your Intel compiler, you have to rename them 
back.

Quoting "Dr. Balasubramanian Sundaram" <bala at jncasr.ac.in>:

> Dear Haider,
>   
>   libcxa.so is part of Intel's Fortran Compiler package. You will have
> to link it through LFLAGS in the Makefile for compiling CPMD. You do not
> need to recompile the whole thing (i.e., no need to do "make clean",
> just
> do a "make").
> 
> For example,
> 
> LFLAGS = \
>          -L/usr/local/intel_fc_80/lib
>         -L/opt/intel/mkl70/lib/32 -lmkl_lapack \
>          -lmkl_ia32  -lguide \
>          -static-libcxa -Xlinker -Bstatic -lsvml         \
>          -Vaxlib -Xlinker -Bdynamic
> 
> The above is the LFLAGS that I use in my PC cluster. Here, IFC is
> installed
> at /usr/local/intel_fc_80 directory.
> 
> If you are using a cluster, make sure that every node of the cluster has
> these
> libraries in exactly the same location (i.e., the same path).
> 
> By the way (btw), in future, you may consider giving more information
> (such as 
> machine architecture, serial code or parallel, compiler etc..) when you
> write
> such mails. These will help people understand your problem better.
> 
> Good Luck,
> Bala
> http://www.jncasr.ac.in/bala
> 
> 
> 
> haider abbas wrote:
> > 
> > Dear all cpmd user,
> > 
> > running cpmd-3.7.2 shows error
> > 
> > cpmd.x: error while loading shared libraries:
> > libcxa.so.5: cannot open shared object file: No such
> > file or directory
> > 
> > could anybody please tell me how to remove this error
> > thanks
> > Haider Abbas
> > 
> > ________________________________________________________________________
> > Yahoo! India Matrimony: Find your life partner online
> > Go to: http://yahoo.shaadi.com/india-matrimony
> > _______________________________________________
> > CPMD-list mailing list
> > CPMD-list at cpmd.org
> > http://cpmd.org/mailman/listinfo/cpmd-list
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://cpmd.org/mailman/listinfo/cpmd-list
> 





More information about the CPMD-list mailing list