From 5cbe333af66b3a4c270cc13b54ae487660b00606 Mon Sep 17 00:00:00 2001 From: Douglas Jacobsen Date: Tue, 17 Dec 2024 11:50:54 -0700 Subject: [PATCH 1/2] Update HPL base_application for MxP This commit makes changes to the HPL base_application definition to define variables before templates are rendered, and also prevent padding values if the workload contains `mxp`. --- .../base_applications/hpl/base_application.py | 55 +++++++++++++++---- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/var/ramble/repos/builtin/base_applications/hpl/base_application.py b/var/ramble/repos/builtin/base_applications/hpl/base_application.py index 8613e3a63..e8ad4aeb5 100644 --- a/var/ramble/repos/builtin/base_applications/hpl/base_application.py +++ b/var/ramble/repos/builtin/base_applications/hpl/base_application.py @@ -8,7 +8,6 @@ import os from ramble.appkit import * -from ramble.expander import Expander import math @@ -262,14 +261,8 @@ class Hpl(ExecutableApplication): ) # FOMs: - log_str = os.path.join( - Expander.expansion_str("experiment_run_dir"), - Expander.expansion_str("experiment_name") + ".out", - ) - figure_of_merit( "Time", - log_file=log_str, fom_regex=r".*\s+(?P[0-9]+)\s+(?P[0-9]+)\s+(?P

[0-9]+)\s+(?P[0-9]+)\s+(?P

[0-9]+)\s+(?P[0-9]+)\s+(?P