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)
We use
mesoshared.univ-fcomte.fr node for interactive computation.
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 poisson.py
Since Fenics is installed for sequential usage. Please ignore the following warning message.
''[[62548,1],0]: A high-performance Open MPI point-to-point messaging module was unable to find any relevant network interfaces:
Module: OpenFabrics (openib)
Host: mesoshared
Another transport will be used instead, although this may result in lower performance. ''
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