From Documentation
Revision as of 10:28, 12 June 2012 by Isaac (Talk | contribs)

Jump to: navigation, search
Description: An implementation of a language dedicated to the finite element method
SHARCNET Package information: see FREEFEM++ software page in web portal
Full list of SHARCNET supported software

What is FreeFem?

FreeFem++ is an implementation of a language dedicated to the finite element method. It enables you to solve Partial Differential Equations (PDE) easily. Problems involving PDE (2d, 3d) from several branches of physics such as fluid-structure interactions require interpolations of data on several meshes and their manipulation within one program. FreeFem++ includes a fast 2^d-tree-based interpolation algorithm and a language for the manipulation of data on multiple meshes.

How to load the module

Module dependency

[isaac@orc-login1:~] module show freefem/3.12

module-whatis	 Provides Freefem++ 3.12 built using gcc 4.3.4 and openmpi 1.4.2 on centos. 
conflict	 freefem  
module		 unload intel 
module		 unload openmpi 
module		 load gcc/4.3.4 
module		 load openmpi/gcc/1.4.2 
module		 load gmp/4.3.2 
module		 load mpfr/2.4.2 
prepend-path	 PATH /opt/sharcnet/freefem/3.12/bin 
prepend-path	 LD_RUN_PATH /opt/sharcnet/freefem/3.12/lib/ff++/3.12/lib 
prepend-path	 --delim   LDFLAGS -L/opt/sharcnet/freefem/3.12/lib/ff++/3.12/lib 

You just need to do

module load freefem/3.12

How to run

[isaac@bro119 FreeFem]$ sqsub -t -q mpi --mpp=2G -n 4 -r 1h -o log -e error /opt/sharcnet/freefem/3.12/bin/FreeFem++-mpi Test_SuperLU_manual.edp
submitted as jobid 9002344
[isaac@bro119 FreeFem]$ sqjobs
 jobid queue state ncpus nodes time command
------- ----- ----- ----- ----- ---- -----------------
9002344  test     R     4 bro19   2s bin/FreeFem++-mpi
961 CPUs total, 227 idle, 677 busy; 574 jobs running; 1 suspended, 1 queued.
96 nodes allocated; 13 idle, 8 drain/offline, 117 total.


o FreeFem Homepage [1]