CMake Error at CMakeLists.txt:22 (project): CMAKE_C_COMPILER: CMAKE_Fortran_COMPILER:

python …/configure.py --arch=intel-avx2 --prefix=…/
$ cmake -D CMAKE_TOOLCHAIN_FILE=intel-avx2 -D CMAKE_INSTALL_PREFIX=…/ -D CMAKE_BUILD_TYPE=Release -D CMAKE_VERBOSE_MAKEFILE=off /home/edwinobune/SALMON-v.2.1.0/build/…
– The Fortran compiler identification is unknown
– The C compiler identification is unknown
CMake Error at CMakeLists.txt:22 (project):
The CMAKE_Fortran_COMPILER:

mpiifort

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable “FC” or the CMake cache entry CMAKE_Fortran_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:22 (project):
The CMAKE_C_COMPILER:

mpiicc

is not a full path and was not found in the PATH.

Tell CMake where to find the compiler by setting either the environment
variable “CC” or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

– Configuring incomplete, errors occurred!
See also “/home/edwinobune/SALMON-v.2.1.0/build/CMakeFiles/CMakeOutput.log”.
See also “/home/edwinobune/SALMON-v.2.1.0/build/CMakeFiles/CMakeError.log”.

I’m doing this on RedHat Enterprise Linux 9.
Please help, I’m a grad student using the program for a research and not so comfortable on doing much on linux.

Thanks
Edwin