Commit 324573f
committed
Merge branch 'framework/dmpar_scatter_dummy_pointer' into develop (PR #1361)
This merge removes the pointer attribute from the 'inlist' dummy argument of the
mpas_dmpar_scatter_ints routine.
The pointer attribute is unnecessary for the inlist argument, and requiring the
inlist argument to be a pointer precluded the use of mpas_dmpar_scatter_ints for
arrays that are not pointers, e.g., allocatable arrays or array constructors.
Additionally, since the inlist argument is used only as the first argument to
MPI_Scatterv (i.e., as the sendbuf argument of MPI_Scatterv), it can be declared
as an intent(in) argument in the mpas_dmpar_scatter_ints routine.
The changes in this merge have also been found to resolve runtime errors
occurring with certain compiler and MPI library combinations, specifically,
nvfortran and OpenMPI 5.x.
* framework/dmpar_scatter_dummy_pointer:
Remove 'pointer' attribute from 'inlist' argument of mpas_dmpar_scatter_ints1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | | - | |
| 1496 | + | |
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
| |||
0 commit comments