Skip to content

Commit

Permalink
#279: config file to test memory features with fake memory dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ppebay committed Oct 28, 2022
1 parent 8c20bca commit 7b83126
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions src/lbaf/Applications/memory.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Docs
# param_name_in_conf [type] Description
# work_model work model to be used
# name [str] in LoadOnly, AffineCombination
# parameters: [dict] optional parameters specific to each work model
# algorithm balancing algorithm to be used
# name [str] in InformAndTransfer, BruteForce
# parameters: [dict] parameters specitic to each algorithm:
# InformAndtransfer:
# criterion [str] in Tempered (default), StrictLocalizer
# n_iterations [int] number of load-balancing iterations
# deterministic_transfer [bool] (default: False) for deterministic transfer
# n_rounds [int] number of information rounds
# fanout [int] information fanout index
# order_strategy [str] ordering of objects for transfer
# in arbitrary (default), element_id, increasing_times,
# decreasing_times, increasing_connectivity,
# fewest_migrations, small_objects
# BruteForce:
# skip_transfer [bool] (default: False) skip transfer phase
# PhaseStepper
# logging_level [str] set to `info`, `debug`, `warning` or `error`
# log_to_file [str] filepath to save the log file (optional)
# x_procs [int] number of procs in x direction for rank visualization
# y_procs [int] number of procs in y direction for rank visualization
# z_procs [int] number of procs in z direction for rank visualization
# data_stem [str] base file name of VT load logs
# phase_ids [list or str] list of ids of phase to be read in VT load logs e.g. [1, 2, 3] or "1-3"
# map_file [str] base file name for VT object/proc mapping
# file_suffix [str] file suffix of VT data files (default: "json")
# output_dir [str] output directory (default: '.')
# overwrite_validator [bool] download and overwrite JSON_data_files_validator from VT (default: True)
# check_schema [bool] checking schema in VT input files (optional, default: True)
# terminal_background [str] background color for terminal output
# generate_meshes [bool] generate mesh outputs (default: False)
# generate_multimedia [bool] generate multimedia visualization (default: False)
# n_objects [int] number of objects
# n_mapped_ranks [int] number of initially mapped processors
# communication_degree [int] object communication degree (no communication if 0)
# time_sampler description of object times sampler:
# name [str] in uniform, lognormal
# parameters [list] parameters e.g. 1.0,10.0 for lognormal
# volume_sampler description of object communication volumes sampler:
# name [str] in uniform, lognormal
# parameters [list] parameters e.g. 1.0,10.0 for lognormal

# Specify input
from_data:
data_stem: "../data/fake-4x-block-overdecomp-3-uncompressed/fake-4x-block-overdecomp-3"
phase_ids:
- 0
# Specify work model
work_model:
name: AffineCombination
parameters:
alpha: 1.
beta: 0.
gamma: 0.

# Specify balancing algorithm
algorithm:
name: PhaseStepper

# Specify output
#logging_level: debug
#overwrite_validator: False
check_schema: False
terminal_background: light
generate_multimedia: True
output_dir: ../../../output
output_file_stem: output_file
n_ranks: 12
generate_meshes:
x_ranks: 4
y_ranks: 3
z_ranks: 1
object_jitter: 0.5

0 comments on commit 7b83126

Please sign in to comment.