I just encountered a fortran incompatibility when compiling with intel compiler when the original package is installed from gcc (the compiler simply refuses to run). Therefore the install dir of the Fortran module should be prefixed by the abi/fortran compiler. CMake does something similar for C++ modules. Fortran-stdlib uses a super safe installation path, which can be used here as well
Related reference:
I just encountered a fortran incompatibility when compiling with intel compiler when the original package is installed from gcc (the compiler simply refuses to run). Therefore the install dir of the Fortran module should be prefixed by the abi/fortran compiler. CMake does something similar for C++ modules. Fortran-stdlib uses a super safe installation path, which can be used here as well
Related reference: