Skip to content

Commit 7e85aa9

Browse files
committed
Fix WALLTIME => MPI_WTIME issue when no mpi.mod
# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch #246-gfortran-mpich-mismatch-detection # Changes to be committed: # modified: src/tests/integration/dist_transpose/coarray_distributed_transpose.F90 # modified: src/tests/integration/pde_solvers/navier-stokes/coarray-shear_coll.F90 # modified: src/tests/performance/mpi_dist_transpose/mpi_distributed_transpose.F90 # # Untracked files: # .travis-scripts/ # build/ #
1 parent 344285a commit 7e85aa9

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

src/tests/integration/dist_transpose/coarray_distributed_transpose.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module run_size
4141
# else
4242
implicit none
4343
include 'mpif.h'
44+
# define WALLTIME MPI_WTIME
4445
# endif
4546
#else
4647
implicit none

src/tests/integration/pde_solvers/navier-stokes/coarray-shear_coll.F90

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,7 @@ module run_size
118118
# else
119119
implicit none
120120
include 'mpif.h'
121-
interface WALLTIME
122-
function MPI_WTIME() result(res)
123-
double precision :: res
124-
end function
125-
end interface WALLTIME
121+
# define WALLTIME MPI_WTIME
126122
# endif
127123
#else
128124
implicit none

src/tests/performance/mpi_dist_transpose/mpi_distributed_transpose.F90

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@ module mpi_run_size
4444
# else
4545
implicit none
4646
include 'mpif.h'
47-
interface WALLTIME
48-
function MPI_WTIME() result(res)
49-
double precision :: res
50-
end function
51-
end interface WALLTIME
47+
# define WALLTIME MPI_WTIME
5248
# endif
5349
#else
5450
implicit none

0 commit comments

Comments
 (0)