This page provides information on how to use COMSOL-4.2 Multiphysics on NCSA's SGI Altix UV (Ember).
In addition, it is needed that the user
sends an email to flow@ncsa.uiuc.edu
indicating their intent to use this software. The login of the user will then
be included in the software access list. This information
is essential for deciding the number of licenses that NCSA must purchase
every year, for the use of these commercial packages.
If you have any questions about the information on this page, please email
flow@ncsa.uiuc.edu.
COMSOL Multiphysics-4.2 is a finite element analysis, solver and Simulation software / FEA Software package for various physics and engineering applications, especially coupled phenomena, or multiphysics. COMSOL Multiphysics also offers an extensive interface to MATLAB and its toolboxes for a large variety of programming, preprocessing and postprocessing possibilities.
The COMSOL Multiphysics simulation software environment facilitates all steps in the modeling process - defining the geometry, meshing, specifying the physics, solving, and then visualizing the results.
Model set-up is quick using number of predefined physics interfaces for applications ranging from fluid flow and heat transfer to structural mechanics and electromagnetic analyses. Material properties, source terms and boundary conditions can all be arbitrary functions of the dependent variables.
Predefined multiphysics-application templates solve many common problem types. You also have the option of choosing different physics and defining the interdependencies yourself. Or you can specify your own partial differential equations (PDEs) and link them with other equations and physics.
-----------------------------------
To use COMSOL Multiphysics-4.2 on NCSA's SGI Altix UV (Ember),
Load the following modules in the same window where COMSOL will be launched;
module load cfd/COMSOL-4.2
module load perfboost-1.03
module load sgi-mpt-2.03
To start COMSOL Multiphysics-4.2 from the command line, run the following command;
- comsol
This will enable you to launch COMSOL Multiphysics-4.2.
Script for Running COMSOL Multiphysics-4.2 Batch Jobs on SGI Altix UV (Ember) at NCSA
A copy of this script may be obtained from /gpfs1/apps/cfd/COMSOL-4.2/NCSA-Example-Scripts
directory.
#!/bin/tcsh
# Sample Batch Script for running serial/parallel COMSOL-4.2 jobs on NCSA's SGI Altix (Ember)
# Please save this script into a file called (COMSOL41.script) and Submit this script using the command: qsub COMSOL42.script
#
# Use the "qstat" command to check the status of a job.
#
# The following are embedded QSUB options. The syntax is #PBS (the # does
# _not_ denote that the lines are commented out so do not remove).
#
# walltime : maximum wall clock time (hh:mm:ss)
#PBS -l walltime=00:30:00
#
# nodes: number of 8-core nodes
#PBS -l ncpus=4
#PBS -l mem=8gb
#
# export all my environment variables to the job
#PBS -V
#
# job name (default = name of script file)
#PBS -N sgi-Test
#
#
# filename for standard output (default = .o)
# at end of job, it is in directory from which qsub was executed
# remove extra ## from the line below if you want to name your own file
#PBS -o testjob.out
#
# filename for standard error (default = .e)
# at end of job, it is in directory from which qsub was executed
# remove extra ## from the line below if you want to name your own file
#PBS -e testjob.err
#
# End of embedded QSUB options
#
#
# Creating a "pnodes" file which lists all processors of the nodes assigned
# for the run which are available for spawning the nodes.
# This could be done automatically by submitting the following commands;
#
#
# set echo # echo commands before execution; use for debugging
#cd to your working directory where you have the COMSOL input file
#cd Your_Working_Directory. Example is below;
cd /gpfs1/u/ncsa/ataha/COMSOL
#
# Loading modules;
module load cfd/COMSOL-4.2
module load perfboost-1.03
module load sgi-mpt-2.03
#
setenv COMSOL_NUM_THREADS 4
#
#mkdir MyRun # Create a directory for your runs
#cd MyRun # cd to the MyRun directory
#cp $HOME/my_default_input_files . # Copy your relevant fluent files
# from your home directory here
#
#
#The following is a generic command. In order to get this command working;
#please decide if you want to run the 2d, 2ddp, 3d OR 3ddp solver and
#The Option (-np 4) specifies the no. of processors to be used.
#The option (-inputfile) directs Comsol to read the input file (model_in.mph). Change it to your model name.
#The option (-outputfile) directs Comsol to read the input file (model_out.mph).
#Example is below;
comsol batch -np 4 -inputfile model_in.mph -outputfile model_out.mph
|
COMSOL Multiphysics-4.2 is a product of COMSOL Multiphysics
Top