Here you find information about the the system

We need to use the mpi-enabled compiler mpcc and we should link to LAPACK before ESSL. Make sure LAPACK is added:

$ module add lapack

and use this

from os import environ
mpicompiler = 'mpcc'
libraries = ['f']
extra_link_args += [environ['LAPACK'], '-lessl']

The Numeric Python extension is not installed on NERSC, so we should install it. Get the Numeric-24.2 and do this:

$ wget
$ gunzip -c Numeric-24.2.tar.gz | tar xf -
$ cd Numeric-24.2
$ python install --home=$HOME

and put the $HOME/lib/python/Numeric directory in your PYTHONPATH.

Now we are ready to compile GPAW