From ec27e6f51c32cbe0b287c5af7d1a045566f617fc Mon Sep 17 00:00:00 2001 From: Danny Marc Rotscher <danny.rotscher@tu-dresden.de> Date: Fri, 1 Apr 2022 06:50:14 +0200 Subject: [PATCH] Fixed template bugs. --- .../docs/software/fem_software.md | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 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 0201d9ea7..af6b9fb80 100644 --- a/doc.zih.tu-dresden.de/docs/software/fem_software.md +++ b/doc.zih.tu-dresden.de/docs/software/fem_software.md @@ -8,7 +8,9 @@ ```console marie@login$ module avail ANSYS [...] - marie@login$ module load ANSYS/<version> + marie@login$ # module load ANSYS/<version> + marie@login$ # e.g. + marie@login$ module load ANSYS/2020R2 ``` The section [runtime environment](modules.md) provides a comprehensive overview @@ -105,7 +107,9 @@ all data via `-C`. ```console # SSH connection established using -CX -marie@login$ module load ANSYS/<version> +marie@login$ # module load ANSYS/<version> +marie@login$ # e.g. +marie@login$ module load ANSYS/2020R2 marie@login$ runwb2 ``` @@ -113,7 +117,9 @@ 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$ # 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$ runwb2 @@ -153,7 +159,9 @@ parameter (for batch mode), `-F` for your project file, and can then either add unset SLURM_GTIDS # Odd, but necessary! - module load ANSYS/<version> + # module load ANSYS/<version> + # e.g. + module load ANSYS ANSYS/2020R2 runwb2 -B -F Workbench_Taurus.wbpj -E 'Project.Update' -E 'Save(Overwrite=True)' #or, if you wish to use a workbench replay file, replace the -E parameters with: -R mysteps.wbjn @@ -264,10 +272,10 @@ You need a job file (aka. batch script) to run the MPI version. srun mpp-dyna i=neon_refined01_30ms.k memory=120000000 ``` - Submit the job file to the batch system via + Submit the job file named `job.sh` to the batch system via ```console - marie@login$ sbatch <filename> + marie@login$ sbatch job.sh ``` Please refer to the section [Slurm](../jobs_and_resources/slurm.md) for further details and -- GitLab