Skip to content

CST Studio

Computer Simulation Technology (CST) Studio offers accurate, efficient computational solutions for electromagnetic design and analysis.

CST Studio is available as a Singularity container on Apocrita.


To run the default version of CST Studio, simply load the cst_studio module:

$ module load cst_studio
$ cst_studio cst_design_environment --help

CST STUDIO options:

STUDIO options:
  --m                                   Starts CST MICROWAVE STUDIO
  --s                                   Starts CST EM STUDIO
  --t                                   Starts CST PARTICLE STUDIO
  --mp                                  Starts CST MPHYSICS STUDIO
  --c                                   Starts CST DESIGN STUDIO

The above output has been truncated, run the cst_design_environment --help command within the container to see the full list of available options.

Example jobs

In the examples below, replace SOLVERS with the CST solvers you wish to use.

Serial job

Here is an example job running on 1 core and 5GB of memory:

#$ -cwd
#$ -j y
#$ -pe smp 1
#$ -l h_vmem=5G

module load cst_studio

cst_studio cst_design_environment \
    --numthreads ${NSLOTS} \
    SOLVERS input_file.cst

GPU job

Here is an example job running on 8 cores and 1 GPU:

#$ -cwd
#$ -j y
#$ -pe smp 8
#$ -l gpu=1
#$ -l h_vmem=7.5G

module load cst_studio
module load cuda

singularity run --nv $(which cst_studio) \
  cst_design_environment \
    --numthreads ${NSLOTS} \
    -withgpu=1 \
    SOLVERS input_file.cst

When running a GPU job, ensure you have the following in your job script:

  • A cuda module loaded.
  • The --nv switch after cst_studio to allow the container to use the GPU devices.
  • The -withgpu=X, where X is the number of GPUs requested.