diff --git a/config/challenging-toy-fewer-tasks.yaml b/config/challenging-toy-fewer-tasks.yaml index e978e4970..5a16d484c 100644 --- a/config/challenging-toy-fewer-tasks.yaml +++ b/config/challenging-toy-fewer-tasks.yaml @@ -33,14 +33,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 4 - y_ranks: 4 - z_ranks: 1 - object_jitter: 0.5 - #rank_qoi: homed_blocks_ratio - rank_qoi: max_memory_usage - object_qoi: shared_block_id - save_meshes: false - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/config/challenging-toy-hundreds-tasks.yaml b/config/challenging-toy-hundreds-tasks.yaml index 2c65c9e3c..72b7aa04b 100644 --- a/config/challenging-toy-hundreds-tasks.yaml +++ b/config/challenging-toy-hundreds-tasks.yaml @@ -35,13 +35,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 8 - y_ranks: 8 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - save_meshes: false - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/config/conf.yaml b/config/conf.yaml index f2ac4a6d5..720543efe 100644 --- a/config/conf.yaml +++ b/config/conf.yaml @@ -35,14 +35,14 @@ write_JSON: suffix: json communications: true offline_LB_compatible: false -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - object_qoi: load - save_meshes: true - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file +# visualization: +# x_ranks: 2 +# y_ranks: 2 +# z_ranks: 1 +# object_jitter: 0.5 +# rank_qoi: work +# object_qoi: load +# save_meshes: true +# force_continuous_object_qoi: true +# output_visualization_dir: ../output +# output_visualization_file_stem: output_file diff --git a/config/every20phases.yaml b/config/every20phases.yaml index 9cfea0fab..0e5f56ae6 100644 --- a/config/every20phases.yaml +++ b/config/every20phases.yaml @@ -38,12 +38,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 8 - y_ranks: 4 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/config/step.yaml b/config/step.yaml index 3a1207054..d4289d871 100644 --- a/config/step.yaml +++ b/config/step.yaml @@ -30,14 +30,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 8 - y_ranks: 4 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - object_qoi: load - save_meshes: true - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/config/user-defined-memory-toy-problem.yaml b/config/user-defined-memory-toy-problem.yaml index 287184c5d..1a3fa4b15 100644 --- a/config/user-defined-memory-toy-problem.yaml +++ b/config/user-defined-memory-toy-problem.yaml @@ -37,14 +37,3 @@ write_JSON: suffix: json communications: true offline_LB_compatible: true -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - save_meshes: true - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/src/lbaf/Applications/LBAF_app.py b/src/lbaf/Applications/LBAF_app.py index d1613af03..9c009006c 100644 --- a/src/lbaf/Applications/LBAF_app.py +++ b/src/lbaf/Applications/LBAF_app.py @@ -573,13 +573,6 @@ def run(self): "Grid size: {self.__parameters.grid_size} < {n_ranks}") raise SystemExit(1) - # Look for prescribed QOI bounds - qoi_request = [ - self.__parameters.rank_qoi, - self.__parameters.work_model.get("parameters", {}).get("upper_bounds", {}).get(self.__parameters.rank_qoi), - self.__parameters.object_qoi - ] - # Call vttv visualization if using_vttv: self.__logger.info("Calling vt-tv") diff --git a/src/lbaf/IO/lbsVisualizer.py b/src/lbaf/IO/lbsVisualizer.py index 5d9f0ee37..b8b37846b 100644 --- a/src/lbaf/IO/lbsVisualizer.py +++ b/src/lbaf/IO/lbsVisualizer.py @@ -13,7 +13,10 @@ class Visualizer: - """A class to visualize LBAF results via mesh files and VTK views.""" + """A class to visualize LBAF results via mesh files and VTK views. + + lbsVisualizer has been deprecated in favor of vt-tv. This module will be removed + in a future release.""" def __init__( self, @@ -40,6 +43,9 @@ def __init__( statistics: a dictionary of per-phase global statistics resolution: grid_resolution value.""" + # Throw deprecation error immediately + raise DeprecationWarning("LBAF's Visualizer has been deprecated and will be removed in a future release. Visualizations should be generated with DARMA/vt-tv.") + # Assign logger to instance variable self.__logger = logger diff --git a/tests/unit/IO/test_lbs_visualizer_deprecation.py b/tests/unit/IO/test_lbs_visualizer_deprecation.py new file mode 100644 index 000000000..563bece50 --- /dev/null +++ b/tests/unit/IO/test_lbs_visualizer_deprecation.py @@ -0,0 +1,28 @@ +import os +import logging +import unittest +import subprocess +from src.lbaf.IO.lbsVisualizer import Visualizer + +class TestVizDeprecation(unittest.TestCase): + """Test for lbsVisualizer's deprecation.""" + + def test_lbs_visualizer_deprecation(self): + try: + visualizer = Visualizer( + logger=logging.getLogger(), + qoi_request=["this", "that", "the other thing"], + continuous_object_qoi=False, + phases=["phase 1", "phase 2"], + grid_size=[0,0,1,1]) + except DeprecationWarning as e: + assert str(e) == "LBAF's Visualizer has been deprecated and will be removed in a future release. Visualizations should be generated with DARMA/vt-tv." + + def test_lbs_visualizer_config(self): + config_file = os.path.join(os.path.dirname(os.path.dirname(__file__)), "config", "conf_wrong_visualization.yml") + pipes = subprocess.Popen(["python", "src/lbaf", "-c", config_file], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + std_err = pipes.communicate()[1].decode("utf-8") + assert "Visualization enabled but vttv not found. No visualization will be generated." in std_err + +if __name__ == "__main__": + unittest.main() diff --git a/tests/unit/IO/test_vt_writer.py b/tests/unit/IO/test_vt_writer.py index d777761e9..5b60578f7 100644 --- a/tests/unit/IO/test_vt_writer.py +++ b/tests/unit/IO/test_vt_writer.py @@ -140,8 +140,6 @@ def test_vt_writer_required_fields_output(self): output_file_name = f"{output_file_prefix}.{i}.json" output_file = os.path.join(output_dir, output_file_name) - print(f"[{__loader__.name}] Compare input file ({input_file_name}) and output file ({output_file_name})...") - # validate that output file exists at rank i self.assertTrue( os.path.isfile(output_file), @@ -218,8 +216,6 @@ def test_vt_writer_communications_output(self): output_file_name = f"{output_file_prefix}.{r_id}.json" output_file = os.path.join(output_dir, output_file_name) - # print(f"[{__loader__.name}] Compare input file ({input_file_name}) and output file ({output_file_name})...") - # validate that output file exists at rank i self.assertTrue( os.path.isfile(output_file), diff --git a/tests/unit/config/conf_correct_001.yml b/tests/unit/config/conf_correct_001.yml index fe84626d0..0151c5b34 100644 --- a/tests/unit/config/conf_correct_001.yml +++ b/tests/unit/config/conf_correct_001.yml @@ -29,13 +29,3 @@ algorithm: # Specify output output_dir: ../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_002.yml b/tests/unit/config/conf_correct_002.yml index ae64f437d..8d3c04cb1 100644 --- a/tests/unit/config/conf_correct_002.yml +++ b/tests/unit/config/conf_correct_002.yml @@ -40,13 +40,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_003.yml b/tests/unit/config/conf_correct_003.yml index 256027327..062818197 100644 --- a/tests/unit/config/conf_correct_003.yml +++ b/tests/unit/config/conf_correct_003.yml @@ -31,13 +31,3 @@ algorithm: logging_level: debug output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_brute_force.yml b/tests/unit/config/conf_correct_brute_force.yml index 3e2ae0fac..7848fd7c9 100644 --- a/tests/unit/config/conf_correct_brute_force.yml +++ b/tests/unit/config/conf_correct_brute_force.yml @@ -22,13 +22,3 @@ algorithm: logging_level: debug output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_clustering.yml b/tests/unit/config/conf_correct_clustering.yml index 9eeceb541..4ce8381ee 100644 --- a/tests/unit/config/conf_correct_clustering.yml +++ b/tests/unit/config/conf_correct_clustering.yml @@ -31,13 +31,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_clustering_set_tol.yml b/tests/unit/config/conf_correct_clustering_set_tol.yml index cda2975c8..c04254245 100644 --- a/tests/unit/config/conf_correct_clustering_set_tol.yml +++ b/tests/unit/config/conf_correct_clustering_set_tol.yml @@ -32,13 +32,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_clustering_target_imb.yml b/tests/unit/config/conf_correct_clustering_target_imb.yml index 605e184cf..26fd96558 100644 --- a/tests/unit/config/conf_correct_clustering_target_imb.yml +++ b/tests/unit/config/conf_correct_clustering_target_imb.yml @@ -31,13 +31,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_from_data_min_config.yml b/tests/unit/config/conf_correct_from_data_min_config.yml index cbd2a1757..41b21fc57 100644 --- a/tests/unit/config/conf_correct_from_data_min_config.yml +++ b/tests/unit/config/conf_correct_from_data_min_config.yml @@ -19,13 +19,3 @@ algorithm: # Specify output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - object_qoi: work - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_from_samplers_no_ll.yml b/tests/unit/config/conf_correct_from_samplers_no_ll.yml index ae64f437d..8d3c04cb1 100644 --- a/tests/unit/config/conf_correct_from_samplers_no_ll.yml +++ b/tests/unit/config/conf_correct_from_samplers_no_ll.yml @@ -40,13 +40,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_correct_phase_ids_str_001.yml b/tests/unit/config/conf_correct_phase_ids_str_001.yml index aaf9eb9ef..baee7e9b0 100644 --- a/tests/unit/config/conf_correct_phase_ids_str_001.yml +++ b/tests/unit/config/conf_correct_phase_ids_str_001.yml @@ -28,13 +28,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_algorithm_invalid_001.yml b/tests/unit/config/conf_wrong_algorithm_invalid_001.yml index ebd13f6b2..dcfd8295c 100644 --- a/tests/unit/config/conf_wrong_algorithm_invalid_001.yml +++ b/tests/unit/config/conf_wrong_algorithm_invalid_001.yml @@ -21,13 +21,3 @@ algorithm: # Specify output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: work - object_qoi: work - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_algorithm_invalid_002.yml b/tests/unit/config/conf_wrong_algorithm_invalid_002.yml index 1d6929229..72fb56bd3 100644 --- a/tests/unit/config/conf_wrong_algorithm_invalid_002.yml +++ b/tests/unit/config/conf_wrong_algorithm_invalid_002.yml @@ -27,13 +27,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_clustering_set_tol_mag.yml b/tests/unit/config/conf_wrong_clustering_set_tol_mag.yml index 7f577fbb8..2c08818ec 100644 --- a/tests/unit/config/conf_wrong_clustering_set_tol_mag.yml +++ b/tests/unit/config/conf_wrong_clustering_set_tol_mag.yml @@ -31,13 +31,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_clustering_set_tol_type.yml b/tests/unit/config/conf_wrong_clustering_set_tol_type.yml index 0f9d878be..df44d3548 100644 --- a/tests/unit/config/conf_wrong_clustering_set_tol_type.yml +++ b/tests/unit/config/conf_wrong_clustering_set_tol_type.yml @@ -31,13 +31,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_data_and_sampling.yml b/tests/unit/config/conf_wrong_data_and_sampling.yml index f39734f80..2c8f4f983 100644 --- a/tests/unit/config/conf_wrong_data_and_sampling.yml +++ b/tests/unit/config/conf_wrong_data_and_sampling.yml @@ -43,13 +43,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_data_phase_name.yml b/tests/unit/config/conf_wrong_from_data_phase_name.yml index 6d09eb0ed..fdd2f1175 100644 --- a/tests/unit/config/conf_wrong_from_data_phase_name.yml +++ b/tests/unit/config/conf_wrong_from_data_phase_name.yml @@ -26,13 +26,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_data_phase_type.yml b/tests/unit/config/conf_wrong_from_data_phase_type.yml index a3a14e4db..ddb5ecca6 100644 --- a/tests/unit/config/conf_wrong_from_data_phase_type.yml +++ b/tests/unit/config/conf_wrong_from_data_phase_type.yml @@ -28,13 +28,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_samplers_load_sampler_001.yml b/tests/unit/config/conf_wrong_from_samplers_load_sampler_001.yml index 8c2228bfd..919f03579 100644 --- a/tests/unit/config/conf_wrong_from_samplers_load_sampler_001.yml +++ b/tests/unit/config/conf_wrong_from_samplers_load_sampler_001.yml @@ -40,13 +40,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_samplers_load_sampler_002.yml b/tests/unit/config/conf_wrong_from_samplers_load_sampler_002.yml index 29c73dcf2..76c049ab3 100644 --- a/tests/unit/config/conf_wrong_from_samplers_load_sampler_002.yml +++ b/tests/unit/config/conf_wrong_from_samplers_load_sampler_002.yml @@ -38,13 +38,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_samplers_load_sampler_003.yml b/tests/unit/config/conf_wrong_from_samplers_load_sampler_003.yml index 28325dad9..7ab2dc881 100644 --- a/tests/unit/config/conf_wrong_from_samplers_load_sampler_003.yml +++ b/tests/unit/config/conf_wrong_from_samplers_load_sampler_003.yml @@ -39,13 +39,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_samplers_load_sampler_004.yml b/tests/unit/config/conf_wrong_from_samplers_load_sampler_004.yml index f5c2eb138..71f846aff 100644 --- a/tests/unit/config/conf_wrong_from_samplers_load_sampler_004.yml +++ b/tests/unit/config/conf_wrong_from_samplers_load_sampler_004.yml @@ -38,13 +38,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_from_samplers_load_sampler_005.yml b/tests/unit/config/conf_wrong_from_samplers_load_sampler_005.yml index e5d777889..90d22ad28 100644 --- a/tests/unit/config/conf_wrong_from_samplers_load_sampler_005.yml +++ b/tests/unit/config/conf_wrong_from_samplers_load_sampler_005.yml @@ -39,13 +39,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_max_subclusters_mag.yml b/tests/unit/config/conf_wrong_max_subclusters_mag.yml index c7fad42fc..33e85b49d 100644 --- a/tests/unit/config/conf_wrong_max_subclusters_mag.yml +++ b/tests/unit/config/conf_wrong_max_subclusters_mag.yml @@ -32,13 +32,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_max_subclusters_type.yml b/tests/unit/config/conf_wrong_max_subclusters_type.yml index 4b7d4b9d8..80ee1609d 100644 --- a/tests/unit/config/conf_wrong_max_subclusters_type.yml +++ b/tests/unit/config/conf_wrong_max_subclusters_type.yml @@ -32,13 +32,3 @@ algorithm: # Specify output output_dir: ../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: load - object_qoi: load - force_continuous_object_qoi: true - output_visualization_dir: ../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_missing_from_data_param.yml b/tests/unit/config/conf_wrong_missing_from_data_param.yml index 6d09eb0ed..fdd2f1175 100644 --- a/tests/unit/config/conf_wrong_missing_from_data_param.yml +++ b/tests/unit/config/conf_wrong_missing_from_data_param.yml @@ -26,13 +26,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_no_data_and_sampling.yml b/tests/unit/config/conf_wrong_no_data_and_sampling.yml index bcaa1569f..be01f9cc5 100644 --- a/tests/unit/config/conf_wrong_no_data_and_sampling.yml +++ b/tests/unit/config/conf_wrong_no_data_and_sampling.yml @@ -24,13 +24,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_phase_ids_str_001.yml b/tests/unit/config/conf_wrong_phase_ids_str_001.yml index 3916c0e5c..f0c160b94 100644 --- a/tests/unit/config/conf_wrong_phase_ids_str_001.yml +++ b/tests/unit/config/conf_wrong_phase_ids_str_001.yml @@ -27,13 +27,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_visualization.yml b/tests/unit/config/conf_wrong_visualization.yml new file mode 100644 index 000000000..bde785efe --- /dev/null +++ b/tests/unit/config/conf_wrong_visualization.yml @@ -0,0 +1,41 @@ +# Specify input +from_data: + data_stem: ../data/synthetic_lb_data/data + phase_ids: + - 0 + +# Specify work model +work_model: + name: AffineCombination + parameters: + alpha: 1.0 + beta: 0.0 + gamma: 0.0 + +# Specify algorithm +algorithm: + name: InformAndTransfer + phase_id: 0 + parameters: + n_iterations: 8 + n_rounds: 4 + fanout: 4 + order_strategy: element_id + transfer_strategy: Recursive + criterion: Tempered + max_objects_per_transfer: 8 + deterministic_transfer: true + +# Specify output +output_dir: ../../output +output_file_stem: output_file +visualization: + x_ranks: 2 + y_ranks: 2 + z_ranks: 1 + object_jitter: 0.5 + rank_qoi: load + object_qoi: load + force_continuous_object_qoi: true + output_visualization_dir: ../../output + output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_work_model_missing.yml b/tests/unit/config/conf_wrong_work_model_missing.yml index 714adf8f2..faf6440dc 100644 --- a/tests/unit/config/conf_wrong_work_model_missing.yml +++ b/tests/unit/config/conf_wrong_work_model_missing.yml @@ -23,13 +23,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_work_model_name.yml b/tests/unit/config/conf_wrong_work_model_name.yml index 444d2e744..79fc52c50 100644 --- a/tests/unit/config/conf_wrong_work_model_name.yml +++ b/tests/unit/config/conf_wrong_work_model_name.yml @@ -29,13 +29,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_work_model_parameters_missing.yml b/tests/unit/config/conf_wrong_work_model_parameters_missing.yml index 8a58c7b2e..0acfce076 100644 --- a/tests/unit/config/conf_wrong_work_model_parameters_missing.yml +++ b/tests/unit/config/conf_wrong_work_model_parameters_missing.yml @@ -28,13 +28,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/config/conf_wrong_work_model_parameters_type.yml b/tests/unit/config/conf_wrong_work_model_parameters_type.yml index c42b7271c..23cb0af68 100644 --- a/tests/unit/config/conf_wrong_work_model_parameters_type.yml +++ b/tests/unit/config/conf_wrong_work_model_parameters_type.yml @@ -29,13 +29,3 @@ algorithm: # Specify output output_dir: ../../../output output_file_stem: output_file -visualization: - x_ranks: 2 - y_ranks: 2 - z_ranks: 1 - object_jitter: 0.5 - rank_qoi: None - object_qoi: None - force_continuous_object_qoi: true - output_visualization_dir: ../../../output - output_visualization_file_stem: output_file diff --git a/tests/unit/output/vt_writer_communications_test/imbalance.txt b/tests/unit/output/vt_writer_communications_test/imbalance.txt deleted file mode 100644 index 9dd329c6b..000000000 --- a/tests/unit/output/vt_writer_communications_test/imbalance.txt +++ /dev/null @@ -1 +0,0 @@ -0.1744700291069654 \ No newline at end of file diff --git a/tests/unit/output/vt_writer_communications_test/output_file.0.json b/tests/unit/output/vt_writer_communications_test/output_file.0.json deleted file mode 100644 index ea91747da..000000000 Binary files a/tests/unit/output/vt_writer_communications_test/output_file.0.json and /dev/null differ diff --git a/tests/unit/output/vt_writer_communications_test/output_file.1.json b/tests/unit/output/vt_writer_communications_test/output_file.1.json deleted file mode 100644 index a309e99ed..000000000 Binary files a/tests/unit/output/vt_writer_communications_test/output_file.1.json and /dev/null differ diff --git a/tests/unit/output/vt_writer_communications_test/output_file.2.json b/tests/unit/output/vt_writer_communications_test/output_file.2.json deleted file mode 100644 index 47fd407f6..000000000 Binary files a/tests/unit/output/vt_writer_communications_test/output_file.2.json and /dev/null differ diff --git a/tests/unit/output/vt_writer_communications_test/output_file.3.json b/tests/unit/output/vt_writer_communications_test/output_file.3.json deleted file mode 100644 index 7f0dadc5e..000000000 Binary files a/tests/unit/output/vt_writer_communications_test/output_file.3.json and /dev/null differ