Skip to content

Commit 29634a4

Browse files
Version 9.3.1
1 parent ccbd79e commit 29634a4

7 files changed

Lines changed: 28 additions & 18 deletions

File tree

.github/workflows/tester.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Install bins
3333
run: |
34-
pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.1
34+
pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.2
3535
3636
# Copy problemtype to gid and copy exec
3737
- name: Move kratos where it should be

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ If you need the developer version, you are on the right place.
2020
* 4.1- To execute Kratos using the standard pip packages:
2121
* Python version recommended: 3.9
2222
* Open a terminal and run
23-
- Linux: `python3 -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.1`
24-
- Windows: `python -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.1`
23+
- Linux: `python3 -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.2`
24+
- Windows: `python -m pip install --upgrade --force-reinstall --no-cache-dir KratosMultiphysics-all==9.3.2`
2525
* 4.2- To execute Kratos using your compiled binaries:
2626
* Navigate to kratos.gid/exec/
2727
* Create there a symbolic link to the kratos installation folder (where runkratos is located)

dockers/dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ARG pyversion=3.10
44
# Base pyton image
55
FROM python:3.10.10-alpine3.17
66

7-
ARG krversion=9.3.1
8-
ENV krversion=9.3.1
7+
ARG krversion=9.3.2
8+
ENV krversion=9.3.2
99

1010
# Update pip
1111
RUN pip install --upgrade pip

kratos.gid/exec/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
{
44
"name": "Launch via pip on GiDs python",
55
"script": "pip_gids_python",
6-
"pip_packages": "KratosMultiphysics-all==9.3.1",
6+
"pip_packages": "KratosMultiphysics-all==9.3.2",
77
"dependency_check": "Kratos::CheckDependenciesPipGiDsPythonMode"
88
},
99
{
1010
"name": "Launch via pip",
1111
"script": "pip",
12-
"pip_packages": "KratosMultiphysics-all==9.3.1",
12+
"pip_packages": "KratosMultiphysics-all==9.3.2",
1313
"dependency_check": "Kratos::CheckDependenciesPipMode"
1414
},
1515
{

kratos.gid/kratos.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ proc Kratos::InitGlobalVariables {dir} {
191191
# KratosDEMApplication numpy KratosDamApplication KratosSwimmingDEMApplication KratosStructuralMechanicsApplication KratosMeshMovingApplication \
192192
# KratosMappingApplication KratosParticleMechanicsApplication KratosLinearSolversApplication KratosContactStructuralMechanicsApplication \
193193
# KratosFSIApplication==9.0.3]
194-
set pip_packages_required KratosMultiphysics-all==9.3.1
194+
set pip_packages_required KratosMultiphysics-all==9.3.2
195195
}
196196

197197
proc Kratos::LoadCommonScripts { } {

kratos.gid/kratos.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Infoproblemtype version="1.0">
44
<Program>
55
<Name>Kratos</Name>
6-
<Version>9.3.1</Version>
6+
<Version>9.3.2</Version>
77
<ExecutableVersion></ExecutableVersion>
88
<CheckMinimumGiDVersion>16.1.4d</CheckMinimumGiDVersion>
99
<CustomLibAutomatic>0</CustomLibAutomatic>

kratos.gid/scripts/Launch.tcl

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,25 @@ proc Kratos::ExecuteLaunchByMode {launch_mode} {
284284
set bat [dict get $mode script]
285285
set bat_file [file join exec $bat.$os.bat]
286286
}
287-
if {[dict get $mode name] eq "Docker"} {
288-
set docker_image [Kratos::ManagePreferences GetValue docker_image]
289-
set ::env(kratos_docker_image) $docker_image
290-
} elseif {[dict get $mode name] eq {Launch local compiled version}} {
291-
set kratos_bin_path [Kratos::ManagePreferences GetValue kratos_bin_path]
292-
set ::env(kratos_bin_path) $kratos_bin_path
293-
} else {
294-
set python_exe_path [Kratos::ManagePreferences GetValue python_path]
295-
set ::env(kratos_python_exe) $python_exe_path
287+
switch [dict get $mode name] {
288+
Docker {
289+
set docker_image [Kratos::ManagePreferences GetValue docker_image]
290+
set ::env(kratos_docker_image) $docker_image
291+
}
292+
{Launch local compiled version} {
293+
set python_path [Kratos::ManagePreferences GetValue python_path]
294+
set ::env(python_path) $python_path
295+
set kratos_bin_path [Kratos::ManagePreferences GetValue kratos_bin_path]
296+
set ::env(kratos_bin_path) $kratos_bin_path
297+
}
298+
{Launch via pip} {
299+
set python_path [Kratos::ManagePreferences GetValue python_path]
300+
set ::env(python_path) $python_path
301+
}
302+
{Launch via pip on GiDs python} {
303+
W "local"
304+
}
305+
default {}
296306
}
297307
return $bat_file
298308
}

0 commit comments

Comments
 (0)