hello,
during compilation of code, using this enveromental variables
export LARGE_FILES=TRUE
export NWCHEM_TOP=/opt/Nwchem-dev.revision25716-src.2014-06-09
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=SOCKETS
export NWCHEM_MODULES="all"
export NWCHEM_MPIF_WRAP=/opt/openmpi-1.8.1/bin/mpif90
export NWCHEM_MPIC_WRAP=/opt/openmpi-1.8.1/bin/mpicc
export NWCHEM_MPICXX_WRAP=/opt/openmpi-1.8.1/bin/mpicxx
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_INCLUDE="-I/opt/openmpi-1.8.1/include"
export MPI_LIB="-L/opt/openmpi-1.8.1/lib"
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil"
export FC=gfortran
export CC=gcc
export CXX=g++
I obtain this meggage of error in make.log file
'../../ga-5-2/armci/src/memory/shmem.c:1045:13: error: 'IDLOC' undeclared (first use in this function)
size = id[IDLOC];
^
../../ga-5-2/armci/src/memory/shmem.c: At top level:
../../ga-5-2/armci/src/memory/shmem.c:1173:7: error: conflicting types for 'Create_Shared_Region'
char *Create_Shared_Region(long *id, long size, long *offset)
^
../../ga-5-2/armci/src/memory/shmem.c:453:16: note: previous implicit declaration of 'Create_Shared_Region' was here
myptr = Create_Shared_Region(idlist+1,size,idlist);
^
../../ga-5-2/armci/src/memory/shmem.c: In function 'Create_Shared_Region':
../../ga-5-2/armci/src/memory/shmem.c:1202:11: error: 'SHMIDLEN' undeclared (first use in this function)
id[SHMIDLEN-2]=MinShmem;
^
../../ga-5-2/armci/src/memory/shmem.c:1220:8: error: 'IDLOC' undeclared (first use in this function)
id[IDLOC]=region_list[reg].sz; /* elan post check */
^
make[5]: *** [src/memory/shmem.lo] Error 1
make[5]: *** Attesa per i processi non terminati....
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [build/.libs/libga.a] Error 1
make: *** [libraries] Error 1'
how can I solve it?
thanks
Marcel
|