Documentation:Comsol

Please complete
COMSOL Multiphysics is an engineering, design, and finite element analysis software environment for the modeling and simulation of any physics-based system.

This documentation is valid for

Important info
Comsol writes to the ~/.comsol directory, which is in home, which is read-only from the nodes. Thus, if run from the nodes, errors will occur (JVM and GTK errorfest). Before launching Comsol for the first time, please do the following:

mkdir /scratch/USERNAME/.comsol cd ln -s /scratch/USERNAME/.comsol.

Tips
Queue name in these examples is to be specified via command line, for example

qsub -q Q_free comsol.job


 * Batch mode: use the following PBSPro script:

# module load comsol cd $PBS_O_WORKDIR comsol batch -inputfile test2.mph -outputfile out.mph -batchlog out.log
 * 1) !/bin/bash
 * 1) PBS -l walltime=00:10:01
 * 2) PBS -l select=1:ncpus=16:mpiprocs=16
 * 3) PBS -N Comsol

comsol matlab -ml -nodesktop -ml -nosplash -mlr lescriptmatlab
 * With matlab :
 * How can I run COMSOL Multiphysics computations in batch mode?