Versions Compared

Key

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

Latest version of the gui scripts, this is a combination of tools by github OpenRadioss contributors: hotaosa and PaulAltair

...

Linux gui Scripts zip download (9KB)

Installation and Launch

Windows Installation and Launch

The script folder (win_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

...

The initial contents of the folder appear as below, for the windows version, python is not a pre-requisite, there is an .exe version of the 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 (the 'openradioss_run_script_for_windows_mpi_ps.py’ files is the main python script)

...

Windows Desktop Shortcut (Optional)

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

...

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

...

Linux Installation and Launch

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

...

Code Block
languagebash
python3 openradioss_run_script_for_linux_mpi_ps.py

Linux Desktop Shortcut (Optional)

It is possible to create a clickable desktop/menu icon for linux:

add/create a file: ./local/share/applications/openradioss.desktop (make executable)
content of form e.g.:

Code Block
[Desktop Entry]
Type=Application
Name=OpenRadioss
Exec=bash -c "cd /home/user/OpenRadioss/linux_scripts_mk3 && /usr/bin/python3 /home/user/OpenRadioss/linux_scripts_mk3/openradioss_run_script_for_linux_mpi_ps.py"
Icon=/home/user/OpenRadioss/linux_scripts_mk3/icon/ross.png

This will add a shortcut to desktop, menus: then can be pinned to desktop also:

...

Script Usage (windows/linux)

The gui usage is the same in both linux and windows, the gui takes input file and a number of OMP/MPI processors (-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.

...

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 Removed

unJob Script for Linux

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

OMP threads (nt) and MPI processes (np) can both be chosen, default is 1 and 1 (single processor OMP)

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

Note

Known Limitations

Only a single engine file is supported v2 allows multiple engine files, or only engine files (restarts)

Filepaths for selected files may not include spaces in Linux (ok in Windows)

If Filepath has spaces in windows for the converter scripts, they run twice!

See also:

...

If ‘sp’ box is checked, the extended single precision version of OpenRadioss will be run (if self compiling, this version is not compiled by default, see compilation guides)

If ‘Anim - vtk’ box is checked, at the conclusion of the run, all animation files will be converted to vtk

If ‘TH - csv’ box is checked, at the conclusion of the run, all time history files will be converted to csv

it is possible to submit further jobs after the first and they will be queued for running when the currently running job completes, the queue can be checked and edited, by clicking the ‘Show Queue’ button, the Queue shows jobs queued along with the options chosen

...