/[lmdze]/trunk/libf/dyn3d/abort_gcm.f90
ViewVC logotype

Annotation of /trunk/libf/dyn3d/abort_gcm.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61 - (hide annotations)
Fri Apr 20 14:58:43 2012 UTC (12 years, 1 month ago) by guez
File size: 703 byte(s)
No more included file in LMDZE, not even "netcdf.inc".

Created a variable containing the list of common source files in
GNUmakefile. So we now also see clearly files that are specific to
each program.

Split module "histcom". Assembled resulting files in directory
"Histcom".

Removed aliasing in calls to "laplacien".

1 guez 3 module abort_gcm_m
2    
3     implicit none
4    
5     contains
6    
7     SUBROUTINE abort_gcm(modname, message, ierr)
8    
9     ! From abort_gcm.F, version 1.1.1.1 2004/05/19 12:53:05
10 guez 33 ! Stops the simulation, closing files and printing comments.
11 guez 3
12 guez 61 USE histclo_m, only: histclo
13 guez 3
14 guez 33 character(len=*), intent(in):: modname ! name of calling program
15     integer, intent(in):: ierr ! severity of situation (= 0 normal)
16     character(len=*), intent(in):: message ! to print
17 guez 3
18     !-------------------
19    
20     print *, 'abort_gcm'
21     call histclo
22 guez 12 print *, 'Stopping in ', modname
23 guez 18 print *, 'Reason: ', trim(message)
24 guez 12 print *, 'Houston, we have a problem ', ierr
25 guez 10 STOP 1
26 guez 3
27     END SUBROUTINE abort_gcm
28    
29     end module abort_gcm_m

  ViewVC Help
Powered by ViewVC 1.1.21