Ignore:
Timestamp:
08/05/14 15:56:49 (10 years ago)
Author:
ymipsl
Message:

Synchronize trunk and Saturn branch.
Merge modification from Saturn branch to trunk

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/mpipara.F90

    r216 r266  
    99  LOGICAL,SAVE :: using_mpi 
    1010  LOGICAL,SAVE :: is_mpi_root 
     11  LOGICAL,SAVE :: is_mpi_master 
     12  LOGICAL,SAVE :: mpi_master 
     13   
    1114   
    1215  INTERFACE allocate_mpi_buffer 
     
    108111    ENDIF 
    109112     
     113    mpi_master=0 
    110114    IF (mpi_rank==0) THEN  
    111115      is_mpi_root=.TRUE. 
     116      is_mpi_master=.TRUE. 
    112117    ELSE 
    113118      is_mpi_root=.FALSE. 
     119      is_mpi_master=.FALSE. 
    114120    ENDIF 
    115121     
     
    118124  SUBROUTINE finalize_mpipara 
    119125  USE mpi_mod 
    120   IMPLICIT NONE 
    121      
     126#ifdef CPP_USING_XIOS 
     127  USE xios 
     128#endif 
     129  IMPLICIT NONE 
     130     
     131#ifdef CPP_USING_XIOS 
     132      CALL xios_finalize 
     133#endif 
    122134    IF (using_mpi) CALL MPI_FINALIZE(ierr) 
    123135     
Note: See TracChangeset for help on using the changeset viewer.