diff -ruN vasp.6.3.2.orig/arch/makefile.include.intel vasp.6.3.2/arch/makefile.include.intel
--- vasp.6.3.2.orig/arch/makefile.include.intel	2023-01-16 17:41:26.286381000 +0100
+++ vasp.6.3.2/arch/makefile.include.intel	2023-01-16 17:44:54.472454000 +0100
@@ -16,13 +16,13 @@
 
 FREE        = -free -names lowercase
 
-FFLAGS      = -assume byterecl -w
+FFLAGS      = -FR -assume byterecl
 
-OFLAG       = -O2
+OFLAG       = -O3 -ip -march=xHost
 OFLAG_IN    = $(OFLAG)
 DEBUG       = -O0
 
-OBJECTS     = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o
+OBJECTS     = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o ${EBROOTIMKLMINFFTW}/lib/libfftw3xf_intel.a
 OBJECTS_O1 += fftw3d.o fftmpi.o fftmpiw.o
 OBJECTS_O2 += fft3dlib.o
 
@@ -54,17 +54,17 @@
 # Intel MKL (FFTW, BLAS, LAPACK, and scaLAPACK)
 # (Note: for Intel Parallel Studio's MKL use -mkl instead of -qmkl)
 FCL        += -qmkl=sequential
-MKLROOT    ?= /path/to/your/mkl/installation
+MKLROOT    ?= ${MKLROOT}
 LLIBS      += -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64
 INCS        =-I$(MKLROOT)/include/fftw
 
 # HDF5-support (optional but strongly recommended)
-#CPP_OPTIONS+= -DVASP_HDF5
-#HDF5_ROOT  ?= /path/to/your/hdf5/installation
-#LLIBS      += -L$(HDF5_ROOT)/lib -lhdf5_fortran
-#INCS       += -I$(HDF5_ROOT)/include
+CPP_OPTIONS+= -DVASP_HDF5
+HDF5_ROOT  ?= ${EBROOTHDF5}
+LLIBS      += -L$(HDF5_ROOT)/lib -lhdf5_fortran
+INCS       += -I$(HDF5_ROOT)/include
 
 # For the VASP-2-Wannier90 interface (optional)
-#CPP_OPTIONS    += -DVASP2WANNIER90
-#WANNIER90_ROOT ?= /path/to/your/wannier90/installation
-#LLIBS          += -L$(WANNIER90_ROOT)/lib -lwannier
+CPP_OPTIONS    += -DVASP2WANNIER90
+WANNIER90_ROOT ?= ${EBROOTWANNIER90}
+LLIBS          += -L$(WANNIER90_ROOT)/lib -lwannier
