Commit 084955a3 authored by Kirill Terekhov's avatar Kirill Terekhov

Looks like problem with threephase is fixed

parent f8bcab47
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
// output xml files for debugging of parallel algorithms // output xml files for debugging of parallel algorithms
// search for style.xsl within examples for comfortable // search for style.xsl within examples for comfortable
// view of generated xml files // view of generated xml files
#define USE_PARALLEL_WRITE_TIME //#define USE_PARALLEL_WRITE_TIME
// this will revert Mesh::PrepareReceiveInner to always // this will revert Mesh::PrepareReceiveInner to always
// use MPI point to point functionality disregarding problem type // use MPI point to point functionality disregarding problem type
......
...@@ -2394,9 +2394,9 @@ namespace INMOST ...@@ -2394,9 +2394,9 @@ namespace INMOST
} }
REPORT_VAL("total packed records",total_packed); REPORT_VAL("total packed records",total_packed);
} }
static INMOST_DATA_ENUM_TYPE tail = 1; //static INMOST_DATA_ENUM_TYPE tail = 1;
REPORT_VAL("add tail",tail); //REPORT_VAL("add tail",tail);
array_size_send.push_back(tail++); //array_size_send.push_back(tail++);
INMOST_DATA_ENUM_TYPE size_send, data_send; INMOST_DATA_ENUM_TYPE size_send, data_send;
size_send = static_cast<INMOST_DATA_ENUM_TYPE>(array_size_send.size()); size_send = static_cast<INMOST_DATA_ENUM_TYPE>(array_size_send.size());
data_send = static_cast<INMOST_DATA_ENUM_TYPE>(array_data_send.size()); data_send = static_cast<INMOST_DATA_ENUM_TYPE>(array_data_send.size());
...@@ -2802,7 +2802,7 @@ namespace INMOST ...@@ -2802,7 +2802,7 @@ namespace INMOST
MPI_Pack_size(2,INMOST_MPI_DATA_BULK_TYPE,comm,&temp); buffer_size += temp; MPI_Pack_size(2,INMOST_MPI_DATA_BULK_TYPE,comm,&temp); buffer_size += temp;
MPI_Pack_size(1,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp; MPI_Pack_size(1,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp;
MPI_Pack_size(1,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp; MPI_Pack_size(1,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp;
MPI_Pack_size(5+n*2,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp; MPI_Pack_size(6+n*2,INMOST_MPI_DATA_ENUM_TYPE,comm,&temp); buffer_size += temp;
MPI_Pack_size(n*tags[k].GetSize(),tags[k].GetBulkDataType(),comm,&temp); buffer_size += temp; MPI_Pack_size(n*tags[k].GetSize(),tags[k].GetBulkDataType(),comm,&temp); buffer_size += temp;
} }
storage.recv_buffers[num_recv].second.resize(buffer_size); storage.recv_buffers[num_recv].second.resize(buffer_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment