Changeset 62e65c7 in flexpart.git for src/mpi_mod.f90
- Timestamp:
- Apr 28, 2016, 12:58:10 PM (8 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 18adf60, 93786a1
- Parents:
- e4f26d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mpi_mod.f90
r341f4b7 r62e65c7 103 103 logical :: lmp_use_reader=.false. ! true if separate readwind process is used 104 104 105 ! true if only using synchronous MPI send/recv:105 ! .true. if only using synchronous MPI send/recv (default) 106 106 ! If setting this to .false., numwfmem must be set to 3 107 107 !=============================================================================== … … 208 208 !********************************************* 209 209 210 if (.not.lmp_sync.and.numwfmem.ne.3.and.lroot) then 211 write(*,FMT='(80("#"))') 212 write(*,*) '#### mpi_mod::mpif_init> ERROR: ', & 213 & 'numwfmem must be set to 3 for asyncronous reading ####' 214 write(*,FMT='(80("#"))') 210 if (.not.lmp_sync.and.numwfmem.ne.3) then 211 if (lroot) then 212 write(*,FMT='(80("#"))') 213 write(*,*) '#### mpi_mod::mpif_init> ERROR: ', & 214 & 'numwfmem must be set to 3 for asyncronous reading ####' 215 write(*,FMT='(80("#"))') 216 end if 217 call MPI_FINALIZE(mp_ierr) 215 218 stop 216 219 else if (lmp_sync.and.numwfmem.ne.2.and.lroot) then … … 218 221 write(*,*) '#### mpi_mod::mpif_init> WARNING: ', & 219 222 & 'numwfmem should be set to 2 for syncronous' 220 write(*,*) ' reading. Results will still be valid, but unneccesary '221 write(*,*) 'amount of memory is beingallocated.'223 write(*,*) ' reading. Results will still be valid, but unneccesary memory & 224 &is allocated.' 222 225 write(*,FMT='(80("#"))') 223 226 ! Force "syncronized" version if all processes will call getfields
Note: See TracChangeset
for help on using the changeset viewer.