Changeset 22532


Ignore:
Timestamp:
03/12/18 10:49:04 (7 years ago)
Author:
dmenemen
Message:

moving communication to cpl_issm.F called by do_oceanic_phys.F

Location:
issm/trunk-jpl/test/MITgcm/code
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/MITgcm/code/eeboot_minimal.F

    r22392 r22532  
    6767#ifdef ALLOW_CPL_ISSM
    6868      COMMON /CPL_MPI_ID/
    69      &     mpiMyWid
    70       integer :: mpiMyWid, numprocsworld
    71       integer my_local_rank,my_local_size
    72       integer toissmcomm
    73       integer  dummy1(1),dummy2(1)
    74       integer, dimension(mpi_status_size) :: status
     69     &     mpiMyWid, toissmcomm
     70      INTEGER mpiMyWid, toissmcomm
     71      integer my_local_rank,my_local_size, numprocsworld
     72      integer dummy1(1),dummy2(1)
     73      integer status(MPI_STATUS_SIZE)
    7574#endif /* ALLOW_CPL_ISSM */
    7675#if defined(ALLOW_NEST_PARENT) || defined(ALLOW_NEST_CHILD)
     
    210209         
    211210      if (my_local_rank .eq. 0) then
    212           call MPI_Send(dummy2,1,MPI_INT,0,1,toissmcomm,mpiRC)
    213           call MPI_Recv(dummy1,1,MPI_INT,0,1,toissmcomm,status,mpiRC)
     211cdb          call MPI_Send(dummy2,1,MPI_INT,0,1,toissmcomm,mpiRC)
     212cdb          call MPI_Recv(dummy1,1,MPI_INT,0,1,toissmcomm,status,mpiRC)
    214213      end if
    215214     
    216       call MPI_Bcast(dummy1,1,MPI_INT,0,MPI_COMM_MODEL,mpiRC)
    217       print*, 'Ocean : dummy received:',dummy1
    218 
     215cdb      call MPI_Bcast(dummy1,1,MPI_INT,0,MPI_COMM_MODEL,mpiRC)
     216cdb      print*, 'Ocean : dummy received:',dummy1
    219217
    220218#endif /* ALLOW_CPL_ISSM */
Note: See TracChangeset for help on using the changeset viewer.