Ignore:
Timestamp:
01/02/13 18:50:00 (12 years ago)
Author:
smasson
Message:

bugfix for agrf, obc and xios

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r46 r65  
    167167      !                            !------------------------! 
    168168      IF(lwp) WRITE(numout,cform_aaa)   ! Flag AAAAAAA 
     169      IF(lwp) Write(numout,*) 'Grid Number',Agrif_Fixed() 
     170      IF(lwp) WRITE(numout,cform_aaa)   ! Flag AAAAAAA 
    169171      ! 
    170172      IF( nstop /= 0 .AND. lwp ) THEN   ! error print 
     
    182184      ! 
    183185      CALL nemo_closefile 
    184 #if defined key_oasis3 || defined key_oasis4 
    185       CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
    186 #else 
    187186# if defined key_iomput 
    188187      IF( Agrif_Root() ) THEN 
    189          CALL xios_finalize             ! end mpp communications 
     188         CALL xios_finalize                ! end mpp communications 
    190189      ENDIF 
    191190# else 
    192191      IF( lk_mpp )   CALL mppstop       ! end mpp communications 
    193192# endif 
     193#if defined key_oasis3 || defined key_oasis4 
     194      IF( Agrif_Root() ) THEN 
     195         CALL cpl_prism_finalize           ! end coupling and mpp communications with OASIS 
     196      ENDIF 
    194197#endif 
    195198      ! 
     
    228231         CALL xios_initialize( "oceanx",local_comm=ilocal_comm ) 
    229232# else 
    230          CALL  xios_initialize( "nemo",return_comm=ilocal_comm ) 
     233         CALL xios_initialize( "nemo",return_comm=ilocal_comm ) 
    231234# endif 
    232235      ENDIF 
     
    326329      IF( lk_bdy        )   CALL     tide_init      ! Open boundaries initialisation of tidal harmonic forcing 
    327330 
    328                             CALL flush(numout) 
    329331                            CALL dyn_nept_init  ! simplified form of Neptune effect 
    330                             CALL flush(numout) 
    331332 
    332333                            CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
     
    582583      ENDIF 
    583584      ! 
     585      IF( jpnj < jpni ) THEN  
     586         ji = jpni 
     587         jpni = jpnj 
     588         jpnj = ji 
     589      ENDIF 
     590      ! 
    584591      jpnij = jpni*jpnj 
    585592      ! 
Note: See TracChangeset for help on using the changeset viewer.