Compile Options

Abinit

$ export CC=pathcc

$ export CFLAGS='-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -g '

$ export CPPFLAGS=-Df2cFortran

$ export CXX=pathCC

$ export FC=pathf90

$ export FFLAGS='-O2 -g '

$ export CXXFLAGS='-O2 -g '

$ ./configure --prefix=/usr/local --enable-bigdft --enable-mpi --enable-xmlf90 --with-mpi-prefix=/usr/local/mpi

PWscf/Espress

$ ./configure CC=/opt/pathscale/compat-gcc/bin/gcc F90=pathf90

$ make all

VASP

Not a comprehensive set of makefiles, but it should be enough to get almost any configuration you want with a little modification. The files are also attached below.