Changeset 5310 for LMDZ6/trunk/libf/phylmd/dyn1d/1DUTILS.h
- Timestamp:
- Nov 1, 2024, 1:05:47 PM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/dyn1d/1DUTILS.h
r5302 r5310 984 984 END 985 985 986 987 988 SUBROUTINE abort_gcm(modname, message, ierr)989 990 USE IOIPSL991 !992 ! Stops the simulation cleanly, closing files and printing various993 ! comments994 !995 ! Input: modname = name of calling program996 ! message = stuff to print997 ! ierr = severity of situation ( = 0 normal )998 999 character(len=*) modname1000 integer ierr1001 character(len=*) message1002 1003 write(*,*) 'in abort_gcm'1004 call histclo1005 ! call histclo(2)1006 ! call histclo(3)1007 ! call histclo(4)1008 ! call histclo(5)1009 write(*,*) 'out of histclo'1010 write(*,*) 'Stopping in ', modname1011 write(*,*) 'Reason = ',message1012 call getin_dump1013 !1014 if (ierr .eq. 0) then1015 write(*,*) 'Everything is cool'1016 else1017 write(*,*) 'Houston, we have a problem ', ierr1018 endif1019 STOP1020 END1021 986 REAL FUNCTION fq_sat(kelvin, millibar) 1022 987 !
Note: See TracChangeset
for help on using the changeset viewer.