Skip to content

Commit

Permalink
No devices are shared in default config
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHogan committed Nov 3, 2021
1 parent 77ec403 commit 097d17d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void InitDefaultConfig(Config *config) {
config->is_shared_device[0] = 0;
config->is_shared_device[1] = 0;
config->is_shared_device[2] = 0;
config->is_shared_device[3] = 1;
config->is_shared_device[3] = 0;

config->bo_num_threads = 4;
config->default_rr_split = false;
Expand Down
2 changes: 1 addition & 1 deletion test/config_parser_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int main(int argc, char **argv) {
Assert(config.is_shared_device[0] == 0);
Assert(config.is_shared_device[1] == 0);
Assert(config.is_shared_device[2] == 0);
Assert(config.is_shared_device[3] == 1);
Assert(config.is_shared_device[3] == 0);

Assert(config.bo_num_threads == 4);

Expand Down
2 changes: 1 addition & 1 deletion test/data/hermes.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ system_view_state_update_interval_ms = 1000;
mount_points = {"", "./", "./", "./"};
# For each device, indicate '1' if it is shared among nodes (e.g., burst
# buffers), or '0' if it is per node (e.g., local NVMe).
is_shared_device = {0, 0, 0, 1};
is_shared_device = {0, 0, 0, 0};
# The mount point of a PFS or object store for swap space, in the event that
# Hermes buffers become full.
swap_mount = "./";
Expand Down

0 comments on commit 097d17d

Please sign in to comment.