Changeset 62e65c7 in flexpart.git for src/mpi_mod.f90


Ignore:
Timestamp:
Apr 28, 2016, 12:58:10 PM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
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
Message:

'incloud_ratio' set to 6.2. 'maxnests' reverted to 0. Updated info messages (readspecies)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mpi_mod.f90

    r341f4b7 r62e65c7  
    103103  logical :: lmp_use_reader=.false. ! true if separate readwind process is used
    104104
    105 ! true if only using synchronous MPI send/recv:
     105! .true. if only using synchronous MPI send/recv (default)
    106106! If setting this to .false., numwfmem must be set to 3
    107107!===============================================================================
     
    208208!*********************************************
    209209
    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)
    215218      stop
    216219    else if (lmp_sync.and.numwfmem.ne.2.and.lroot) then
     
    218221      write(*,*) '#### mpi_mod::mpif_init> WARNING: ', &
    219222           & 'numwfmem should be set to 2 for syncronous'
    220       write(*,*) ' reading. Results will still be valid, but unneccesary '
    221       write(*,*) 'amount of memory is being allocated.'
     223      write(*,*) ' reading. Results will still be valid, but unneccesary memory &
     224           &is allocated.'
    222225      write(*,FMT='(80("#"))')
    223226! Force "syncronized" version if all processes will call getfields
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG