INCS = $(MKL_INC) LIBS = $(MKL_LIB)
Adjust the MKLROOT path to your actual Intel MKL installation. Step 4: Compilation – The Two-Step Process VASP 5.4.4 has a two-stage build: first the preprocess executable, then the main code. Clean previous builds make veryclean Build the standard version (production) make std This creates vasp_std in the parent directory. Wait 5–30 minutes depending on your CPU. Build additional variants (optional but useful) make gam # For gamma-only calculations (faster for molecules/clusters) make ncl # For non-collinear magnetism / spin-orbit coupling After successful compilation, you should see: vasp 5.4.4 installation
NPAR = 4 # Number of bands groups (tune) LPLANE = .TRUE. # Planar FFT decomposition Example run_vasp.slurm script for a cluster: INCS = $(MKL_INC) LIBS = $(MKL_LIB) Adjust the
cp ~/software/vasp.5.4.4/testsuite/tests/si_base/POSCAR . cp ~/software/vasp.5.4.4/testsuite/tests/si_base/INCAR . cp ~/software/vasp.5.4.4/testsuite/tests/si_base/KPOINTS . cp ~/software/vasp.5.4.4/testsuite/tests/si_base/POTCAR_Si . mv POTCAR_Si POTCAR Run on 4 cores: Wait 5–30 minutes depending on your CPU
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o PREC_F77 = -fdefault-real-8 -fdefault-double-8