Skip to content

Commit

Permalink
warning--
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Nov 21, 2023
1 parent 73a565e commit 53719e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ namespace wrench {
if (num_nodes > cs->available_nodes_to_cores.size()) {
throw std::runtime_error("CONSERVATIVE_BFBatchScheduler::scheduleOnHosts(): Asking for too many hosts");
}
if (cores_per_node > cs->available_nodes_to_cores.begin()->first->get_core_count()) {
if (cores_per_node > (unsigned long) cs->available_nodes_to_cores.begin()->first->get_core_count()) {
throw std::runtime_error("CONSERVATIVE_BFBatchScheduler::scheduleOnHosts(): Asking for too many cores per host (asking for " +
std::to_string(cores_per_node) + " but hosts have " +
std::to_string(cs->available_nodes_to_cores.begin()->first->get_core_count()) + "cores)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ void BareMetalComputeServiceOneActionTest::do_Noop_test() {

// Running a "do nothing" simulation
ASSERT_NO_THROW(simulation->launch());
std::cerr << "END OF SIMULATION\n";


for (int i = 0; i < argc; i++)
Expand Down

0 comments on commit 53719e1

Please sign in to comment.