-
Notifications
You must be signed in to change notification settings - Fork 897
configure: be more verbose about fort TS 29113 #13239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
It turns out that those working with the fortran bindings are becoming increasingly aware of the need to know whether or not Open MPI fortran bindings are being built by a fortran compiler that is 2018 compliant or at least supports 2008 plus TS 29113. with this patch, when using a fortran compiler that supports TS 29113 features the configury summary will be: Open MPI configuration: ----------------------- Version: 5.1.0a1 MPI Standard Version: 3.1 Build MPI C bindings: yes Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08(TS 29113) Build MPI Java bindings (experimental): no Build Open SHMEM support: false (no spml) Debug build: no Platform file: (none) If the compiler doesn't support TS 29113 features then the (TS 29113) will not be present. Signed-off-by: Howard Pritchard <[email protected]>
config/opal_summary.m4
Outdated
@@ -49,7 +49,11 @@ EOF | |||
elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPI_BINDINGS ; then | |||
echo "Build MPI Fortran bindings: mpif.h, use mpi" >&AS_MESSAGE_FD | |||
elif test $OMPI_BUILD_FORTRAN_BINDINGS = $OMPI_FORTRAN_USEMPIF08_BINDINGS ; then | |||
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08" >&AS_MESSAGE_FD | |||
if test $OMPI_FORTRAN_HAVE_TS -eq 1; then | |||
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08(TS 29113)" >&AS_MESSAGE_FD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08(TS 29113)" >&AS_MESSAGE_FD | |
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08 (including TS 29113 support)" >&AS_MESSAGE_FD |
config/opal_summary.m4
Outdated
if test $OMPI_FORTRAN_HAVE_TS -eq 1; then | ||
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08(TS 29113)" >&AS_MESSAGE_FD | ||
else | ||
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08" >&AS_MESSAGE_FD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08" >&AS_MESSAGE_FD | |
echo "Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08 (NOT including TS 29113 support)" >&AS_MESSAGE_FD |
Do we need a corresponding change in |
oh good point about |
Hmm. well actually ompi_info has a fairly complete area for verbiage about fortran support although i'm sceptical about what its saying about the Intel One API fortran compiler:
I need to investigate this subarray test in the configury. |
i think the part of |
Signed-off-by: Howard Pritchard <[email protected]>
It turns out that those working with the fortran bindings are becoming increasingly aware of the need to know whether or not Open MPI fortran bindings are being built by a fortran compiler that is 2018 compliant or at least supports 2008 plus TS 29113.
with this patch, when using a fortran compiler that supports TS 29113 features the configury summary will be:
Open MPI configuration:
Version: 5.1.0a1
MPI Standard Version: 3.1
Build MPI C bindings: yes
Build MPI Fortran bindings: mpif.h, use mpi, use mpi_f08(TS 29113)
Build MPI Java bindings (experimental): no
Build Open SHMEM support: false (no spml)
Debug build: no
Platform file: (none)
If the compiler doesn't support TS 29113 features then the (TS 29113) will not be present.