Ceci est une ancienne révision du document !
Comsol 5.4
- Only Femto-ST researchers are allowed to use this version.
- License server is hosted on Femto-ST server. Make sure that you have access.
Available Modules
- AC/DC
- Acoustics
- CFD
- Heat Transfer
- MEMS
- Microfluidics
- Nonlinear Structural Materials
- RF
- Structural Mechanics
- CAD Import
- LiveLink for Matlab
How to use Comsol?
Since HOME directory is read only on the computing node. We need to setup the .comsol
folder to be located on the WORK folder.
Execute this command only once the first time you log in:
$ module load comsol/5.4 $ meso-setup-comsol
Interactive mode
Connect to mesoshared node using X2GO to use the interactive mode (graphical mode).
Open a terminal and load the right version:
$ module load comsol/5.4
By default comsol will use all available cores on the node.
We need to provide the number of cores to use with
-np option
For example run comsol using 16 cores.
$ comsol -np 16
If an error my occurs, we need then to use the disable 3D rendering:
$ comsol -np 16 -3drend sw
Batch mode
Batch mode = run comsol using command line in a computing node using SGE.
SGE script
Parallel multi-core version
This script will use the entire node i.e 16 cores and 64G of memory.
#!/bin/bash #$ -o $JOB_NAME.o$JOB_ID #$ -N job_comsol_batch #$ -q all.q #$ -pe openmp 16 #$ -l h_vmem=4G module load comsol/5.4 comsol batch -np $NSLOTS -inputfile shallow_water.mph -outputfile result.mph
submit script by:
$ qsub script.sge
