Skip to content

Commit b953ca2

Browse files
committed
Updated config files of benchmark_suite applications
1 parent c9a437a commit b953ca2

File tree

9 files changed

+87
-12
lines changed

9 files changed

+87
-12
lines changed

benchmark_suite/cupti_gpu_kernel_outlier/chimbuko_config.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ service_node_iface=eth0 #network interface upon which communication to the servi
88
####################################
99
#Options for visualization module
1010
####################################
11-
use_viz=1 #enable or disable the visualization
11+
use_viz=0 #enable or disable the visualization
1212
viz_root=/opt/chimbuko/viz #the root directory of the visualization module <------------ ***SET ME (if using viz)***
1313
viz_worker_port=6379 #the port on which to run the redis server for the visualization backend
1414
viz_port=5002 #the port on which to run the webserver
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/cupti_gpu_kernel_outlier_multistream/chimbuko_config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/mpi_comm_outlier/chimbuko_config.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -57,7 +60,7 @@ ad_outlier_sstd_sigma=12 #number of standard deviations that defines an outlier
5760
# command to launch the AD (output to chimbuko/vars/chimbuko_ad_cmdline.var); they can be overridden by the run script if desired providing the appropriate modifications
5861
# are made to the AD launch command. The remainder of the variables are used only by TAU and can be freely overridden.
5962
####################################
60-
export TAU_ADIOS2_ENGINE=SST #online communication engine (alternative BP4 although this goes through the disk system and may be slower unless the BPfiles are stored on a burst disk)
63+
export TAU_ADIOS2_ENGINE=BP4 #online communication engine (alternative BP4 although this goes through the disk system and may be slower unless the BPfiles are stored on a burst disk)
6164
export TAU_ADIOS2_ONE_FILE=FALSE #a different connection file for each rank
6265
export TAU_ADIOS2_PERIODIC=1 #enable/disable ADIOS2 periodic output
6366
export TAU_ADIOS2_PERIOD=1000000 #period in us between ADIOS2 io steps
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/mpi_threaded_comm_outlier/chimbuko_config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/multiinstance_nompi/chimbuko_config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/openmp_cpu/chimbuko_config.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ service_node_iface=eth0 #network interface upon which communication to the servi
88
####################################
99
#Options for visualization module
1010
####################################
11-
use_viz=0 #enable or disable the visualization
11+
use_viz=1 #enable or disable the visualization
1212
viz_root=/opt/chimbuko/viz #the root directory of the visualization module <------------ ***SET ME (if using viz)***
1313
viz_worker_port=6379 #the port on which to run the redis server for the visualization backend
1414
viz_port=5002 #the port on which to run the webserver
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/python_hello/chimbuko_config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

benchmark_suite/simple_workflow/chimbuko_config.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ chimbuko_services="infer" #The location of the Chimbuko service script. If set t
2626
use_provdb=1 #enable or disable the provDB. If disabled the provenance data will be written as JSON ASCII into the ${provdb_writedir} set below
2727
provdb_extra_args="" #any extra command line arguments to pass
2828
provdb_nshards=4 #number of database shards
29+
provdb_ninstances=1 #number of database server instances. Shards are distributed over instances
2930
provdb_engine="ofi+tcp;ofi_rxm" #the OFI libfabric provider used for the Mochi stack
3031
provdb_port=5000 #the port of the provenance database
31-
provdb_nthreads=4 #number of worker threads; should be >= the number of shards
3232
provdb_writedir=chimbuko/provdb #the directory in which the provenance database is written. Chimbuko creates chimbuko/provdb which can be used as a default
3333
provdb_commit_freq=10000 #frequency ms at which the provenance database is committed to disk. If set to 0 it will commit only at the end
3434

3535
#With "verbs" provider (used for infiniband, iWarp, etc) we need to also specify the domain, which can be found by running fi_info (on a compute node)
3636
provdb_domain=mlx5_0 #only needed for verbs provider <------------ ***SET ME (if using verbs)***
3737

38+
export FI_UNIVERSE_SIZE=1600 # Defines the expected number of provenance DB clients per instance <------------- *** SET ME (should be larger than the number of clients/instance)
39+
export FI_MR_CACHE_MAX_COUNT=0 # disable MR cache in libfabric; still problematic as of libfabric 1.10.1
40+
export FI_OFI_RXM_USE_SRX=1 # use shared recv context in RXM; should improve scalability
3841

3942
####################################
4043
#Options for the parameter server
@@ -98,6 +101,11 @@ TAU_ADIOS2_FILE_PREFIX=tau-metrics #the prefix of tau adios2 files; full filena
98101
export TAU_ADIOS2_FILENAME="${TAU_ADIOS2_PATH}/${TAU_ADIOS2_FILE_PREFIX}"
99102

100103
if [[ ${backend_root} == "infer" ]]; then
104+
if [[ $(which provdb_admin) == "" ]]; then
105+
echo "When inferring the backend root directory, could not find provdb_admin in PATH. Please add your Chimbuko bin directory to PATH"
106+
exit 1
107+
fi
108+
101109
backend_root=$( readlink -f $(which provdb_admin | sed 's/provdb_admin//')/../ )
102110
fi
103111

0 commit comments

Comments
 (0)