SURFEX v8.1
General documentation of Surfex
Surfex_Git2
src
LIB
XRD44
mpl
mpl_comm_create_mod.F90
Go to the documentation of this file.
1
MODULE
mpl_comm_create_mod
2
3
!**** MPL_COMM_CREATE Create a new communicator
4
5
! Purpose.
6
! --------
7
! Create a new communicator and set as default
8
9
!** Interface.
10
! ----------
11
! CALL MPL_COMM_CREATE
12
13
! Input required arguments :
14
! -------------------------
15
16
! Input optional arguments :
17
! -------------------------
18
19
! Output required arguments :
20
! -------------------------
21
22
! Output optional arguments :
23
! -------------------------
24
! KERROR - return error code. If not supplied,
25
! MPL_COMM_CREATE aborts when an error is detected.
26
! Author.
27
! -------
28
! D.Dent, M.Hamrud ECMWF
29
30
! Modifications.
31
! --------------
32
! Original: 2000-09-01
33
34
! ------------------------------------------------------------------
35
36
USE
parkind1
,ONLY
:
jpim
,
jprb
37
38
USE
mpl_mpif
39
USE
mpl_data_module
40
USE
mpl_message_mod
41
42
IMPLICIT NONE
43
44
PRIVATE
45
PUBLIC
mpl_comm_create
46
47
CONTAINS
48
49
SUBROUTINE
mpl_comm_create
(KERROR)
50
INTEGER(KIND=JPIM)
,
OPTIONAL
,
INTENT(OUT)
:: KERROR
51
INTEGER(KIND=JPIM)
:: ITID
52
itid = oml_my_thread()
53
! this line to be replaced
54
mpl_comm_oml
(itid)=
mpl_comm
55
kerror=0
56
57
RETURN
58
END SUBROUTINE
mpl_comm_create
59
60
END MODULE
mpl_comm_create_mod
parkind1::jpim
integer, parameter jpim
Definition:
parkind1.F90:13
mpl_mpif
Definition:
mpl_mpif.F90:1
mpl_message_mod
Definition:
mpl_message_mod.F90:1
mpl_data_module::mpl_comm_oml
integer(kind=jpim), dimension(:), allocatable mpl_comm_oml
Definition:
mpl_data_module.F90:43
parkind1::jprb
integer, parameter jprb
Definition:
parkind1.F90:32
mpl_comm_create_mod::mpl_comm_create
subroutine, public mpl_comm_create(KERROR)
Definition:
mpl_comm_create_mod.F90:50
mpl_data_module::mpl_comm
integer(kind=jpim) mpl_comm
Definition:
mpl_data_module.F90:42
mpl_comm_create_mod
Definition:
mpl_comm_create_mod.F90:1
mpl_data_module
Definition:
mpl_data_module.F90:1
parkind1
Definition:
parkind1.F90:1
Generated on Tue Jan 16 2018 16:23:21 for SURFEX v8.1 by
1.8.13