From Documentation
Jump to: navigation, search
(One intermediate revision by one other user not shown)
Line 1: Line 1:

Latest revision as of 09:10, 6 June 2019

This page is scheduled for deletion because it is either redundant with information available on the CC wiki, or the software is no longer supported.
Note: Some of the information on this page is for our legacy systems only. The page is scheduled for an update to make it applicable to Graham.

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


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.

Version selection

The version available for FreeFem++ is 3.27.

[isaac@orc-login2:~] module show freefemplusplus/3.27
module-whatis	 Provide FreeFem++ 3.27 built using intel 12.1.3 and openmpi 1.6.2 on centos 6.3. 
conflict	 freefemplusplus  
prereq	 intel/12.1.3 
prereq	 openmpi/intel/1.6.2 
prepend-path	 PATH    
prepend-path	 LD_RUN_PATH /opt/sharcnet/freefemplusplus/3.27/lib:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/lib 
prepend-path	 --delim   LDFLAGS -L/opt/sharcnet/freefemplusplus/3.27/lib -L/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/lib 
prepend-path	 --delim   CPPFLAGS -I/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/include 

To load the module, you can simply type

[isaac@orc-login2:~] module load freefemplusplus/3.27 
[isaac@orc-login2:~] which  FreeFem++-mpi

Job Submission

[isaac@orc-login2:~]$ sqsub -q mpi --mpp=2G -n 4 -r 1h -o log -e error /opt/sharcnet/freefemplusplus/3.27/bin/FreeFem++-mpi Test_SuperLU_manual.edp

Example Job

module load freefemplusplus/3.27 
mkdir /scratch/$USER/freefem_test
cp ~/isaac/Test_SuperLU_manual.edp /scratch/$USER/freefem_test
cd /scratch/$USER/freefem_test
sqsub -q mpi --mpp=2G -n 4 -r 1h -o log -e error /opt/sharcnet/freefemplusplus/3.27/bin/FreeFem++-mpi Test_SuperLU_manual.edp


o FreeFem Homepage