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 0e8cd38df747b95e22338a561ecb59b086dd9751..a90b138d04174517575011e84fcfcad639f1035b 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" @@ -309,27 +321,14 @@ firewall of ZIH. For further information, please refer to the COMSOL manual. ??? example "Server Process" - Start the server process with 4 cores, 10 GB RAM and max. 8 hours running time using an + Start the server process with 2 cores, 4 GB RAM and max. 2 hours running time using an interactive Slurm job like this: ```console marie@login$ module load COMSOL - marie@login$ srun --ntasks=1 --cpus-per-task=4 --mem-per-cpu=2500 --time=08:00:00 comsol -np 4 server - ``` - -??? example "Interactive Job" - - If you'd like to work interactively using COMSOL, you can request for an interactive job with, - e.g., 4 cores and 2500 MB RAM for 8 hours and X11 forwarding to open the COMSOL GUI: - - ```console - marie@login$ module load COMSOL - marie@login$ srun --ntasks=1 --cpus-per-task=4 --mem-per-cpu=2500 --time=08:00:00 --pty --x11=first comsol -np 4 + marie@login$ srun --ntasks=1 --cpus-per-task=2 --mem-per-cpu=4096 --time=02:00:00 --pty --x11=first server -np 2 ``` - Please make sure, that the option *Preferences* --> Graphics --> *Renedering* is set to *software - rendering*. Than, you can work from within the campus network. - ??? example "Background Job" Interactive working is great for debugging and setting experiments up. But, if you have a huge @@ -350,6 +349,29 @@ firewall of ZIH. For further information, please refer to the COMSOL manual. srun comsol -mpi=intel batch -inputfile ./MyInputFile.mph ``` +### Interactive Usage with X11 Forwarding + +=== "starter script" + + ```console + marie@login$ start_comsol.sh + ``` + +=== "customized startup" + + If you'd like to work interactively using COMSOL, you can request for an interactive job with, + e.g., 4 cores and 2500 MB RAM for 8 hours and X11 forwarding to open the COMSOL GUI: + + ```console + marie@login$ module load COMSOL + marie@login$ srun --ntasks=1 --cpus-per-task=2 --mem-per-cpu=2500 --time=01:00:00 --pty --x11=first comsol -np 2 + ``` + +!!! note + + Please make sure, that the option *Preferences* --> Graphics --> *Renedering* is set to *software + rendering*. Than, you can work from within the campus network. + ## LS-DYNA [LS-DYNA](https://www.dynamore.de/de) is a general-purpose, implicit and explicit FEM software for