Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:cfd [2021/10/08 07:08] – [COMSOL] sfrankdoku:cfd [2021/10/22 06:11] – [Using a shared node] sfrank
Line 235: Line 235:
 ====== COMSOL ====== ====== COMSOL ======
  
-The following case is provided here including the directories-structure and the appropriate batch-file: {{ :doku:karman.rar |}}+The following case is provided here including the directories-structure\\ 
 +and the appropriate batch-file: {{ :doku:karman.rar |}}
  
 ===== Module ===== ===== Module =====
Line 303: Line 304:
 -tmpdir "/local" -tmpdir "/local"
 </code> </code>
 +
 +===== Submit job =====
 +
 +<code>
 +sbatch karman.job
 +</code>
 +
 +==== Using a shared node ====
 +
 +If your case isn't that demanding on hardware and you are interested in a fast solution, it is possible to use one of the shared nodes. These are non-exclusive nodes, thus more than just one job is able to use the provided hardware.
 +On these nodes you have to tell SLURM, how much memory (RAM) your case would need. This value should be less than the maximum of 96GB these nodes uses. Otherwise your job needs a whole node anyway.
 +Here we use --mem=20G, to dedicate 20GB of memory.
 +
 +<code>
 +#!/bin/bash
 +# slurmsubmit.sh
 +
 +#SBATCH -n 1
 +#SBATCH --ntasks-per-node=1
 +#SBATCH --job-name="clustsw"
 +#SBATCH --qos=mem_0096
 +#SBATCH --mem=20G
 +
 +hostname
 +
 +module purge
 +module load Comsol/5.6
 +module list
 +.
 +.
 +.
 +</code>
 +
 +
 +----
 +
 +
  
 {{ :doku:karman3.gif?nolink |}} {{ :doku:karman3.gif?nolink |}}
 +
 +
 +----
 +
 +
  
  • doku/cfd.txt
  • Last modified: 2023/12/23 09:58
  • by amelic