Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contributed Latest version, combination of tools by github OpenRadioss contributors: hotaosa and PaulAltair

...

Windows gui scripts zip Download (8.4Mb4MB)

Linux gui Scripts zip download (9kB9KB)

...

Installation and Launch

Windows

The script folder (win_scripts_mk3

...

View file
namelinux_scripts_mk3.zip

Installation and Launch

For the windows versions, python is no longer ) should be extracted to the installation folder of OpenRadioss (same level as exec, hm_cfg_files etc), the scripts work only from this directory level currently

...

The initial contents of the folder appear as below, for the windows version, python is not a pre-requisite, the there is an .exe versions version of the guis gui that may be used directly without a python installation, the main gui tool is ‘openradioss_run_script_for_windows_mpi_ps.exe’ and can be launched from windows explorer on double click, the python code is still included for information and the .py script may still be used if python is installed

bash shell, and python with tk is a pre-requisite in linux (python/tk are only needed for windows if running the .py scripts instead of the .exes)

a Windows python installation should include tk by default, but not all linux distros necessarily do, e.g. lubuntu has it, but for ubuntu-mate following is needed

Code Block
sudo apt-get install python3-tk

the script folder (win_scripts, win_scripts_selectmpi or linux_scripts(the 'openradioss_run_script_for_windows_mpi_ps.py’ files is the main python script)

...

It is possible to create shortcut Links for the exe or python tools with the form e.g.:

Target for exe:

full_path_to\win_scripts_mk3\openradioss_run_script_for_windows_mpi_ps.exe

Target for Python:

C:\Windows\pyw.exe “full_path_to\win_scripts_mk3\openradioss_run_script_for_windows_mpi_ps.py"

Start In Folder

full_path_to\win_scripts_mk3\

You may also ‘change icon’ to the one in the included icon folder

...

Linux

The script folder (linux_scripts_mk3) should be extracted to the installation folder of OpenRadioss (same level as exec, hm_cfg_files etc), the scripts work only from this directory level currently

...

bash shell, and python with tk is a pre-requisite in linux

not all linux distros necessarily include python/tk by default, e.g. lubuntu has it is allowed to have both win_scripts versions installed if required

...

In windows, the contents of the folder appear as below, the three ‘….Win.exe’ files are the gui tools, they should launch from explorer on double click (the '….Win.py' files are the python scripts and may be run instead if python is installed on machine)

...

In linux, the 3 ‘…Lin.py’ files are the guis,

...

in order to launch them, but for ubuntu-mate following is needed

Code Block
sudo apt-get install python3-tk

In linux, the content of the linux_scripts_mk3 folder is as below, the ‘openradioss_run_script_for_linux_mpi_ps.py’ file is the main gui,

...

in order to launch it, enter the linux_scripts_mk3 folder in a terminal window open them it with python3, e.g. :

Code Block
languagebash
python3 RunJobScriptLinopenradioss_run_script_for_linux_mpi_ps.py

RunJob Scripts for Windows

...

Script Usage (windows/linux)

The gui takes input file and a number of OMP/MPI processors as arguments, Dyna format input can be run by selecting Dyna file as ‘starter’ input and leaving engine file field empty, NEW for v2: If multiple engine files are selected, they will be run sequentially, if only engine files are (-nt, -np) as arguments, there are also options for running single precision version, and having Anim-vtk and/or TH-csv conversion performed at end of the run.

...

Job Input file can be Radioss format Starter (_0000.rad) Radioss format Engine (_0001.rad, _0002.rad etc.) or Dyna format .k or .key file

All files for a run present in a folder will be submitted, e.g. if Starter, and Engine(s) exist, they will automatically be run sequentially starting from the file chosen.

If an engine file is selected, a restart run can be performed , if only a starter is picked, only starter will run.

...

If the ‘mpiselect’ version is used, an additional option is given in the gui to select the ‘vars.bat’ filepath for intelmpi installation, the path can also be modified inside the .py file if desired to save having to browse to it every time, if the ‘MPI processes’ field is set to 1 or left blank, the gui will run OMP version instead

...

from that engine file.

If -np is 1 then the SMP (OMP) version of OpenRadioss is run, if -np is > 1 then the SPMD (MPI) version of OpenRadioss is run

Note: In Windows version only: On first attempt to submit an mpi run (-np > 1) you will be prompted to locate a suitable vars.bat file on your machine, once selected, this is remembered (to reset, delete the created ‘path_to_mpi_vars.txt’ file from the install directory, or edit its contents)

  • Image Added

unJob Script for Linux

The linux version of the runjob script, also supports running mpi version if openmpi is installed and configured

...

if the ‘MPI processes’ field is set to 1 or left blank, OMP version will be used

...

Anim-vtk Script

The ANIM-vtkScript….py opens a file selection dialog that takes ‘Annn’ files as input and converts to vtk for post processing in ParaView

T01-csv Script

The T01-csvScript….py opens a file selection dialog that takes ‘T0n’ files as input and converts to csv for post processing in ParaView

...