Changeset 5310 for LMDZ6/trunk/libf/phylmd/dyn1d
- Timestamp:
- Nov 1, 2024, 1:05:47 PM (3 months ago)
- Location:
- LMDZ6/trunk/libf/phylmd/dyn1d
- Files:
-
- 1 added
- 2 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 ! -
LMDZ6/trunk/libf/phylmd/dyn1d/replay1d.f90
r5271 r5310 94 94 95 95 !======================================================================= 96 SUBROUTINE abort_gcm(modname, message, ierr)97 USE IOIPSL98 ! Stops the simulation cleanly, closing files and printing various99 ! comments100 !=======================================================================101 !102 ! Input: modname = name of calling program103 ! message = stuff to print104 ! ierr = severity of situation ( = 0 normal )105 106 character(len=*) modname107 integer ierr108 character(len=*) message109 110 write(*,*) 'in abort_gcm'111 call histclo112 write(*,*) 'out of histclo'113 write(*,*) 'Stopping in ', modname114 write(*,*) 'Reason = ',message115 call getin_dump116 !117 if (ierr .eq. 0) then118 write(*,*) 'Everything is cool'119 else120 write(*,*) 'Houston, we have a problem ', ierr121 endif122 STOP123 END124 125 !=======================================================================126 96 SUBROUTINE gr_dyn_fi(nfield,im,jm,ngrid,pdyn,pfi) 127 97 IMPLICIT NONE
Note: See TracChangeset
for help on using the changeset viewer.