GitLab maintenance scheduled for Today, 2019-12-05, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 78eb42cb authored by Shane Snyder's avatar Shane Snyder

Update to testing directory config file and test programs

The codes-workload-test and codes-workload-mpi-replay both support
the new paramters of the bgp-io language workload generator. Also,
support has been added to the config file and codes-workload-mpi-replay
program for loading the parameters of a darshan config file.
parent 54110809
This diff is collapsed.
......@@ -44,12 +44,15 @@ void workload_set_params()
configuration_get_value(&config, "PARAMS", "workload_type", workload_type, MAX_NAME_LENGTH_WKLD);
if(strcmp(workload_type,"bgp_io_workload") == 0)
{
configuration_get_value(&config, "PARAMS", "io_kernel_meta_path", io_kernel_meta_path, MAX_NAME_LENGTH_WKLD);
strcpy(bgparams.io_kernel_meta_path, io_kernel_meta_path);
strcpy(bgparams.io_kernel_path,"");
strcpy(bgparams.io_kernel_def_path, "");
bgparams.num_cns = NUM_CLIENTS;
configuration_get_value(&config, "PARAMS", "io_kernel_meta_path", io_kernel_meta_path, MAX_NAME_LENGTH_WKLD);
strcpy(bgparams.io_kernel_meta_path, io_kernel_meta_path);
configuration_get_value(&config, "PARAMS", "bgp_config_file", bgp_config_file, MAX_NAME_LENGTH_WKLD);
strcpy(bgparams.bgp_config_file, bgp_config_file);
bgparams.num_cns = NUM_CLIENTS;
configuration_get_value(&config, "PARAMS", "bgp_config_file", bgp_config_file, MAX_NAME_LENGTH_WKLD);
strcpy(bgparams.bgp_config_file, bgp_config_file);
}
}
......
#PARAMS
#{
# workload_type = "bgp_io_workload";
# io_kernel_meta_path = "/home/mubarm/codes_radix/codes-base/tests/workload/hybrid.meta.txt";
# bgp_config_file = "/home/mubarm/codes_radix/codes-base/tests/workload/bgp.base.config";
#}
PARAMS
{
workload_type = "test";
workload_type = "bgp_io_workload";
io_kernel_meta_path = "/home/shane/software/codes/wkld_test/meta.txt";
bgp_config_file = "/home/shane/software/codes/wkld_test/bgp.base.config.txt";
rank_count = "8";
}
#PARAMS
#{
# workload_type = "test";
#}
#PARAMS
#{
# workload_type = "darshan_io_workload";
# log_file_path = "home/shane/software/darshan/logs/ior/snyder_ior_id185053_4rank_uniq.darshan.gz";
# aggregator_count = "1";
#}
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