source: trunk/LMDZ.PLUTO.old/libf/dyn3d/abort_gcm.F @ 3436

Last change on this file since 3436 was 3175, checked in by emillour, 11 months ago

Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM

File size: 627 bytes
Line 
1      SUBROUTINE abort_gcm(modname, message, ierr)
2     
3C
4C Stops the simulation cleanly, closing files and printing various
5C comments
6C
7C  Input: modname = name of calling program
8C         message = stuff to print
9C         ierr    = severity of situation ( = 0 normal )
10
11      character*20 modname
12      integer ierr
13      character*80 message
14
15      write(*,*) 'in abort_gcm'
16      write(*,*) 'Stopping in ', modname
17      write(*,*) 'Reason = ',message
18      if (ierr .eq. 0) then
19        write(*,*) 'Everything is cool'
20      else
21        write(*,*) 'Houston, we have a problem ', ierr
22      endif
23      STOP
24      END
Note: See TracBrowser for help on using the repository browser.