Fix the fix -- if we're not compiling the profiling layer, then we
cannot include the PMPI_WTIME|WTICK functions in the external and double precision statements because some compilers complain about this. Instead, we need to use the macro that is defined by configure.ac (MPIF_H_PMPI_W_FUNCS). This unfortunately means that we need to generate mpif.h (in addition to mpif-config.h) because the "external" statement is toxic to F90 compilers. This commit was SVN r10464.
Этот коммит содержится в:
родитель
cde42e68e8
Коммит
87ec6c5384
@ -1107,6 +1107,7 @@ AC_CONFIG_FILES([
|
||||
ompi/Makefile
|
||||
ompi/etc/Makefile
|
||||
ompi/include/Makefile
|
||||
ompi/include/mpif.h
|
||||
ompi/include/mpif-config.h
|
||||
|
||||
ompi/datatype/Makefile
|
||||
|
@ -74,6 +74,6 @@
|
||||
!
|
||||
! double precision functions
|
||||
!
|
||||
external MPI_WTIME, MPI_WTICK
|
||||
double precision MPI_WTIME, MPI_WTICK
|
||||
external MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@
|
||||
double precision MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user