Last change
on this file since 38 was
38,
checked in by emillour, 14 years ago
|
Ajout du modè Martien (mon LMDZ.MARS.BETA, du 28/01/2011) dans le rértoire mars, pour pouvoir suivre plus facilement les modifs.
EM
|
File size:
627 bytes
|
Line | |
---|
1 | SUBROUTINE abort_gcm(modname, message, ierr) |
---|
2 | |
---|
3 | C |
---|
4 | C Stops the simulation cleanly, closing files and printing various |
---|
5 | C comments |
---|
6 | C |
---|
7 | C Input: modname = name of calling program |
---|
8 | C message = stuff to print |
---|
9 | C 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.