Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:comsol [2023/07/05 10:06] – amelic | doku:comsol [2024/04/03 07:18] – [COMSOL] amelic | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== COMSOL ====== | ====== COMSOL ====== | ||
+ | Here's how to launch Comsol in interactive mode < | ||
- | The following case is provided here including the directories-structure\\ | + | |
+ | |||
+ | The following case is provided here including the directories-structure | ||
and the appropriate batch-file: {{ : | and the appropriate batch-file: {{ : | ||
Line 37: | Line 40: | ||
#SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
- | #SBATCH --ntasks-per-node=10 | + | #SBATCH --ntasks-per-node=4 |
#SBATCH --job-name=" | #SBATCH --job-name=" | ||
#SBATCH --partition=zen3_0512 | #SBATCH --partition=zen3_0512 | ||
Line 43: | Line 46: | ||
export I_MPI_PIN_RESPECT_CPUSET=0 | export I_MPI_PIN_RESPECT_CPUSET=0 | ||
- | export I_MPI_PIN_PROCESSOR_LIST=0-9 | + | export I_MPI_PIN_PROCESSOR_LIST=0-3 |
module purge | module purge | ||
Line 66: | Line 69: | ||
# Example command for VSC5 | # Example command for VSC5 | ||
- | comsol -mpi intel -np 10 -nn 10 batch slurm -inputfile ${INPUTFILE} -outputfile ${OUTPUTFILE} -batchlog ${BATCHLOG} -alivetime 600 | + | comsol -mpi intel -np 4 -nn 4 batch slurm -inputfile ${INPUTFILE} -outputfile ${OUTPUTFILE} -batchlog ${BATCHLOG} -alivetime 600 |