Changeset 6ecb30a in flexpart.git for src/outgrid_init.f90
- Timestamp:
- Aug 17, 2017, 4:39:17 PM (7 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 5b34509
- Parents:
- 61e07ba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/outgrid_init.f90
r6b22af9 r6ecb30a 19 19 ! along with FLEXPART. If not, see <http://www.gnu.org/licenses/>. * 20 20 !********************************************************************** 21 ! * 22 ! DJM - 2017-05-09 - added #ifdef USE_MPIINPLACE cpp directive to * 23 ! enable allocation of a gridunc0 array if required by MPI code in * 24 ! mpi_mod.f90 * 25 ! * 26 !********************************************************************** 27 21 28 22 29 subroutine outgrid_init … … 215 222 ! Extra field for totals at MPI root process 216 223 if (lroot.and.mpi_mode.gt.0) then 217 ! allocate(gridunc0(0:numxgrid-1,0:numygrid-1,numzgrid,maxspec, & 218 ! maxpointspec_act,nclassunc,maxageclass),stat=stat) 219 ! if (stat.ne.0) write(*,*)'ERROR: could not allocate gridunc0' 224 225 #ifdef USE_MPIINPLACE 226 #else 227 ! If MPI_IN_PLACE option is not used in mpi_mod.f90::mpif_tm_reduce_grid(), 228 ! then an aux array is needed for parallel grid reduction 229 allocate(gridunc0(0:numxgrid-1,0:numygrid-1,numzgrid,maxspec, & 230 maxpointspec_act,nclassunc,maxageclass),stat=stat) 231 if (stat.ne.0) write(*,*)'ERROR: could not allocate gridunc0' 232 #endif 220 233 if (ldirect.gt.0) then 221 234 allocate(wetgridunc0(0:numxgrid-1,0:numygrid-1,maxspec, &
Note: See TracChangeset
for help on using the changeset viewer.