1
1

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.
Этот коммит содержится в:
Jeff Squyres 2006-06-21 21:24:01 +00:00
родитель cde42e68e8
Коммит 87ec6c5384
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -1107,6 +1107,7 @@ AC_CONFIG_FILES([
ompi/Makefile ompi/Makefile
ompi/etc/Makefile ompi/etc/Makefile
ompi/include/Makefile ompi/include/Makefile
ompi/include/mpif.h
ompi/include/mpif-config.h ompi/include/mpif-config.h
ompi/datatype/Makefile ompi/datatype/Makefile

Просмотреть файл

@ -74,6 +74,6 @@
! !
! double precision functions ! double precision functions
! !
external MPI_WTIME, MPI_WTICK external MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@
double precision MPI_WTIME, MPI_WTICK double precision MPI_WTIME, MPI_WTICK @MPIF_H_PMPI_W_FUNCS@