14 USE ioipsl
, ONLY: getin
24 USE wxios
, only: wxios_init
33 INTEGER :: thread_required
34 INTEGER :: thread_provided
35 CHARACTER(len = 6) :: type_ocean
39 CALL getin(
'type_ocean', type_ocean)
43 IF (type_ocean==
'couple')
THEN
47 CALL wxios_init(
"LMDZ", outcom=
comm_lmdz, type_ocean=type_ocean)
49 CALL prism_init_comp_proto (comp_id,
'LMDZ', ierr)
50 CALL prism_get_localcomm_proto(
comm_lmdz,ierr)
65 USE wxios
, only: wxios_init
72 INTEGER :: thread_required
73 INTEGER :: thread_provided
77 thread_required=mpi_thread_serialized
79 CALL mpi_init_thread(thread_required,thread_provided,ierr)
80 IF (thread_provided < thread_required)
THEN
81 print *,
'Warning : The multithreaded level of MPI librairy do not provide the requiered level', &
82 ' in mod_const_mpi::Init_const_mpi'
96 CALL wxios_init(
"LMDZ")
subroutine init_const_mpi