Skip to content

Commit 475d035

Browse files
committed
configury: fix auto-generated mpi-[f08-]ext-module.F90
prefer #include vs include in order to correctly handle long Fortran lines. We use the full path, and it can be very long, this is why it cannot be passed to the Fortran compiler. Thanks Igor Andriyash and Axel Huebl for reporting this issue. Refs #6106 Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
1 parent f05ebe8 commit 475d035

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/ompi_ext.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ dnl University Research and Technology
55
dnl Corporation. All rights reserved.
66
dnl Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved
77
dnl Copyright (c) 2011-2012 Oak Ridge National Labs. All rights reserved.
8-
dnl Copyright (c) 2015-2017 Research Organization for Information Science
9-
dnl and Technology (RIST). All rights reserved.
8+
dnl Copyright (c) 2015-2018 Research Organization for Information Science
9+
dnl and Technology (RIST). All rights reserved.
1010
dnl Copyright (c) 2017 The University of Tennessee and The University
1111
dnl of Tennessee Research Foundation. All rights
1212
dnl reserved.
@@ -568,7 +568,7 @@ EOF
568568
if test "$enabled_mpifh" = 1; then
569569
mpifh_component_header="mpiext_${component}_mpifh.h"
570570
cat >> $mpiusempi_ext_h <<EOF
571-
include '${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header'
571+
#include "${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header"
572572
EOF
573573
fi
574574

@@ -621,7 +621,7 @@ EOF
621621
if test "$enabled_mpifh" = 1; then
622622
mpifh_component_header="mpiext_${component}_mpifh.h"
623623
cat >> $mpiusempif08_ext_h <<EOF
624-
include '${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header'
624+
#include "${srcdir}/ompi/mpiext/$component/mpif-h/$mpifh_component_header"
625625
EOF
626626
fi
627627

0 commit comments

Comments
 (0)