Supercomputing Networking Research Education Ohio Supercomputer Center Site Map Staff Directory Support
Supercomputing image

COMSOL

Introduction

COMSOL Multiphysics (formerly FEMLAB) is a finite element analysis and solver software package for various physics and engineering applications, especially coupled phenomena, or multiphysics. owned and supported by COMSOL, Inc.

Version

COMSOL is currently only supported on the Glenn Cluster and the BALE cluster. The versions currently available at OSC are 3.4 and 3.5a

Availability

COMSOL is available on Glenn Cluster and the BALE Cluster.

Usage

COMSOL is for academic use only.

To select a COMSOL version type: module load comsol. Use module avail to view available modules for a given machine.

Sample Batch Script (single processor analysis)

When you log into glenn.osc.edu, you are actually logged into a quad processor linux box. To gain access to the 4000+ processors in the computing environment, you must submit your COMSOL analysis to the batch system for execution. For example, assume that you have had a comsol script file mycomsol.m in the direcory $PBS_O_WORKDIR. In this directory, a batch script that would contain the following information:

#PBS -N testing
#PBS -l walltime=10:00:00
#PBS -l nodes=1:ppn=4
#PBS -j oe
#

# The following lines set up the COMSOL environment
#
module load comsol35a
#
# Move to the directory where the job was submitted
#
cd $PBS_O_WORKDIR
cp *.m $TMPDIR
cd $TMPDIR
#
# Run COMSOL
#
comsol batch mycomsol
#
# Now, copy data back once the simulation has completed
#
pbsdcp * $PBS_O_WORKDIR

Documentation

Online documentation is available at: http://www.osc.edu/supercomputing/manuals.