Opened 10 years ago

Closed 10 years ago

#34 closed enhancement (fixed)

check if a context is initialized or not

Reported by: smasson Owned by: ymipsl
Priority: major Component: XIOS
Version: 1.0 Keywords:


When the model crashes, I need (1) to close properly all contexts and (2) close XIOS. To do this, I need to know if a context was initialized or not (or I need to be able to close a context that was not initialized without creating an error).

Change History (1)

comment:1 Changed 10 years ago by ymipsl

  • Resolution set to fixed
  • Status changed from new to closed

A new function has been created for the fortran API in rev r461 :

LOGICAL xios_context_is_initialized("context_id")

Return true if the context <"context_id"> has been initialized from the fortran API, false otherwise.

Note: See TracTickets for help on using tickets.