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:comsol [2023/05/30 08:21] amelicdoku:comsol [2024/04/03 07:55] – [COMSOL] amelic
Line 1: Line 1:
 ====== COMSOL ====== ====== COMSOL ======
 +More information about Comsol GUI applications and Comsol batch jobs here: [[https://colab.tuwien.ac.at/display/IAVSC/Comsol|TUCOLAB- Comsol]] 
  
-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: {{ :doku:karman.rar |}} 
-and the appropriate batch-file: {{ :doku:karman.rar |}}+ solely for the purpose of demonstrating how to use Comsol on a cluster.\\
  
 ===== Module ===== ===== Module =====
Line 11: Line 12:
 module avail Comsol module avail Comsol
 </code> </code>
-Currently on VSC-4, these versions can be loaded:+Currently on VSC-4 and VSC-5, these versions can be loaded:
   * Comsol/5.5   * Comsol/5.5
   * Comsol/5.6   * Comsol/5.6
Line 37: Line 38:
  
 #SBATCH --nodes=1 #SBATCH --nodes=1
-#SBATCH --ntasks-per-node=24+#SBATCH --ntasks-per-node=4
 #SBATCH --job-name="karman" #SBATCH --job-name="karman"
-#SBATCH --partition=skylake_0384 +#SBATCH --partition=zen3_0512 
-#SBATCH --qos=skylake_0384+#SBATCH --qos=zen3_0512_devel 
 + 
 +export I_MPI_PIN_RESPECT_CPUSET=0 
 +export I_MPI_PIN_PROCESSOR_LIST=0-3
  
 module purge module purge
-module load Comsol/5.6+module load intel-mpi/2021.5.0  
 +module load Comsol/6.1
  
 MODELTOCOMPUTE="karman" MODELTOCOMPUTE="karman"
Line 60: Line 65:
 echo "and the usual slurm...out" echo "and the usual slurm...out"
  
-# Example command line for VSC5 +# Example command for VSC5 
-# COMSOL's internal command for number of nodes -np-nnhost, ... are deduced from SLURM + 
-comsol batch slurm -nn 24 -inputfile ${INPUTFILE} -outputfile ${OUTPUTFILE} -batchlog ${BATCHLOG} -alivetime 15 -recover -mpidebug 10+comsol -mpi intel -np -nn 4 batch slurm -inputfile ${INPUTFILE} -outputfile ${OUTPUTFILE} -batchlog ${BATCHLOG} -alivetime 600 
  
-# Example for VSC 4 @ [https://colab.tuwien.ac.at/display/IAVSC/COMSOL TUCOLAB] 
 </code> </code>
  
  • doku/comsol.txt
  • Last modified: 2024/04/25 09:42
  • by amelic