Skip to content
Snippets Groups Projects
Commit 6144d6e1 authored by KyleKlenk's avatar KyleKlenk
Browse files

fixed issue with the server actor where we did not verify the batch value was present

parent 1406d5c6
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
#### load modules if using Compute Canada or Copernicus ####
module load gcc/9.3.0
module load netcdf-fortran
module load openblas
module load caf
\ No newline at end of file
......@@ -85,8 +85,8 @@ behavior summa_server(stateful_actor<summa_server_state>* self, std::string conf
if (batch_to_send.has_value()) {
Batch verified_batch = batch_to_send.value();
verified_batch.assignedBatch(self->state.client_list[client_id].getHostname(), client);
self->send(client, batch_v, client_id, batch_to_send->getBatchID(), batch_to_send->getStartHRU(),
batch_to_send->getNumHRU(), self->state.config_path);
self->send(client, batch_v, client_id, verified_batch.getBatchID(), verified_batch.getStartHRU(),
verified_batch.getNumHRU(), self->state.config_path);
} else {
aout(self) << "We Are Done - Telling Clients to exit \n";
for (std::vector<int>::size_type i = 0; i < self->state.client_list.size(); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment