Skip to content

GetDP and Gmsh

Hostgroups

These features are available for the following hostgroups and their respective subhostgroups:

  • machine_protection/linux

If you need to use the GUI for either of the two, please use the following hostgroups and their respective subhostgroups:

  • machine_protection/linux/ts

GetDP and Gmsh can both run on any of the Linux machines. However, if you need to use the GUI for either of them, it is best to use them from a desktop environment such as XFCE, although direct X forwarding would also work.

GetDP is provided as a Linux binary on the STEAM EOS. However, due to restrictions on opening TCP/IP sockets on EOS, it needs to be copied to another directory where this sort of communication is possible, e.g. your personal $HOME. There exists a shell script which simply needs to be sourced that will take care of the setup and allow you to use the software easily (see below).

Gmsh is provided as a Python package as part of a custom Python environment which is setup for the use of the combination of Gmsh and getdp, especially by making Gmsh's Python API available.

See the documentation page to identify the available general purpose Linux VMs of the node or ts subhostgroups.

Running Gmsh

Gmsh website and user forum

Please refer to the official Gmsh website and issue tracker for additional information.

Gmsh is provided as a Python package in a custom Python environment as part of STEAM-FiQuS. This environment can be activated by running

source steam-fiqus-dev/misc/init_scripts/initFiQuSEnv.sh 

Confirm the proper setup by running

which gmsh
which should point to /eos/project-s/steam/sw/gmshEnv/bin/gmsh. You can then run models either using Gmsh's API like this
python3 file.py
or open Gmsh's GUI by calling
gmsh 
Both methods can be used in combination with GetDP as detailed below.

Running GetDP

GetDP website, user forum and CERNGetDP repository

Please refer to the official GetDP website and issue tracker for additional information. The CERN-specific version of GetDP (CERNGetDP) is kept in a Gitlab repository.

The GetDP binary is located at /eos/project/s/steam/sw/bin. However, due to restrictions to have socket files on EOS, it cannot be run from there in a GUI (CLI works). In order to circumvent this problem by copying the GetDP binary to your $HOME and adding this binary to your $PATH, please run (if you haven't already when setting up Gmsh)

source steam-fiqus-dev/misc/init_scripts/initFiQuSEnv.sh 

Confirm the proper setup by running

which getdp
which should point to $HOME/bin/getdp if everything was installed correctly. You can then run a model in a terminal by calling
getdp file.pro [options]
or in Gmsh's GUI. The latter can be opened as described above and should ask you for the location of the GetDP binary, where you should provide the copied binary, i.e. $HOME/bin/getdp.

Running GetDP using a standalone binary

In addition to using the STEAM EOS binary for GetDP on the MPE Linux VMs, it is also possible to use standalone binaries of the CERN-specific version of GetDP. These can be found at /eos/project/s/steam/sw/snapshots/cerngetdp or /eos/project/s/steam/sw/releases/cerngetdp for the latest snapshot or releases, respectively. Furthermore, you will need a running Gmsh which you can either download as a binary from the official GetDP website or as a Python package:

pip install --upgrade gmsh