[CPMD-list] problem with parallel CPMD binary (Linux IFC)

axel.kohlmeyer at theochem.ruhr-uni-bochum.de axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Wed Aug 14 14:18:56 CEST 2002


On Tue, 13 Aug 2002 12:39:18 +0200  Christian Tuma wrote:

> Dear all,
> 
> I tried to compile CPMD 3.5.2 with the IFC (6.0) to get a parallel
> binary. Since the Configure script doesn't provide defaults for this
> case I used the following setup:
> 
> ...
> FFLAGS =  -pc64 -unroll -w90 -w95
> LFLAGS = -L/global-work/ct/ATLAS_ifc/lib/Linux_ATHLONSSE1_2 -llapack \
>          -lf77blas -lcblas -latlas -Vaxlib
> CFLAGS =
> CPP = /lib/cpp -P -C -traditional
> CPPFLAGS = -D__Linux -D__PGI -DLAPACK -DFFT_DEFAULT -DLINUX_IFC \
>            -DPARALLEL -DMP_LIBRARY=__MPI -DMYRINET
> CC = /global-work/ct/mpich124sh_intel/bin/mpicc
> FC = /global-work/ct/mpich124sh_intel/bin/mpif77 -c -O3 -tp p6 -axiM
> LD = /global-work/ct/mpich124sh_intel/bin/mpif77 -O3 -tp p6 -axiM
> ...
> 
> MPICH was used as the MPI library, built with the Intel compilers as well.
> At link time everything seems to work - no error messages. (By the way,
> why don't I need to link with the MPICH libs?)
> 
> Running this parallel binary on only one processor (mpirun -np 1 ...)
> works fine. But as soon as I start a job on more than one processor
> (mpirun -np 2 ...) I get this error message:
> 
> /global-work/ct/SOURCE352MPI_INTEL/cpmd.x: error while loading shared librari
es: libcxa.so.1: cannot open shared object file: No such file or directory
> 
> When I say
> 
> > ldd /global-work/ct/SOURCE352MPI_INTEL/cpmd.x
> 
> I get
> 
>         libm.so.6 => /lib/libm.so.6 (0x40023000)
>         libcxa.so.1 => /usr/loc/intel/compiler60/ia32/lib/libcxa.so.1 (0x4004
6000)
>         libc.so.6 => /lib/libc.so.6 (0x400b4000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> But the file /usr/loc/intel/compiler60/ia32/lib/libcxa.so.1  exists!
> 
> Does anybody have an idea what went wrong?

yes.

libcxa.so.1 is one of the intel compiler runtime libraries. you
either need to create a static binary or install/copy the intel 
compiler (or only the runtime libraries) on all machines where 
you want to run the binary. 

cheers,
	axel.


> 
> Thanks,
> Christian.
> 
> -- 
> Christian Tuma             Humboldt-Universitaet Berlin
> ct at chemie.hu-berlin.de     Arbeitsgruppe Quantenchemie (Prof. Sauer)
> phone: +49-30-20937140     Brook-Taylor-Str. 2, 12489 Berlin, GERMANY
> fax:   +49-30-20937136     http://www.chemie.hu-berlin.de/ag_sauer
> 
> 
> 
> --__--__----
> --195.176.20.84.506.15598.1029319206.351.24030
> Content-type: text/plain; charset=us-ascii
> Content-description: Digest Footer
> 
> _______________________________________________
> CPMD-list mailing list
> CPMD-list at cpmd.org
> http://www.cpmd.org/mailman/listinfo/cpmd-list
> 
> 
> --195.176.20.84.506.15598.1029319206.351.24030--
> 
> End of CPMD-list Digest
> 

--

=======================================================================
Axel Kohlmeyer      e-mail:  axel.kohlmeyer at theochem.ruhr-uni-bochum.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                   http://www.theochem.ruhr-uni-bochum.de
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.



More information about the CPMD-list mailing list