COMSOL

Availability

Licences

comsol --help

Will display a list of COMSOL batch commands.

Useful Links

Example Script


#!/bin/bash -e
#==========================================#
#SBATCH --job-name          COMSOL_run1
#SBATCH --time              05:00:00
#SBATCH --cpus-per-task     8       #Remember to halve with #nomultithread
#SBATCH --mem               10G
#SBATCH --output            COMSOL-%j.out
#SBATCH --hint nomultithread #SBATCH --licenses comsol@uoa_physics #==========================================# INPUT_FILE="/nesi/project/nesi99999/input.mph" OUTPUT_FILE="/nesi/nobackup/nesi99999/output.mph" #==========================================# cat ${0} module load COMSOL/5.3 comsol batch -inputfile $INPUT_FILE -outputfile "output${SLURM_JOBID}.mph"

 

Resource requirements


COMSOL does not support MPI therefore #SBATCH --ntasks should never be greater than 1.

Memory requirements depend on job type, but will scale up with number of CPUs ≈ linearly.

Hyper-threading can benefit jobs using less than 8 CPUs, but is not recommended on larger jobs.

Performance is highly depended on the model used. The above should only be used as a very rough guide.

speedup_smoothed.png

Labels: engineering COMSOL
Was this article helpful?
1 out of 1 found this helpful
a.homepage:before