Commit c56680ff authored by Andreas Marek's avatar Andreas Marek
Browse files

Merge branch 'soheil_generalized_debug' into 'master_pre_stage'

Change buffer size for the pure blocked configuration

See merge request !68
parents 15d8c56a ae0e6dd9
......@@ -165,7 +165,7 @@ void cannons_reduction_impl(math_type* A, math_type* U, C_INT_TYPE np_rows, C_IN
if(na%nblk == 0)
if(my_prow <= last_proc_row)
Buf_rows = na_rows;
Buf_rows = na_rows + 1; //Soheil: added + 1 to be able to accomodate for MPI message sizes in the case of pure blocked configuration e.g. na=100; with 9xMPI ranks and nblk=30 or with 4xMPI ranks and nblk=45
else
Buf_rows = na_rows + nblk;
else
......
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