Changeset 22390
- Timestamp:
 - 02/05/18 10:39:14 (8 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  issm/trunk-jpl/test/MITgcm/code/eeboot_minimal.F (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/test/MITgcm/code/eeboot_minimal.F
r22381 r22390 69 69 & mpiMyWid 70 70 integer :: mpiMyWid, numprocsworld 71 integer icecommsize,rankzeros(2)72 71 integer my_local_rank,my_local_size 73 72 integer toissmcomm … … 187 186 call MPI_COMM_SIZE(MPI_COMM_WORLD, numprocsworld, mpiRC) 188 187 189 c ocean comm size: 4 (normally should be recovered from list of190 c arguments after mpirun:) */191 icecommsize=2192 193 c Build array of who is rank 0 of their own group:*/194 rankzeros(1)=0195 rankzeros(2)=icecommsize196 197 188 c Split world into sub-communicators for each and every model:*/ 198 189 call MPI_COMM_SPLIT(MPI_COMM_WORLD,1,MPIMYWID, … … 202 193 print*,'Oc My world size:',numprocsworld 203 194 204 cdmcall MPI_INTERCOMM_CREATE(MPI_COMM_MODEL,0,MPI_COMM_WORLD,205 cdm & rankzeros(1),0,toissmcomm,mpiRC)195 call MPI_INTERCOMM_CREATE(MPI_COMM_MODEL,0,MPI_COMM_WORLD, 196 & 0,0,toissmcomm,mpiRC) 206 197 207 198 call MPI_COMM_RANK(MPI_COMM_MODEL, my_local_rank, mpiRC)  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)