#!/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/18.1
module load openmpi/intel/2.0.4
cp ./arch/makefile.include.linux_intel ./
ln -s  makefile.include.linux_intel makefile.include
make 
