Last-Updated: 2023-12-21
Forwarded: no
Also look in a fortran-ABI-specific directory for libs
Gbp-Pq: Name mpifort.patch
version=@OMPI_VERSION@
language=Fortran
compiler_env=FC
+compiler_version=@COMPILER_VERSION@
compiler_flags_env=FCFLAGS
compiler=@FC@
preprocessor_flags=
dyn_lib_file=lib@OMPI_LIBMPI_NAME@.@OPAL_DYN_LIB_SUFFIX@
static_lib_file=lib@OMPI_LIBMPI_NAME@.a
required_file=@OMPI_WRAPPER_FORTRAN_REQUIRED_FILE@
-includedir=${includedir}
-libdir=${libdir}
+# The same includedir is used in mpif77 and mpif90; so link the mod files in there
+# but set fmoddir and use it where possible
+includedir=${libdir}/../../fortran/@COMPILER_VERSION@/openmpi
+libdir=${libdir}/fortran/@FC@