Changeset 3752 for LMDZ6/branches


Ignore:
Timestamp:
Jul 8, 2020, 7:49:07 PM (4 years ago)
Author:
adurocher
Message:

Check if field is active before gather (static check)

Check is still performed at each timestep, but the static check is perfromed (at_current_timestep_arg=.false.). This should have less overhead because the static check is faster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/iophy.F90

    r3751 r3752  
    10391039      !$omp barrier
    10401040      !$omp master
    1041       is_active = xios_field_is_active(var%name, at_current_timestep_arg=.true.)
     1041      is_active = xios_field_is_active(var%name, at_current_timestep_arg=.false.)
    10421042      !$omp end master
    10431043      !$omp barrier
     
    12351235      !$omp barrier
    12361236      !$omp master
    1237       is_active = xios_field_is_active(var%name, at_current_timestep_arg=.true.)
     1237      is_active = xios_field_is_active(var%name, at_current_timestep_arg=.false.)
    12381238      !$omp end master
    12391239      !$omp barrier
Note: See TracChangeset for help on using the changeset viewer.