diff --git a/README.md b/README.md index 8698835d..3388fad8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # CODES Discrete-event Simulation Framework -### New? Check out the Wiki for Installation, Tutorials, and Documentation: https://github.com/codes-org/codes/wiki +### [Join our CODES user mailing list](https://mailchi.mp/75d0c8aa42c3/codes-user-group) to stay up to date with major changes, events, and news! + +### New? Check out the [Wiki for Installation, Tutorials, and Documentation](https://github.com/codes-org/codes/wiki) Discrete event driven simulation of HPC system architectures and subsystems has emerged as a productive and cost-effective means to evaluating potential HPC designs, along with capabilities for executing simulations of extreme scale systems. The goal of the CODES project is to use highly parallel simulation to explore the design of exascale storage/network architectures and distributed data-intensive science facilities. diff --git a/src/workload/methods/codes-online-comm-wrkld.C b/src/workload/methods/codes-online-comm-wrkld.C index 1ded7a92..1d4dc65a 100644 --- a/src/workload/methods/codes-online-comm-wrkld.C +++ b/src/workload/methods/codes-online-comm-wrkld.C @@ -24,6 +24,7 @@ #include "nekbone_swm_user_code.h" #include "nearest_neighbor_swm_user_code.h" #include "all_to_one_swm_user_code.h" +#include "hacc_swm_user_code.h" //EMR #define ALLREDUCE_SHORT_MSG_SIZE 2048 @@ -781,6 +782,11 @@ static void workload_caller(void * arg) AllToOneSWMUserCode * incast_swm = static_cast(sctx->swm_obj); incast_swm->call(); } + else if(strcmp(sctx->workload_name, "hacc") == 0) + { + HACCSWMUserCode * hacc_swm = static_cast(sctx->swm_obj); + hacc_swm->call(); + } } static int comm_online_workload_load(const char * params, int app_id, int rank) { @@ -830,6 +836,10 @@ static int comm_online_workload_load(const char * params, int app_id, int rank) { path.append("/incast2.json"); } + else if(strcmp(o_params->workload_name, "hacc") == 0) + { + path.append("/hacc_workload.json"); + } else tw_error(TW_LOC, "\n Undefined workload type %s ", o_params->workload_name); @@ -864,6 +874,11 @@ static int comm_online_workload_load(const char * params, int app_id, int rank) AllToOneSWMUserCode * incast_swm = new AllToOneSWMUserCode(root, generic_ptrs); my_ctx->sctx.swm_obj = (void*)incast_swm; } + else if(strcmp(o_params->workload_name, "hacc") == 0) + { + HACCSWMUserCode * hacc_swm = new HACCSWMUserCode(root, generic_ptrs); + my_ctx->sctx.swm_obj = (void*)hacc_swm; + } if(global_prod_thread == NULL) {