Skip to content

Commit 9f23b96

Browse files
ggouaillardetbwbarrett
authored andcommitted
mpiext: fix path to Fortran 2008 modules
OMPI_FORTRAN_USEMPIF08_MOD macro was removed in 791bcee so this macro is now manually expanded to mpi/fortran/use-mpi-f08/mod Thanks to Nathan T. Weeks for reporting Refs #3605 Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit 794cc09)
1 parent a69a84e commit 9f23b96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/mpi/fortran/mpiext/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if OMPI_BUILD_FORTRAN_USEMPI_OR_USEMPIF08_EXT
2020

2121
AM_FCFLAGS = -I$(top_builddir)/ompi/include -I$(top_srcdir)/ompi/include \
2222
$(OMPI_FC_MODULE_FLAG)$(top_builddir)/ompi/mpi/fortran/base \
23-
$(OMPI_FC_MODULE_FLAG)$(top_builddir)/ompi/$(OMPI_FORTRAN_USEMPIF08_MOD) \
23+
$(OMPI_FC_MODULE_FLAG)$(top_builddir)/ompi/mpi/fortran/use-mpi-f08/mod \
2424
-I$(top_srcdir) $(FCFLAGS_f90)
2525

2626
flibs =

ompi/mpiext/example/use-mpi-f08/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# We must set these #defines and include paths so that the inner OMPI
1616
# MPI prototype header files do the Right Thing.
17-
AM_FCFLAGS = $(OMPI_FC_MODULE_FLAG)$(top_builddir)/ompi/$(OMPI_FORTRAN_USEMPIF08_MOD) \
17+
AM_FCFLAGS = $(OMPI_FC_MODULE_FLAG)$(top_builddir)/ompi/mpi/fortran/use-mpi-f08/mod \
1818
-I$(top_srcdir) $(FCFLAGS_f90)
1919

2020
# Note that the mpi_f08-based bindings are optional -- they can only

0 commit comments

Comments
 (0)