The TELEMAC-MASCARET system
trunk
sources
utils
special
check_allocate.f
Go to the documentation of this file.
1
! *************************
2
SUBROUTINE
check_allocate
3
! *************************
4
!
5
&(ierr, chfile)
6
!
7
!***********************************************************************
8
! BIEF V6P3 21/08/2010
9
!***********************************************************************
10
!
11
!brief GIVES THE EXTENSION FOR NAMING FILES IN PARALLEL
12
!+
13
!
14
!history J-M HERVOUET (LNHE)
15
!+ 11/07/2008
16
!+ V5P9
17
!+
18
!
19
!history J-M HERVOUET (LNHE)
20
!+ 22/11/2012
21
!+ V6P3
22
!+ USE BIEF removed, IIPID and IPID changed into I.
23
!
24
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25
!| N |-->| TOTAL NUMBER OF PROCESSORS
26
!| I |-->| RANK OF THE PROCESSOR
27
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28
!
29
USE
declarations_special
30
IMPLICIT NONE
31
32
INTEGER
,
INTENT(IN)
:: ierr
33
CHARACTER(LEN=*)
,
INTENT(IN)
:: chfile
34
!
35
!-----------------------------------------------------------------------
36
!
37
IF
(ierr.NE.0)
THEN
38
WRITE
(
lu
,*)
'ERREUR LORS DE L ALLOCATION DE '
,chfile
39
CALL
plante(1)
40
ENDIF
41
!
42
!-----------------------------------------------------------------------
43
!
44
END SUBROUTINE
check_allocate
declarations_special
Definition:
declarations_special.F:3
declarations_special::lu
integer lu
Definition:
declarations_special.F:45