Changeset 6b22af9 in flexpart.git for src/timemanager_mpi.f90


Ignore:
Timestamp:
Nov 20, 2015, 5:41:29 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:
a1f4dd6
Parents:
df967a99
Message:

Local branch for espen, working with OpenMP version of readwind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/timemanager_mpi.f90

    rf55fdce r6b22af9  
    218218      call mpif_gf_send_vars(memstat)
    219219      call mpif_gf_send_vars_nest(memstat)
    220 ! Version 2  (lmp_sync=.false.) is also used whenever 2 new fields are read (in which
    221 ! case async send/recv is impossible.
     220! Version 2  (lmp_sync=.false., see below) is also used whenever 2 new fields are
     221! read (as at first time step), in which case async send/recv is impossible.
    222222    else if (.not.lmp_sync.and.lmp_use_reader.and.memstat.ge.32) then
    223223      call mpif_gf_send_vars(memstat)
     
    233233! READER PROCESS:
    234234      if (memstat.gt.0..and.memstat.lt.32.and.lmp_use_reader.and.lmpreader) then
     235        if (mp_dev_mode) write(*,*) 'Reader process: calling mpif_gf_send_vars_async'
    235236        call mpif_gf_send_vars_async(memstat)
    236237      end if
     
    249250      ! at next time step. Issue receive request anyway, cancel at mpif_gf_request
    250251      if (memstat.gt.0.and.lmp_use_reader.and..not.lmpreader) then
     252        if (mp_dev_mode) write(*,*) 'Receiving process: calling mpif_gf_send_vars_async. PID: ', mp_pid
    251253        call mpif_gf_recv_vars_async(memstat)
    252254      end if
     
    256258    if (mp_measure_time.and..not.(lmpreader.and.lmp_use_reader)) call mpif_mtime('getfields',1)
    257259
     260! For validation and tests: call the function below to set all fields to simple
     261! homogeneous values
     262    if (mp_dev_mode) call set_fields_synthetic
    258263
    259264!*******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG