From Documentation
Jump to: navigation, search
Line 5: Line 5:
 
}}
 
}}
  
==What is FreeFem?==
+
==Introduction==
 
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.
 
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==
+
==Version selection==
===Module dependency===
+
The version available for FreeFem++ is 3.27.
  [isaac@orc-login1:~] module show freefem/3.12
+
 
 +
  [isaac@orc-login2:~] module show freefemplusplus/3.27
 
  -------------------------------------------------------------------
 
  -------------------------------------------------------------------
  /opt/sharcnet/modules/freefem/3.12:
+
  /opt/sharcnet/modules/freefemplusplus/3.27:
+
  module-whatis Provide FreeFem++ 3.27 built using intel 12.1.3 and openmpi 1.6.2 on centos 6.3.  
  module-whatis Provides Freefem++ 3.12 built using gcc 4.3.4 and openmpi 1.4.2 on centos.  
+
  conflict freefemplusplus  
  conflict freefem  
+
  prereq intel/12.1.3  
  module unload intel
+
  prereq openmpi/intel/1.6.2  
  module unload openmpi
+
  prepend-path PATH   
module load gcc/4.3.4
+
/opt/sharcnet/freefemplusplus/3.27/bin:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/bin:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/inlcude
  module load openmpi/gcc/1.4.2  
+
  prepend-path LD_RUN_PATH /opt/sharcnet/freefemplusplus/3.27/lib:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/lib
  module load gmp/4.3.2
+
  prepend-path --delim  LDFLAGS -L/opt/sharcnet/freefemplusplus/3.27/lib -L/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/lib  
module load mpfr/2.4.2
+
  prepend-path --delim  CPPFLAGS -I/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/include
  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
+
To load the module, you can simply type
 +
 
 +
[isaac@orc-login2:~] module load freefemplusplus/3.27
 +
[isaac@orc-login2:~] which  FreeFem++-mpi
 +
/opt/sharcnet/freefemplusplus/3.27/bin/FreeFem++-mpi
  
module load freefem/3.12
+
==Job Submission==
  
==How to run==
+
[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
  
[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.
 
  
 
==References==
 
==References==

Revision as of 00:20, 11 August 2014

FREEFEM++
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


Introduction

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
-------------------------------------------------------------------
/opt/sharcnet/modules/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    
/opt/sharcnet/freefemplusplus/3.27/bin:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/bin:/opt/sharcnet/freefemplusplus/3.27/lib/ff++/3.27/inlcude 
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
/opt/sharcnet/freefemplusplus/3.27/bin/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


References

o FreeFem Homepage
http://www.freefem.org/