SURFEX v8.1
General documentation of Surfex
mpl_comm_create_mod.F90
Go to the documentation of this file.
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
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
55 kerror=0
56 
57 RETURN
58 END SUBROUTINE mpl_comm_create
59 
60 END MODULE mpl_comm_create_mod
integer, parameter jpim
Definition: parkind1.F90:13
integer(kind=jpim), dimension(:), allocatable mpl_comm_oml
integer, parameter jprb
Definition: parkind1.F90:32
subroutine, public mpl_comm_create(KERROR)
integer(kind=jpim) mpl_comm