int ireq ;
for ( ireq = 0 ; ireq < maxreq ; ireq++ ) {
-// int * sendbuf = new int[datamsglength*size] ;
+ int * sendbuf = new int[datamsglength*size] ;
cout << "test" << myrank << " ireq " << ireq << " RecvRequestIdsSize "
<< mpi_access->RecvRequestIdsSize() << endl ;
- int * sendbuf = (int *) malloc( sizeof(int)*datamsglength*size) ;
+// int * sendbuf = (int *) malloc( sizeof(int)*datamsglength*size) ;
int j ;
for ( j = 0 ; j < datamsglength*size ; j++ ) {
sendbuf[j] = myrank*1000000 + ireq*1000 + j ;
int ireq ;
for ( ireq = 0 ; ireq < maxreq ; ireq++ ) {
-// int * sendbuf = new int[datamsglength*size] ;
- int * sendbuf = (int *) malloc( sizeof(int)*datamsglength*size) ;
+ int * sendbuf = new int[datamsglength*size] ;
+// int * sendbuf = (int *) malloc( sizeof(int)*datamsglength*size) ;
int j ;
for ( j = 0 ; j < datamsglength*size ; j++ ) {
sendbuf[j] = myrank*1000000 + ireq*1000 + j ;