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/07/05 10:06] amelicdoku:comsol [2024/04/03 07:18] – [COMSOL] small changes amelic
Line 1: Line 1:
 ====== COMSOL ====== ====== COMSOL ======
 +Here's how to launch Comsol in interactive mode<html><b><font color=#cc3300>read here &#8611;</b></font></html> [[https://colab.tuwien.ac.at/display/IAVSC/COMSOL|IAVSCCOMSOL]]. Additionally, there are instructions to batch scripts too, and note that Comsol supports multiple MPI versions.
  
-The following case is provided here including the directories-structure\\+ 
 + 
 +The following case is provided here including the directories-structure solely for the purpose of demonstrating how to use Comsol on a cluster.\\
 and the appropriate batch-file: {{ :doku:karman.rar |}} and the appropriate batch-file: {{ :doku:karman.rar |}}
  
Line 37: Line 40:
  
 #SBATCH --nodes=1 #SBATCH --nodes=1
-#SBATCH --ntasks-per-node=10+#SBATCH --ntasks-per-node=4
 #SBATCH --job-name="karman" #SBATCH --job-name="karman"
 #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 -nn batch slurm -inputfile ${INPUTFILE} -outputfile ${OUTPUTFILE} -batchlog ${BATCHLOG} -alivetime 600
  
  
  • doku/comsol.txt
  • Last modified: 2024/04/25 09:42
  • by amelic