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

Contents of /trunk/dyn3d/abort_gcm.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations)
Thu Jun 13 14:40:06 2019 UTC (5 years ago) by guez
File size: 623 byte(s)
Change all `.f` suffixes to `.f90`. (The opposite was done in revision
82.)  Because of change of philosopy in GNUmakefile: we already had a
rewritten rule for `.f`, so it does not make the makefile longer to
replace it by a rule for `.f90`. And it spares us options of
makedepf90 and of the compiler. Also we prepare the way for a simpler
`CMakeLists.txt`.

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

  ViewVC Help
Powered by ViewVC 1.1.21