removed expanded array indices for world comm, which may explode memory when vp is...
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 9 Jan 2009 15:46:25 +0000 (15:46 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 9 Jan 2009 15:46:25 +0000 (15:46 +0000)
src/libs/ck-libs/ampi/ampi.C

index 00b20dd523d2001397b5467b10f5aad4ac37e201..a17fca56a3fcc6f236ead54a63b0df4d1d47dd2a 100644 (file)
@@ -620,9 +620,7 @@ static ampi *ampiInit(char **argv)
        ciAlltoall=CkGetComlibInstance();
 #endif
 
-        CkVec<int> _indices;
-        for(int i=0;i<_nchunks;i++) _indices.push_back(i);
-        ampiCommStruct worldComm(new_world,empty,_nchunks,_indices);
+        ampiCommStruct worldComm(new_world,empty,_nchunks);
         CProxy_ampi arr;
 #if AMPI_COMLIB
         arr=CProxy_ampi::ckNew(parent,worldComm,ciStreaming,ciBcast,ciAllgather,ciAlltoall,opts);