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.
How to use 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
and then run comsol
$ comsol
An error my occurs, we need then to use the disable 3D rendering.
$ comsol -3drend sw
This will open main comsol graphical interface.
Batch mode
Batch mode = run comsol using command line in a computing node using SGE.
SGE script
Sequential version (1 core)
here is a example of SGE script to use
#!/bin/bash #$ -o $JOB_NAME.o$JOB_ID #$ -N job_comsol_batch #$ -q all.q #$ -l h_vmem=10G # modify here module load comsol/5.4 comsol batch -inputfile shallow_water.mph -outputfile result.mph
Parallel multi-core version
#!/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