Help:Comsol

From CECS wiki
Jump to navigation Jump to search

The COMSOL Multiphysics simulation software environment facilitates all steps in the modeling process − defining your geometry, meshing, specifying your physics, solving, and then visualizing your results.

Vendor homepage
http://www.comsol.com/
Software availability
MMAE / Q. Chen, ECE/ Dr. Liou, others.

Additional notes[edit]

Use with SGE[edit]

Cluster use requires batch mode using SGE.

Suggested single node batch file.
NOTE: change version number in PATH line below as appropriate.
Available versions: 40 41

#$ -pe orte-one 4
#$ -cwd
#$ -S /bin/sh
#$ -l comsol=1

export PATH=/share/apps/comsol40a/bin:$PATH
set -x 
comsol mpd mpd &
comsol -np 4 batch -inputfile "$@"
comsol mpd allexit

(The following is partly wrong and needs to be adapted for SGE.) For multinode (more than 4 cpus) use, set up a mpd secrets file and use some of these options (untested)... (also need to generate an MPD compatible hosts file)

comsol -nn NumNodes mpd boot -f hostlist -mpirsh ssh
comsol -nn ## -np server
comsol -np NumProcs batch input