Compiling NWCHEM without MPI


Click here for full thread
Clicked A Few Times
I'm having trouble compiling NWCHEM (v6.0) *without* MPI on a macintosh (MacOS 10.7, gcc and gfortran v4.6 via MacPorts). The env variables I'm setting are

export NWCHEM_TOP='/Users/rmuller/Programs/nwchem/nwchem-6.0'
export NWCHEM_TARGET=MACX
export USE_MPI=no
export USE_MPIF=no
export USE_MPIF4=no
export FC=gfortran
export CC=gcc
export NWCHEM_MODULES=qm

Despite having USE_MPI* being "no", I'm getting

gcc -I../include -I../armci/src -DMACX -DGFORTRAN -DARMCI -DNEED_MEMALIGN -DMPI -O -c -o collect.o collect.c
collect.c:1:17: fatal error: mpi.h: No such file or directory
compilation terminated.
make[2]: *** [collect.o] Error 1
rm drand48.o checkbyte.o sizeof.o pbeginf.o
make[1]: *** [tools] Error 2
make: *** [libraries] Error 1

Any hints to making this work?