I am facing this problem in VASP 6.1.0 compilation with mpiifort:
if [ ! -d build/std ] ; then mkdir build/std ; fi; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
make[1]: Entering directory '/home/bdren/vasp/vasp.6.1.0/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: Entering directory '/home/bdren/vasp/vasp.6.1.0/build/std/lib'
make libdmy.a
make[3]: Entering directory '/home/bdren/vasp/vasp.6.1.0/build/std/lib'
mpiifort -O1 -free -names lowercase -c -o preclib.o preclib.f90
/opt/intel/oneapi/mpi/2021.4.0//bin/mpiifort: 1: eval: ifort: not found
makefile:28: recipe for target 'preclib.o' failed
make[3]: *** [preclib.o] Error 127
make[3]: Leaving directory '/home/bdren/vasp/vasp.6.1.0/build/std/lib'
makefile:18: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/bdren/vasp/vasp.6.1.0/build/std/lib'
makefile:154: recipe for target 'lib' failed
make[1]: *** [lib] Error 2
make[1]: Leaving directory '/home/bdren/vasp/vasp.6.1.0/build/std'
makefile:6: recipe for target 'std' failed
make: *** [std] Error 2
I am very new to Linux. So a step-by-step solution would be very helpful. Thanks in advance!