Ignore:
Timestamp:
Mar 5, 2020 3:59:50 PM (4 years ago)
Author:
raasch
Message:

bugfix: cpp-directives for serial mode added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/data_output_mask.f90

    r4377 r4444  
    2020! Current revisions:
    2121! -----------------
    22 !
    23 !
     22! 
     23! 
    2424! Former revisions:
    2525! -----------------
    2626! $Id$
     27! bugfix: cpp-directives for serial mode added
     28!
     29! 4377 2020-01-15 11:10:51Z gronemeier
    2730! bugfix: set fill value for output according to wall_flags_total_0 for
    2831!         non-terrain following output
     
    9396    USE control_parameters,                                                    &
    9497        ONLY:  air_chemistry, domask, domask_no, domask_time_count, mask_i,    &
    95                mask_j, mask_k, mask_size, mask_size_l, mask_start_l,           &
    96                mask_surface,                                                   &
     98               mask_j, mask_k, mask_size_l, mask_surface,                                                   &
    9799               max_masks, message_string, nz_do3d, salsa,                      &
    98100               time_since_reference_point
     101
     102#if defined( __parallel )
     103    USE control_parameters,                                                    &
     104        ONLY:  mask_size, mask_start_l
     105#endif
    99106
    100107    USE diagnostic_output_quantities_mod,                                      &
     
    134141
    135142    INTEGER(iwp) ::  av                      !< flag for (non-)average output
    136     INTEGER(iwp) ::  ngp                     !< number of grid points of an output slice
    137143    INTEGER(iwp) ::  flag_nr                 !< number of masking flag
    138144    INTEGER(iwp) ::  i                       !< loop index
     
    146152    INTEGER(iwp) ::  n                       !< loop index
    147153    INTEGER(iwp) ::  netcdf_data_format_save !< value of netcdf_data_format
     154    INTEGER(iwp) ::  ktt                     !< k index of highest terrain surface
     155#if defined( __parallel )
     156    INTEGER(iwp) ::  ngp                     !< number of grid points of an output slice
    148157    INTEGER(iwp) ::  sender                  !< PE id of sending PE
    149     INTEGER(iwp) ::  ktt                     !< k index of highest terrain surface
    150158    INTEGER(iwp) ::  ind(6)                  !< index limits (lower/upper bounds) of array 'local_2d'
     159#endif
    151160
    152161    LOGICAL ::  found      !< true if output variable was found
Note: See TracChangeset for help on using the changeset viewer.