Ceci est une ancienne révision du document !
Fenics 2017
The new Fenics version is installed within Singularity container.
How to use Fenics (interactive mode)
First load the singularity container:
$ module load tools/singularity
Than we invoke the fenics image to execute a python program:
$ singularity exec $SING_SPOOL/fenics.img python poisson.py
Or simply run:
$ $SING_SPOOL/fenics.img python poisson.py
Automatic plotting is disabled. At the end of the execution A la use paraview (
module load tools/paraview) to plot results.
Batch Mode with SGE
Example of sGE SGE script to use.
#!/bin/bash #$ -N fenics_sge #$ -o $JOB_NAME.$JOB_ID.out #$ -e $JOB_NAME.$JOB_ID.err #$ -l h_vmem=4G module load tools/singularity export PATH=$WORK singularity exec $SING_SPOOL/fenics.img python poisson.py
submit the job:
$ qsub script.sge