Comsol workshop 10.12.2015

From ScientificComputing
Jump to: navigation, search

Introduction

The HPC group of IT services and COMSOL Switzerland organized a COSMOL cluster workshop at ETH which took place on December 10th in the Computerroom HG E 26.1. We are thanking Sven Friedel, Pär Persson Mattson and Christoph Gordalla from COMSOL for setting up this workshop together with the HPC group and for providing the additional licenses that were used during the workshop.

Disclaimer

The presentations from COMSOL are only allowed to be distributed internally within ETH

Agenda

Begin End Description
09:00 10:00 Euler introduction (login, file transfer, modules, jobs)
10:00 10:15 Break
10:15 11:15 Parallel computing in theory and practice
11:15 11:30 Break
11:30 12:30 Comsol introduction and examples
12:30 13:30 Lunch break
13:30 14:30 Solvers and their impact on parallelism
14:30 14:45 Break
14:45 15:45 The LiveLink for MATLAB in the context of HPC
15:45 16:00 Break
16:00 17:00 Debugging, scalability, tips&tricks
17:00 17:15 End & farewell

Examples

The example files for the exercises that COMSOL provided for the workshop are saved on the Cluster in a tar archive and can be copied with the following commands.

Create a directory on Euler:

mkdir comsol_examples

Extract the examples:

cd comsol_examples
tar zxvf /cluster/apps/comsol/workshop/HPC_Exercises_ETH.tar.gz

Slides

The PDF version of the slides that were shown at the workshop can be downloaded here:

Comsol_wokshop_Euler_introduction.pdf

Comsol_HPC_slides_ETH_final.pdf

Comsol_LiveLink_for_Matlab.pdf

Please be aware that some of the PDF's are marked as drafts and will at a later stage be replaced with the final version.

Other files

The COMSOL LSF wrapper script can be copied from:

/cluster/apps/comsol/5.2/x86_64/bin/comsol_lsf_wrapper.sh

If you use WinSCP to copy the file to your home directory, then it will be encoded in the dos text format. Therefore you need to use the dos2unix command to convert it to unix text encoding format:

[sfux@euler05 ~]$ dos2unix comsol_lsf_wrapper.sh 
dos2unix: converting file comsol_lsf_wrapper.sh to UNIX format ...
[sfux@euler05 ~]$

COMSOL 5.2 that was used during the workshop

The COMSOL module comsol/workshop that was created for the workshop will still available until the end of 2015. Afterwards the name of the module will be changed to 5.2.