[CPMD-list] hi
Wolfram Quester
wolfi at mittelerde.physik.uni-konstanz.de
Thu Sep 16 17:08:47 CEST 2004
Dear Haider, dear Bala,
On Thu, Sep 16, 2004 at 12:51:48PM +0530, Dr. Balasubramanian Sundaram wrote:
> 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
>
I think this is not a problem which needs a recompile. It just means
that the dynamic linker doesn't know were to find the dynamic libraries
of ifc. On Linux-systems you can solve the problem via setting the
environment variable LD_LIBRARY_PATH correctly, e.g.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel_fc_80/lib:
if you are using a bash-like shell. On other operating systems the name
of the variable might vary. The /opt/intel_fc_80/lib part of the command
should be the directory were your ifc-libs are installed.
HTH,
Wolfi
>
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://cpmd.org/pipermail/cpmd-list/attachments/20040916/9fd1c270/attachment.pgp
More information about the CPMD-list
mailing list