Instructions in the manual cannot set modules and define target


Click here for full thread
Gets Around
You are not declaring environment variables correctly. In a bash shell, which I think is the default on OS X, your need to do something like this:

export USE_MPI
export NWCHEM_MODULES=all
export OLD_GA=yes
export NWCHEM_TARGET=MACX
export NWCHEM_TOP=/Users/computation/nwchem


If you are setting an exported variable to a particular value, you need put an = sign between the variable and the value, with no white space in between. The manual shows how to set environment variables with setenv, which is how you do it in C-style shells, but you can't just replace setenv with export to make it work in bash. You need the extra = sign also.