Following the "How-to: Cray platforms"
Environment:
$ export NWCHEM_TOP=/scratch/astreib/nwchem-6.3.revision2-src.2013-10-17
$ 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=" "
$ export ARMCI_NETWORK=PORTALS
Building:
$ cd $NWCHEM_TOP/src
$ make nwchem_config
$ make 64_to_32
$ make FC=ftn >& make.log
$ tail make.log
libtool: kompile: cc -DHAVE_CONFIG_H -I. -I../../ga-5-2/armci -I../../ga-5-2/armci/src-portals -I../../ga-5-2/armci/src/include -c ../../ga-5-2/armci/src-portals/armci.c -o src-portals/armci.o
PGC-F-0249-#error -- cannot run (../../ga-5-2/armci/src-portals/locks.h: 16)
PGC/x86-64 Linux 12.10-0: compilation aborted
make[5]: *** [src-portals/armci.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
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
The lines around line 16 in the referenced locks.h:
11 #if !(defined(PMUTEX) || defined(PSPIN) || defined(CYGNUS) || defined(CRAY_XT))
12 # include "spinlock.h"
13 #endif
14
15 #if !(defined(PMUTEX) || defined(PSPIN) || defined(SPINLOCK))
16 # error cannot run
17 #endif
18
19 #if (defined(SPINLOCK) || defined(PMUTEX) || defined(PSPIN) || defined(HITACHI)) && !(defined(BGML) || defined(DCMF))
|