Hi everyone,
I am trying to recompile scale6.1 on a Ubuntu16.04 laptop.
I installed correctly (I think) ifort via intel parallel studio. I added the script "source /opt/intel/bin/compilervars.sh intel64" into .bashrc which, according to intel, is supposed to set the environment variable for the ifort compiler (see website:
https://software.intel.com/en-us/articles/setting-up-the-build-environment-for-using-intel-c-or-fortran-compilers)
Now, when I follow the instructions in the scale6.1_readme.pdf Build Instructions the step where I invoke the script linux_x86_64-cmake produces the following error:
CMake Error at CMakeLists.txt:5 (project):
The CMAKE_Fortran_COMPILER:
ifort
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.I also tried to manually add the directory where the ifort bin is located to the .bashrc PATH variable or setting the variable FC to ifort, same error.
Would anyone be able to see what the problem is or to give me a solution? If that can be of any help, I put the CmakeOutput.log and Error.log as attached files.
Thank you in advance.
Julien de Troullioud de Lanversin