Commit 56eac32e authored by Bram Veenboer's avatar Bram Veenboer

Fix compiler error when DISTRIBUTE_INPUT is 1

parent dbfc0159
......@@ -515,7 +515,7 @@ void run_master(int argc, char *argv[]) {
// Distribute input data
MPIRequestList requests;
runtime_input -= omp_get_wtime();
runtime_send_input -= omp_get_wtime();
for (unsigned int bl = 0; bl < nr_baselines_all_workers; bl++) {
unsigned int dest = 1 + (bl / nr_baselines_per_worker);
......@@ -533,7 +533,7 @@ void run_master(int argc, char *argv[]) {
}
requests.wait();
runtime_input += omp_get_wtime();
runtime_send_input += omp_get_wtime();
// Get master buffers
idg::Array2D<idg::UVW<float>> uvw(uvw_all.data(nr_baselines_all_workers, 0), nr_baselines_master, nr_timesteps);
......
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