From 3cba17841acf0d220b2ca15bddf30951be1e5cfa Mon Sep 17 00:00:00 2001 From: Guilherme Calandrini <gupa977e@tu-dresden.de> Date: Thu, 7 Mar 2024 13:10:23 +0100 Subject: [PATCH] fixes for ANSYS workbench --- .../docs/software/fem_software.md | 46 ++++++++++++------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/software/fem_software.md b/doc.zih.tu-dresden.de/docs/software/fem_software.md index 0e8cd38df..a5f40cf23 100644 --- a/doc.zih.tu-dresden.de/docs/software/fem_software.md +++ b/doc.zih.tu-dresden.de/docs/software/fem_software.md @@ -10,7 +10,7 @@ [...] marie@login$ # module load ANSYS/<version> marie@login$ # e.g. - marie@login$ module load ANSYS/2020R2 + marie@login$ module load ANSYS/2022R2 ``` The section [runtime environment](modules.md) provides a comprehensive overview @@ -100,29 +100,41 @@ start a Ansys workbench on the login nodes interactively for short tasks. The se ### Using Workbench Interactively -Ansys workbench (`runwb2`) can be invoked interactively on the login nodes of ZIH systems for short tasks. -[X11 forwarding](../access/ssh_login.md#x11-forwarding) needs to enabled when establishing the SSH -connection. For OpenSSH the corresponding option is `-X` and it is valuable to use compression of -all data via `-C`. +Ansys workbench (`runwb2`) can be invoked interactively on the login nodes of ZIH systems for short +tasks. -```console -# SSH connection established using -CX -marie@login$ # module load ANSYS/<version> -marie@login$ # e.g. -marie@login$ module load ANSYS/2020R2 -marie@login$ runwb2 -``` +!!! note + + [X11 forwarding](../access/ssh_login.md#x11-forwarding) needs to enabled when establishing the + SSH connection. For OpenSSH the corresponding option is `-X` and it is valuable to use + compression of all data via `-C`. + +=== "startup script" + + ```console + [marie@login ~]$ start_ansysworkbench.sh + ``` + +=== "customized start" + + ```console + # SSH connection established using -CX + [marie@login$ ~]$ # module load ANSYS/<version> + [marie@login$ ~]$ # e.g. + [marie@login$ ~]$ module load ANSYS/2022R2 + [marie@login$ ~]$ runwb2 + ``` If more time is needed, a CPU has to be allocated like this (see [batch systems Slurm](../jobs_and_resources/slurm.md) for further information): ```console -marie@login$ # module load ANSYS/<version> -marie@login$ # e.g. -marie@login$ module load ANSYS/2020R2 -marie@login$ srun --time=00:30:00 --x11=first [SLURM_OPTIONS] --pty bash +[marie@login$ ~]$ # module load ANSYS/<version> +[marie@login$ ~]$ # e.g. +[marie@login$ ~]$ module load ANSYS/2023R1 +[marie@login$ ~]$ srun --time=00:30:00 --x11=first [SLURM_OPTIONS] --pty bash [...] -marie@compute$ runwb2 +[marie@compute$ ~]$ runwb2 ``` !!! hint "Better use DCV" -- GitLab