New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5412 for trunk/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90 – NEMO

Ignore:
Timestamp:
2015-06-12T20:29:43+02:00 (9 years ago)
Author:
hadcv
Message:
  • Set mpi_comm_opa in non-MPP cases (addresses #1533)
  • Add an xios_context_finalize in step_C1D
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r5407 r5412  
    31853185   LOGICAL, PUBLIC            ::   ln_nnogather          !: namelist control of northfold comms (needed here in case "key_mpp_mpi" is not used) 
    31863186   INTEGER :: ncomm_ice 
     3187   INTEGER, PUBLIC            ::   mpi_comm_opa          ! opa local communicator 
    31873188   !!---------------------------------------------------------------------- 
    31883189CONTAINS 
     
    31983199      CHARACTER(len=*) ::   ldname 
    31993200      INTEGER ::   kumnam_ref, knumnam_cfg , kumond , kstop 
    3200       IF( PRESENT( localComm ) .OR. .NOT.PRESENT( localComm ) )   function_value = 0 
     3201      IF( PRESENT( localComm ) ) mpi_comm_opa = localComm 
     3202      function_value = 0 
    32013203      IF( .FALSE. )   ldtxt(:) = 'never done' 
    32023204      CALL ctl_opn( kumond, TRIM(ldname), 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 ) 
Note: See TracChangeset for help on using the changeset viewer.