Ignore:
Timestamp:
Oct 13, 2008 2:59:11 PM (16 years ago)
Author:
raasch
Message:

ocean-atmosphere coupling realized with MPI-1, adjustments in mrun, mbuild, subjob for lcxt4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/init_dvrp.f90

    r198 r206  
    77! TEST: print* statements
    88! ToDo: checking of mode_dvrp for legal values is not correct
    9 !
     9! Implementation of a MPI-1 coupling: __mpi2 adjustments for MPI_COMM_WORLD
    1010! Former revisions:
    1111! -----------------
     
    4949    USE pegrid
    5050    USE control_parameters
     51
     52!
     53!-- New coupling
     54    USE coupling
    5155
    5256    IMPLICIT NONE
     
    600604    WRITE ( 9, * ) '*** myid=', myid, ' vor DVRP_SPLIT'
    601605    CALL local_flush( 9 )
     606
     607!
     608!-- Adjustment for new MPI-1 coupling. This might be unnecessary.
     609#if defined( __mpi2 )
    602610       CALL DVRP_SPLIT( MPI_COMM_WORLD, comm_palm )
     611#else
     612    IF ( coupling_mode /= 'uncoupled' ) THEN
     613       CALL DVRP_SPLIT( comm_inter, comm_palm )
     614    ELSE
     615       CALL DVRP_SPLIT( MPI_COMM_WORLD, comm_palm )
     616    ENDIF
     617#endif
     618
    603619    WRITE ( 9, * ) '*** myid=', myid, ' nach DVRP_SPLIT'
    604620    CALL local_flush( 9 )
Note: See TracChangeset for help on using the changeset viewer.