[01/21/2020] As I am currently getting setup in this environment, this will probably continue to change. I am currently using the vasp.5.4.1.05Feb16 build.
Create the following directory in which to put package vasp.5.4.1.05Feb16.tar.gz:
mkdir ~/usr/local/vasp
cd ~/usr/local/vasp
cp <shared_location>/vasp.5.4.1.05Feb16.tar.gz ./
#unzip the .gz file
gunzip vasp.5.4.1.05Feb16.tar.gz
#untar the .tar file
tar -xvf vasp.5.4.1.05Feb16.tar
#remove the .tar file, no longer needed
rm vasp.5.4.1.05Feb16.tar
which should create the following directory: ~/usr/local/vasp/vasp.5.4.1 and you no longer need the tarball vasp.5.4.1.05Feb16.tar and can remove it.
Then the instructions for compiling vasp on OSC should work. For the purposes of maintaining a consistent compile chain, the following setup for spitzer appears to work
module load intel/19.0.5
module load intelmpi/2019.3
Then the instructions for compiling vasp on OSC should work. For the purposes of maintaining a consistent compile chain, the following setup for spitzer appears to work
cd ~/usr/local/vasp/vasp.5.4.1
cp arch/makefile.include.linux_intel makefile.include
The makefile.include file provides instructions to the make command. The above command provides the specific commands for the compiler chain we loaded in Step 2.
To edit makefile
vi makefile.include
And replace the lines
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o \
$(MKLROOT)/interfaces/fftw3xf/libfftw3xf_intel.a
with one line
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o
and change the line
FCL = mpiifort -mkl=sequential
module load intelmpi
make