Changeset 1226


Ignore:
Timestamp:
07/25/17 17:45:03 (7 years ago)
Author:
oabramkina
Message:

Minor correction of calculations the number of processes dedicated to secondary pool in case of oasis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/XIOS_DEV_CMIP6/src/server.cpp

    r1214 r1226  
    210210          MPI_Allgather(&globalRank, 1, MPI_LONG, srvGlobalRanks, 1, MPI_LONG, localComm) ; 
    211211 
    212           for (int i=size*CXios::ratioServer2/100; i<size; i++) 
     212          for (int i=size*(100.-CXios::ratioServer2)/100.; i<size; i++) 
    213213            sndServerGlobalRanks.push_back(srvGlobalRanks[i]); 
    214214 
Note: See TracChangeset for help on using the changeset viewer.