Commit 441f716c authored by incardon's avatar incardon

ORB compiling still to debug

parent a34950ac
Pipeline #2452 failed with stages
in 182 minutes and 31 seconds
......@@ -384,7 +384,7 @@ public:
// Optimize the decomposition creating bigger spaces
// And reducing Ghost over-stress
dec_optimizer<dim, Graph_CSR<nm_v<dim>, nm_e>> d_o(dist.getGraph(), gr_dist.getSize());
dec_optimizer<dim, Graph_CSR<nm_v<dim>, nm_e>> d_o(dec.getGraph(), gr_dist.getSize());
// Ghost
Ghost<dim,long int> ghe;
......@@ -397,7 +397,7 @@ public:
}
// optimize the decomposition or merge sub-sub-domain
d_o.template optimize<nm_v_sub_id, nm_v_proc_id>(dist.getGraph(), p_id, loc_box, box_nn_processor,ghe,bc);
d_o.template optimize<nm_v_sub_id, nm_v_proc_id>(dec.getGraph(), p_id, loc_box, box_nn_processor,ghe,bc);
// Initialize
if (loc_box.size() > 0)
......@@ -477,6 +477,10 @@ public:
*/
void computeCommunicationAndMigrationCosts(size_t ts)
{
dec.computeCommunicationCosts();
#if 0
float migration = 0;
SpaceBox<dim, T> cellBox = cd.getCellBox();
......@@ -513,6 +517,7 @@ public:
}
commCostSet = true;
#endif
}
/*! \brief Create the sub-domain that decompose your domain
......
......@@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE( Metis_distribution_test)
// Copy the Metis distribution
MetisDistribution<3, float> met_dist2(v_cl);
MetisDistribution<3, float> met_dist2(v_cl,cds.getGraph());
met_dist2 = met_dist;
......
......@@ -38,6 +38,13 @@ public:
return _inner;
}
SequentialDistributionStrategy & operator=(const SequentialDistributionStrategy & tmp)
{
gp = tmp.gp;
return *this;
}
private:
AbstractDistStrategy _inner;
};
......
......@@ -76,6 +76,12 @@ public:
inner().setDomain(domain_);
}
/*! \brief Stub method to homogenize the interface do not use
*
*/
std::pair<float, size_t> computeCommunicationCosts() {
}
/*! \brief Stub method to homogenize the interface do not use
*
*/
......
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