Changeset 22392
- Timestamp:
- 02/05/18 10:51:07 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/MITgcm/code/eeboot_minimal.F
r22390 r22392 71 71 integer my_local_rank,my_local_size 72 72 integer toissmcomm 73 integer dummy1(1),dummy2(1) 74 integer, dimension(mpi_status_size) :: status 73 75 #endif /* ALLOW_CPL_ISSM */ 74 76 #if defined(ALLOW_NEST_PARENT) || defined(ALLOW_NEST_CHILD) … … 201 203 print*,'Oc My global rank',mpiMyWid,'MyLocal rank: ',my_local_rank 202 204 print*,'Oc My world size:',numprocsworld,'My local size: ', 203 & my_local_size 205 & my_local_size 206 207 208 c receive and send an integer: 209 dummy1(1)=4; dummy2(1)=2; 210 211 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) 214 end if 215 216 call MPI_Bcast(dummy1,1,MPI_INT,0,MPI_COMM_MODEL,mpiRC) 217 print*, 'Ocean : dummy received:',dummy1 218 204 219 205 220 #endif /* ALLOW_CPL_ISSM */
Note:
See TracChangeset
for help on using the changeset viewer.