@@ -138,11 +138,6 @@ AC_DEFUN([OMPI_SETUP_MPI_FORTRAN],[
138
138
AC_DEFINE([ompi_fortran_bogus_type_t], [int],
139
139
[A bogus type that allows us to have sentinel type values that are still valid])
140
140
141
- # These get filled in as we check for each type
142
- OMPI_FORTRAN_IKINDS=
143
- OMPI_FORTRAN_RKINDS=
144
- OMPI_FORTRAN_CKINDS=
145
-
146
141
# We want to set the #define's for all of these, so invoke the macros
147
142
# regardless of whether we have F77 support or not.
148
143
OMPI_FORTRAN_CHECK([CHARACTER], [yes],
@@ -284,14 +279,6 @@ AC_DEFUN([OMPI_SETUP_MPI_FORTRAN],[
284
279
[$OMPI_FORTRAN_STATUS_SIZE ],
285
280
[The number or Fortran INTEGER in MPI Status])
286
281
287
- # Setup for the compilers that don't support ignore TKR functionality
288
- OPAL_UNIQ(OMPI_FORTRAN_IKINDS)
289
- AC_SUBST(OMPI_FORTRAN_IKINDS)
290
- OPAL_UNIQ(OMPI_FORTRAN_RKINDS)
291
- AC_SUBST(OMPI_FORTRAN_RKINDS)
292
- OPAL_UNIQ(OMPI_FORTRAN_CKINDS)
293
- AC_SUBST(OMPI_FORTRAN_CKINDS)
294
-
295
282
# We can't use C_INTxx_T KIND values in mpif.h because many
296
283
# existing MPI Fortran applications are of the form:
297
284
#
@@ -405,16 +392,15 @@ end program]])],
405
392
])
406
393
407
394
# If we got here, we can build the mpi module if it was requested.
408
- # Decide whether to build the ignore TKR version or the
409
- # non-ignore-TKR/legacy version.
395
+ # We only support compilers which have an ignore TKR feature.
410
396
AS_IF([test $OMPI_TRY_FORTRAN_BINDINGS -ge $OMPI_FORTRAN_USEMPI_BINDINGS && \
411
397
test $ompi_fortran_happy -eq 1],
412
398
[OMPI_BUILD_FORTRAN_BINDINGS= $OMPI_FORTRAN_USEMPI_BINDINGS
413
399
AS_IF([test $OMPI_FORTRAN_HAVE_IGNORE_TKR -eq 1],
414
400
[OMPI_FORTRAN_USEMPI_DIR= mpi/fortran/use-mpi-ignore-tkr
415
401
OMPI_FORTRAN_USEMPI_LIB= -l${with_libmpi_name} _usempi_ignore_tkr],
416
- [OMPI_FORTRAN_USEMPI_DIR = mpi/fortran/ use-mpi-tkr
417
- OMPI_FORTRAN_USEMPI_LIB = -l ${with_libmpi_name} _usempi ])
402
+ [AC_MSG_WARN([ ** Fortran compiler does not support ignoring TKR. Please use a newer fortran compiler.])
403
+ AC_MSG_ERROR([ *** Cannot continue]) ])
418
404
])
419
405
420
406
OMPI_FORTRAN_HAVE_ISO_C_BINDING= 0
0 commit comments