Parallel COMSOL computation on a cluster

Description

This is a brief step-by-step tutorial presenting an example approach for running massively parallel parametric sweeps with COMSOL Multiphysics on a computer cluster. The tutorial is written for the COMSOL version 6.0 and for the Aalto University's Triton cluster (which uses SLURM workload manager). However, the described approach is rather general and can be adjusted to other COMSOL versions and other cluster systems. It can serve as an alternative to the default parallel computation approaches, such as Cluster Sweep and Batch Sweep. The tutorial describes: * setting up the folder structure when using COMSOL on a cluster for the first time, * checking the available COMSOL licenses, * setting up parallel computations using SLURM job arrays together with COMSOL batch licenses, * collecting the results using accumulated probe tables, * managing the workflow with batch submission scripts, * examples of Python scripts for reading and plotting the results.
Show more

Year of publication

2023

Type of data

Authors

Department of Applied Physics

Radoslaw Kolkowski Orcid -palvelun logo - Publisher, Creator

Project

Other information

Fields of science

Computer and information sciences

Language

English

Open access

Open

License

Creative Commons Attribution 4.0 International (CC BY 4.0)

Keywords

accumulated probe table, parametric sweep, -paramfile, slurm job array, slurm_array_task_id, -usebatchlic, batch script, comsol batch license, comsol tutorial

Subject headings

numerical methods

Temporal coverage

undefined

Related to this research data