Difficulty Compiling NWChem on Cray - Numerous Undefined References

From NWChem

You are viewing a single post from the thread title above
Jump to: navigation, search

Click here for full thread
Just Got Here
Threads 1
Posts 3
The not a typo *I think* Edition

Hello all,
I am still having difficulty getting NWChem to compile on the Cray XC30. I succeeded in getting the ga-cray to compile however now I am having a series of undefined reference errors. My install procedure is as follows:

export NWCHEM_TOP=~/nwchem-6.5   
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES="all"
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export USE_SCALAPACK=y
export USE_64to32=y
export LIBMPI=" "

module swap PrgEnv-cray PrgEnv-gnu
module load craype-hugepages64M
module load dmapp

cd $NWCHEM_TOP/src/tools

make FC=ftn GA_DIR=ga-cray  DMAPP_INCLUDE=$CRAY_DMAPP_INCLUDE_OPTS   DMAPP_LIB=$CRAY_DMAPP_POST_LINK_OPTS  

module load dmapp

export ARMCI_NETWORK=DMAPP
export USE_SCALAPACK=y
export SCALAPACK="-lsci_gnu"
export SCALAPACK_LIB="-lsci_gnu"
export BLASOPT="-lsci_gnu"
export BLAS_LIB="-lsci_gnu"
export LAPACK_LIB="-lsci_gnu"
export USE_64to32=y

export HUGETLB_MORECORE=yes
export HUGETLB_DEFAULT_PAGE_SIZE=8M
export UGNI_CDM_MDD_DEDICATED=2
cd $NWCHEM_TOP/src
make nwchem_config FC=ftn GA_DIR=ga-cray _GCC4=Y CC=gcc link 

make 64_to_32
make FC=ftn GA_DIR=ga-cray _GCC4=Y CC=gcc link


I am getting the following errors.

/home/cb/nwchem-6.5/lib/LINUX64/libpeigs.a(tred22.o): In function `tred2':
tred22.c:(.text+0xa1e): undefined reference to `yasum_'
tred22.c:(.text+0xb37): undefined reference to `ynrm2_'
tred22.c:(.text+0xe1f): undefined reference to `yscal_'
tred22.c:(.text+0xece): undefined reference to `ycopy_'
tred22.c:(.text+0x10fd): undefined reference to `ydot_'
tred22.c:(.text+0x118f): undefined reference to `yaxpy_'
tred22.c:(.text+0x1307): undefined reference to `yscal_'
tred22.c:(.text+0x135b): undefined reference to `ydot_'
tred22.c:(.text+0x13cf): undefined reference to `yaxpy_'
tred22.c:(.text+0x14b4): undefined reference to `yaxpy_'
tred22.c:(.text+0x1521): undefined reference to `yaxpy_'
tred22.c:(.text+0x15d5): undefined reference to `ydot_'
tred22.c:(.text+0x166a): undefined reference to `yaxpy_'
collect2: error: ld returned 1 exit status
make: *** [all] Error 1


Any help would be appreciated. Thank you
Chris
Edited On 2:49:46 AM PDT - Tue, Aug 11th 2015 by Chrisbutch


Who's here now Members 0 Guests 0 Bots/Crawler 0


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC