Ignore:
Timestamp:
May 22, 2013, 9:10:28 AM (12 years ago)
Author:
emillour
Message:

Common dynamics and generic/universal GCM:

  • LMDZ.COMMON: minor bug fix on the computation of physics mesh area in gcm.F
  • LMDZ.UNIVERSAL: missing clean initialization of tab_cntrl(:) array in phyredem.F90
  • LMDZ.GENERIC: minor bug fix in hydrol.F90, only output runoff if it is used. Update output routines so that all outputs files (stats, diagfi.nc, diagsoil.nc, diagspecIR.nc and diagspecVI.nc) can be generated when running LMDZ.UNIVERSAL in MPI mode.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/inistats.F

    r135 r965  
    11      subroutine inistats(ierr)
    22
     3#ifdef CPP_PARA
     4      use mod_phys_lmdz_para, only : is_master
     5#endif
    36      implicit none
    47
     
    1114#include "netcdf.inc"
    1215
     16#ifndef CPP_PARA
     17      logical,parameter :: is_master=.true.
     18#endif
    1319      integer,intent(out) :: ierr
    1420      integer :: nid
     
    4753         pseudoalt(l)=-10.*log(presnivs(l)/preff)   
    4854      enddo
     55
     56      if (is_master) then
     57      ! only the master needs do this
    4958
    5059      ierr = NF_CREATE("stats.nc",NF_CLOBBER,nid)
     
    115124      ierr=NF_CLOSE(nid)
    116125
     126      endif ! of if (is_master)
    117127      end
Note: See TracChangeset for help on using the changeset viewer.