diff --git a/docs.it4i/software/tools/ansys/ansys-mechanical-apdl.md b/docs.it4i/software/tools/ansys/ansys-mechanical-apdl.md index c2e683dcada0db93a321e412baa48d538b484493..273bfbf8064df77c19e748ce270bd3fbc2cb03d3 100644 --- a/docs.it4i/software/tools/ansys/ansys-mechanical-apdl.md +++ b/docs.it4i/software/tools/ansys/ansys-mechanical-apdl.md @@ -8,6 +8,7 @@ including direct coupled-field elements and the ANSYS multi-field solver. To run ANSYS MAPDL in batch mode you can utilize/modify the default `mapdl.slurm` script and execute it via the `sbatch` command: ```bash +#!/bin/bash #SBATCH --nodes=5 # Request 5 nodes #SBATCH --ntasks-per-node=128 # Request 128 MPI processes per node #SBATCH --job-name=ANSYS-test # Job name @@ -16,12 +17,6 @@ To run ANSYS MAPDL in batch mode you can utilize/modify the default `mapdl.slurm #SBATCH --output=%x-%j.out # Output log file with job name and job ID #SBATCH --time=04:00:00 # Walltime -#!/bin/bash -#PBS -l select=5:ncpus=128:mpiprocs=128 -#PBS -q qprod -#PBS -N ANSYS-test -#PBS -A XX-YY-ZZ - #!change the working directory (default is home directory) #cd <working directory> (working directory must exists) DIR=/scratch/project/PROJECT_ID/$SLURM_JOB_ID