2018-10-31 19:58:51 +00:00
|
|
|
Create the CombBLAS::SpParMat with the MPI_Comm from the input 'gridinfo_t'.
|
|
|
|
This prevents a warning/error from CombBLAS about using MPI_COMM_WORLD.
|
|
|
|
|
2020-12-05 07:00:42 +00:00
|
|
|
--- a/SRC/dHWPM_CombBLAS.hpp
|
|
|
|
+++ b/SRC/dHWPM_CombBLAS.hpp
|
2018-10-31 19:58:51 +00:00
|
|
|
@@ -52,7 +52,7 @@
|
|
|
|
{
|
|
|
|
printf("AWPM only supports square process grid. Retuning without a permutation.\n");
|
|
|
|
}
|
|
|
|
- combblas::SpParMat < int_t, double, combblas::SpDCCols<int_t,double> > Adcsc;
|
|
|
|
+ combblas::SpParMat < int_t, double, combblas::SpDCCols<int_t,double> > Adcsc(grid->comm);
|
|
|
|
std::vector< std::vector < std::tuple<int_t,int_t,double> > > data(procs);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------
|
2020-12-05 07:00:42 +00:00
|
|
|
--- a/SRC/zHWPM_CombBLAS.hpp
|
|
|
|
+++ b/SRC/zHWPM_CombBLAS.hpp
|
|
|
|
@@ -52,7 +52,7 @@
|
2018-10-31 19:58:51 +00:00
|
|
|
{
|
2020-12-05 07:00:42 +00:00
|
|
|
printf("AWPM only supports square process grid. Retuning without a permutation.\n");
|
2018-10-31 19:58:51 +00:00
|
|
|
}
|
2020-12-05 07:00:42 +00:00
|
|
|
- combblas::SpParMat < int_t, double, combblas::SpDCCols<int_t,double> > Adcsc;
|
|
|
|
+ combblas::SpParMat < int_t, double, combblas::SpDCCols<int_t,double> > Adcsc(grid->comm);
|
|
|
|
std::vector< std::vector < std::tuple<int_t,int_t,double> > > data(procs);
|
2018-10-31 19:58:51 +00:00
|
|
|
|
2020-12-05 07:00:42 +00:00
|
|
|
/* ------------------------------------------------------------
|