Ignore:
Timestamp:
09/23/13 18:06:31 (11 years ago)
Author:
ymipsl
Message:
  • XIOS integration -

Compiling with "-with_xios" option. Adapt path to find XIOS library (arch.path)
Retro-compatible with the old output. If xios is not present, dynamico will use the standard writefield function.
Need to have the iodef.xml configuration file in the exec directory

YM

File:
1 edited

Legend:

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

    r151 r171  
    1717  SUBROUTINE init_mpipara 
    1818  USE mpi_mod 
     19#ifdef CPP_USING_XIOS 
     20  USE xios 
     21#endif 
    1922  IMPLICIT NONE 
    2023 
     
    2629    IF (using_mpi) THEN 
    2730      CALL MPI_INIT(ierr) 
    28       comm_icosa=MPI_COMM_WORLD 
     31 
     32#ifdef CPP_USING_XIOS 
     33      CALL xios_initialize("icosagcm",return_comm=comm_icosa) 
     34#else 
     35     comm_icosa=MPI_COMM_WORLD 
     36#endif 
    2937      CALL MPI_COMM_SIZE(comm_icosa,mpi_size,ierr) 
    3038      CALL MPI_COMM_RANK(comm_icosa,mpi_rank,ierr) 
Note: See TracChangeset for help on using the changeset viewer.