#!/bin/bash

tar zxvf vasp.5.4.4.tar.gz
gunzip patch.5.4.4.16052018.gz
cp patch* vasp.5.4.4
cd vasp.5.4.4
patch -p0 < patch.5.4.4.16052018

module purge
module load  intel/19.0.5.281
module load mpi/openmpi/4.0.2
cp ./arch/makefile.include.linux_intel ./
ln -s  makefile.include.linux_intel makefile.include
make 
