Commit 24e34654 authored by Xin Wang's avatar Xin Wang

set eager threshold to max for conc-online workload type, since rendezvous…

set eager threshold to max for conc-online workload type, since rendezvous protocol cannot work with Conceptual for now
parent 822cedad
......@@ -2097,7 +2097,6 @@ static void update_message_time_rc(
void nw_test_init(nw_state* s, tw_lp* lp)
{
/* initialize the LP's and load the data */
memset(s, 0, sizeof(*s));
s->nw_id = codes_mapping_get_lp_relative_id(lp->gid, 0, 0);
s->mpi_wkld_samples = (struct mpi_workload_sample*)calloc(MAX_STATS, sizeof(struct mpi_workload_sample));
......@@ -2688,7 +2687,7 @@ void nw_test_finalize(nw_state* s, tw_lp* lp)
if(strcmp(workload_type, "swm-online") == 0)
codes_workload_finalize("swm_online_comm_workload", params, s->app_id, s->local_rank);
if(strcmp(workload_type, "conc-online") == 0) {
if(strcmp(workload_type, "conc-online") == 0)
codes_workload_finalize("conc_online_comm_workload", params, s->app_id, s->local_rank);
}
......@@ -3018,6 +3017,10 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
tw_end();
return -1;
}
/* Currently rendezvous protocol cannot work with Conceptual */
if(strcmp(workload_type, "conc-online") == 0) {
EAGER_THRESHOLD = INT64_MAX;
}
jobmap_ctx = NULL; // make sure it's NULL if it's not used
......
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