Dear Community,
i have linking problems on my Linux64 workstation (gcc,mpich,gfortran)
I get lots of undefined references to pbeginf_ nodeid_ setdbg_ ... and so on
/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src//lib/LINUX64/libpeigs.a(mxsubs.o): In function `mxinit_':
mxsubs.F:(.text+0x1e0): undefined reference to `tcgtime_'
mxsubs.F:(.text+0x1e7): undefined reference to `nodeid_'
mxsubs.F:(.text+0x1f1): undefined reference to `nnodes_'
mxsubs.F:(.text+0x211): undefined reference to `nodeid_'
mxsubs.F:(.text+0x21b): undefined reference to `nnodes_'
/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src//lib/LINUX64/libpeigs.a(mxsubs.o): In function `mxsync_':
mxsubs.F:(.text+0x272): undefined reference to `synch_'
/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src//lib/LINUX64/libpeigs.a(mxsubs.o): In function `mxbcst_':
mxsubs.F:(.text+0x320): undefined reference to `rcv_'
mxsubs.F:(.text+0x3c6): undefined reference to `snd_'
/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src//lib/LINUX64/libpeigs.a(mxsubs.o): In function `mxclock_':
mxsubs.F:(.text+0x133): undefined reference to `tcgtime_'
/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src//lib/LINUX64/libpeigs.a(mxsubs.o): In function `mxtick_':
mxsubs.F:(.text+0x243): undefined reference to `mtime_'
i guess this is related to the tcgmsg library... but ... how come? i wanted to build upon mpich. Unfortunately i do not have any further idea how to proceed. Any help is greatly appreciated. My environment is set to:
export MPI_INCLUDE=/opt/mpich//include
export LIBMPI="-L/opt/mpich/ch-p4/lib64 -lmpichf90 -lmpich -lpthread -lrt -lmpich -lfmpich "
export NWCHEM_TOP=/home/kuleszaa/PROGRAMS/NWCHEM6.1.1/nwchem-6.1.1-src/
export MPI_LIB=/opt/mpich/ch-p4/lib64/
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export TCGRSH=/usr/bin/ssh
export NWCHEM_MODULES=all
export MPI_LOC=/opt/mpich/ch-p4/
export FC=gfortran
export LARGE_FILES=yes
export CC=gcc
export NWCHEM_TARGET=LINUX64
Thanks in advance
Alex
|