diff --git a/build/module_load.sh b/build/module_load.sh new file mode 100755 index 0000000000000000000000000000000000000000..6359abc429921687d6a78cc6067801551117c46a --- /dev/null +++ b/build/module_load.sh @@ -0,0 +1,7 @@ +#!/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 diff --git a/build/source/actors/summa_actor/summa_server.cpp b/build/source/actors/summa_actor/summa_server.cpp index 41204bda67721fc3b9c8a4a700cf4bbea410bfba..814a107a72098d51087046b6b00ce61aed0c8c9e 100644 --- a/build/source/actors/summa_actor/summa_server.cpp +++ b/build/source/actors/summa_actor/summa_server.cpp @@ -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++) {