Ignore:
Timestamp:
Nov 1, 2024, 1:05:47 PM (6 days ago)
Author:
abarral
Message:

unify abort_gcm
rename wxios -> wxios_mod

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/dyn1d/1DUTILS.h

    r5302 r5310  
    984984      END
    985985
    986 
    987 
    988       SUBROUTINE abort_gcm(modname, message, ierr)
    989 
    990       USE IOIPSL
    991 !
    992 ! Stops the simulation cleanly, closing files and printing various
    993 ! comments
    994 !
    995 !  Input: modname = name of calling program
    996 !         message = stuff to print
    997 !         ierr    = severity of situation ( = 0 normal )
    998 
    999       character(len=*) modname
    1000       integer ierr
    1001       character(len=*) message
    1002 
    1003       write(*,*) 'in abort_gcm'
    1004       call histclo
    1005 !     call histclo(2)
    1006 !     call histclo(3)
    1007 !     call histclo(4)
    1008 !     call histclo(5)
    1009       write(*,*) 'out of histclo'
    1010       write(*,*) 'Stopping in ', modname
    1011       write(*,*) 'Reason = ',message
    1012       call getin_dump
    1013 !
    1014       if (ierr .eq. 0) then
    1015         write(*,*) 'Everything is cool'
    1016       else
    1017         write(*,*) 'Houston, we have a problem ', ierr
    1018       endif
    1019       STOP
    1020       END
    1021986      REAL FUNCTION fq_sat(kelvin, millibar)
    1022987!
Note: See TracChangeset for help on using the changeset viewer.