Ignore:
Timestamp:
Aug 27, 2014, 5:54:44 PM (10 years ago)
Author:
lguez
Message:

Abort if surface pressure becomes negative. The call to abort_gcm
already was in the sequential version but not in dyn3dpar nor in
dyn3dmem. In dyn3dmem, there is a variable checksum_all, which is
always true. The call to MPI_ALLREDUCE which should update
checksum_all is commented out. I do not know why (performance?).

Non-ASCII characters in comments are not always rendered properly and
they risk being lost. See revision [1740].

Bug fix in procedure convect2: the dimension len must be declared
before the array idcum which has this dimension. Bug fix in procedure
icefrac: the dimensions nl and len must be declared before the arrays
which have these dimensions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dmem/integrd_loc.F

    r2094 r2110  
    147147!     &                   MPI_LOGICAL,MPI_LOR,COMM_LMDZ,ierr)
    148148      IF( .NOT. checksum ) THEN
    149           write(lunout,*) "integrd: negative surface pressure ",
    150      &                                                ps(stop_it)
     149         write(lunout,*) "integrd: ps = ", ps(stop_it)
    151150         write(lunout,*) " at node ij =", stop_it
    152151         ! since ij=j+(i-1)*jjp1 , we have
     
    155154!         write(lunout,*) " lon = ",rlonv(i)*180./pi, " deg",
    156155!     &                   " lat = ",rlatu(j)*180./pi, " deg"
     156         call abort_gcm("integrd_loc", "negative surface pressure", 1)
    157157      ENDIF
    158158
Note: See TracChangeset for help on using the changeset viewer.