From 940c0073cb6091bc813d3e7f4e0ae675d64779b6 Mon Sep 17 00:00:00 2001 From: amc1999 Date: Tue, 25 Apr 2023 23:00:52 -0400 Subject: [PATCH 1/2] MSBuild start UI in case of MPI and/or Debug model: check model.exe name and set template in batch file --- props/model-ompp.4.build.targets | 15 ++------------- props/start-ui-at-build.bat | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/props/model-ompp.4.build.targets b/props/model-ompp.4.build.targets index 6ecc51815..6303a42e9 100644 --- a/props/model-ompp.4.build.targets +++ b/props/model-ompp.4.build.targets @@ -298,18 +298,7 @@ StartOmppUI --> - - run.Debug.template.txt - run.Debug.template.txt - $(OM_CFG_DEFAULT_RUN_TMPL) - - $(PUBLISH_DIR)/$(MODEL_NAME).oms_url.tickle $([System.IO.Path]::GetFullPath('$(OM_ROOT)')) @@ -325,11 +314,11 @@ > diff --git a/props/start-ui-at-build.bat b/props/start-ui-at-build.bat index dff1f6dba..8910d0a94 100644 --- a/props/start-ui-at-build.bat +++ b/props/start-ui-at-build.bat @@ -57,6 +57,26 @@ if not defined model_exe_name ( ) ) ) +if not defined model_exe_name ( + if exist "%MODEL_NAME%_mpi.exe" ( + + set model_exe_name=%MODEL_NAME%_mpi.exe + + if not defined OM_CFG_DEFAULT_RUN_TMPL ( + set OM_CFG_DEFAULT_RUN_TMPL=mpi.ModelRun.template.txt + ) + ) +) +if not defined model_exe_name ( + if exist "%MODEL_NAME%D_mpi.exe" ( + + set model_exe_name=%MODEL_NAME%D_mpi.exe + + if not defined OM_CFG_DEFAULT_RUN_TMPL ( + set OM_CFG_DEFAULT_RUN_TMPL=mpi.ModelDebug.template.txt + ) + ) +) if not defined model_exe_name ( @echo ERROR: %MODEL_NAME% exe not found EXIT 1 From bd6308e722cab2e8d6ab57a5737ec53bee14739d Mon Sep 17 00:00:00 2001 From: amc1999 Date: Tue, 2 May 2023 14:09:53 -0400 Subject: [PATCH 2/2] update change log --- CHANGELOG.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7b45fe2ba..5da419e6f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,19 @@ Please note: not all changes commented here, please use GitHub release notes and commits history for more details. +2023-05-02: + c++ core: MPI microdata database writing: fix memory leak + c++ core: Windows debug model disabling Microsoft iterator debug + c++ core: simulate only one member in a time-based model if specified in combined seed + c++ core: enhacement to allow predicting run-time memory requirements + c++ core: get model memory usage from Windows, Linux and MacOS + c++ core: new model run-time options to specify memory usage requiremnts + Windows: remove Powershell scripts to start or stop UI + go: add oms API to report archiving status for model runs and worksets + go: remove MaxPageSize from oms web-service API + UI: display storage management archiving status for model runs and worksets + UI: add LxQt terminal to UI start script + 2023-03-28: UI: fix output table decimals issues UI: support all accumulators in output table viewer