From 964245ef5b9cb431f4a3b28e4d8b76f237f053d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20P=2E=20Pe=CC=81bay=CC=88?= Date: Fri, 28 Oct 2022 19:42:27 +0200 Subject: [PATCH] #279: config file to test memory features with fake memory dataset --- src/lbaf/Applications/memory.yaml | 77 +++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 src/lbaf/Applications/memory.yaml diff --git a/src/lbaf/Applications/memory.yaml b/src/lbaf/Applications/memory.yaml new file mode 100644 index 000000000..60c44e320 --- /dev/null +++ b/src/lbaf/Applications/memory.yaml @@ -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