Opened 5 years ago

Last modified 22 months ago

#363 assigned defect

Implementation of XIOS and interaction with MPI

Reported by: jpolcher Owned by: jpolcher
Priority: major Milestone: Not scheduled yet
Component: Anthropogenic processes Version:
Keywords: Cc:

Description

The current implementation of XIOS and its interactions with MPI assumes that the model is all alone. Thus it fails when used in conjuncture with OASIS for instance.

Two things need to be done :

  • Test whether MPI is already initialized and differentiate the initialisation of MPI in the presence of XIOS. We know that when MPI is already initialized then OASIS must have done this before.
  • xios_orchidee_comm_init is given the possibility to return a communicator in case it needs to.

Another minor detail is that CALL xios_orchidee_context_finalize needs to be called at the end of the off-line drivers.

Change History (5)

comment:1 Changed 4 years ago by jgipsl

Concerning the comment:
Another minor detail is that CALL xios_orchidee_context_finalize needs to be called at the end of the off-line drivers.

This is not needed. In ORCHIDEE there are 2 subroutines:

  • xios_orchidee_context_finalize finalizes the context. This subroutine is called in coupled mode when LMDZ finalizes XIOS.
  • xios_orchidee_finalize finalizes the context and XIOS. This subroutine is called in subroutine Finalize_mpi which is called by the drivers.

comment:2 Changed 4 years ago by jgipsl

  • Owner changed from somebody to jgipsl
  • Status changed from new to accepted

comment:3 Changed 4 years ago by jgipsl

  • Milestone set to ORCHIDEE 3.0

comment:4 Changed 3 years ago by jgipsl

  • Milestone changed from ORCHIDEE 3.0 to ORCHIDEE 4.0
  • Owner changed from jgipsl to jpolcher
  • Status changed from accepted to assigned

comment:5 Changed 22 months ago by luyssaert

  • Milestone changed from ORCHIDEE 4.0 to Not scheduled yet
Note: See TracTickets for help on using tickets.