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 5388 for branches/2014/dev_r5134_UKMO4_CF_compliance/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90 – NEMO

Ignore:
Timestamp:
2015-06-09T18:52:06+02:00 (9 years ago)
Author:
hadcv
Message:

Add fix for XIOS initialization in server mode for non-MPP NEMO (and include a related XIOS finalize fix for C1D).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r5134_UKMO4_CF_compliance/NEMOGCM/NEMO/OPA_SRC/LBC/lib_mpp.F90

    r4990 r5388  
    31833183   LOGICAL, PUBLIC, PARAMETER ::   lk_mpp = .FALSE.      !: mpp flag 
    31843184   LOGICAL, PUBLIC            ::   ln_nnogather          !: namelist control of northfold comms (needed here in case "key_mpp_mpi" is not used) 
    3185    INTEGER :: ncomm_ice 
     3185   INTEGER                    ::   ncomm_ice 
     3186   INTEGER, PUBLIC            ::   mpi_comm_opa          ! opa local communicator 
    31863187   !!---------------------------------------------------------------------- 
    31873188CONTAINS 
     
    31963197      CHARACTER(len=*),DIMENSION(:) ::   ldtxt 
    31973198      INTEGER ::   kumnam_ref, knumnam_cfg , kumond , kstop 
    3198       IF( PRESENT( localComm ) .OR. .NOT.PRESENT( localComm ) )   function_value = 0 
     3199      IF( PRESENT( localComm ) ) mpi_comm_opa = localComm 
     3200      function_value = 0 
    31993201      IF( .FALSE. )   ldtxt(:) = 'never done' 
    32003202      CALL ctl_opn( kumond, 'output.namelist.dyn', 'UNKNOWN', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE. , 1 ) 
Note: See TracChangeset for help on using the changeset viewer.