testsuite compilation failure
Problem
When the main code has been compiled using, e.g., the Intel compiler, then running make in testsuite/tests
as described in README.md will fail, because it uses gfortran -- which won't recognize the intel-compiled modules.
Details:
Error is f951: Fatal Error: Reading module 'mymats' at line 1 column 2: Unexpected EOF
,
which disappears when switching from gfortran to the compiler set the configureHPC in tests/CMakeCache.txt
(CMAKE_Fortran_COMPILER:FILEPATH)
Possible solution
To use the environment variable $ALF_FC
(set by configureHPC.sh) instead.