Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/openmpp/main
Browse files Browse the repository at this point in the history
  • Loading branch information
esseff committed May 2, 2023
2 parents 0aefcdc + bd6308e commit 45a1835
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
15 changes: 2 additions & 13 deletions props/model-ompp.4.build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -298,18 +298,7 @@
StartOmppUI
-->

<!--
RUN_TEMPLATE is a name of pre-selected template file to run the model
RUN_TEMPLATE value is passed to UI model run page and automatically pre-selected
User can override this selection by choosing different template in UI
Template files are located in OM_ROOT/etc directory
-->
<PropertyGroup>
<RUN_TEMPLATE Condition="'$(Configuration)'=='Debug' And '$(Platform)'=='Win32'">run.Debug.template.txt</RUN_TEMPLATE>
<RUN_TEMPLATE Condition="'$(Configuration)'=='Debug' And '$(Platform)'=='x64'">run.Debug.template.txt</RUN_TEMPLATE>
<RUN_TEMPLATE Condition="'$(OM_CFG_DEFAULT_RUN_TMPL)'!=''">$(OM_CFG_DEFAULT_RUN_TMPL)</RUN_TEMPLATE>
<RUN_TEMPLATE Condition="'$(Configuration)'=='Release' And '$(Platform)'=='Win32'"></RUN_TEMPLATE>
<RUN_TEMPLATE Condition="'$(Configuration)'=='Release' And '$(Platform)'=='x64'"></RUN_TEMPLATE>
<OMS_URL_TICKLE>$(PUBLISH_DIR)/$(MODEL_NAME).oms_url.tickle</OMS_URL_TICKLE>
<ABS_OM_ROOT Condition="'$(OM_ROOT)'!=''">$([System.IO.Path]::GetFullPath('$(OM_ROOT)'))</ABS_OM_ROOT>
<!-- bug: System.IO.Path::GetFullPath('../../..') return: C:\Program Files (x86)\Microsoft Visual Studio\2019 -->
Expand All @@ -325,11 +314,11 @@
>
<Message Text="Using batch file to start openM++ UI:" />
<Message
Text="(set MODEL_NAME=$(MODEL_NAME)) &amp; (set OM_ROOT=$(ABS_OM_ROOT)) &amp; (set OM_CFG_DEFAULT_RUN_TMPL=$(RUN_TEMPLATE)) &amp; $(ABS_START_UI_BAT)"
Text="(set MODEL_NAME=$(MODEL_NAME)) &amp; (set OM_ROOT=$(ABS_OM_ROOT)) &amp; $(ABS_START_UI_BAT)"
/>
<Exec
WorkingDirectory="$(PUBLISH_DIR)"
Command="(set MODEL_NAME=$(MODEL_NAME)) &amp; (set OM_ROOT=$(ABS_OM_ROOT)) &amp; (set OM_CFG_DEFAULT_RUN_TMPL=$(RUN_TEMPLATE)) &amp; $(ABS_START_UI_BAT)"
Command="(set MODEL_NAME=$(MODEL_NAME)) &amp; (set OM_ROOT=$(ABS_OM_ROOT)) &amp; $(ABS_START_UI_BAT)"
/>
</Target>

Expand Down
20 changes: 20 additions & 0 deletions props/start-ui-at-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45a1835

Please sign in to comment.