From Documentation
Jump to: navigation, search
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Template:CCDelete}}
 +
{{Template:GrahamUpdate}}
 
{{Software
 
{{Software
 
|package_name=FREEFEM++
 
|package_name=FREEFEM++
Line 5: Line 7:
 
}}
 
}}
  
==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
  
  module load freefem/3.12
+
  [isaac@orc-login2:~] module load freefemplusplus/3.27
 +
[isaac@orc-login2:~] which  FreeFem++-mpi
 +
/opt/sharcnet/freefemplusplus/3.27/bin/FreeFem++-mpi
  
==How to run==
+
==Job Submission==
  
  [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
+
  [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
submitted as jobid 9002344
+
 
[isaac@bro119 FreeFem]$ sqjobs
+
==Example Job==
  jobid queue state ncpus nodes time command
+
<pre>
------- ----- ----- ----- ----- ---- -----------------
+
module load freefemplusplus/3.27
9002344  test    R    4 bro19  2s bin/FreeFem++-mpi
+
mkdir /scratch/$USER/freefem_test
961 CPUs total, 227 idle, 677 busy; 574 jobs running; 1 suspended, 1 queued.
+
cp ~/isaac/Test_SuperLU_manual.edp /scratch/$USER/freefem_test
96 nodes allocated; 13 idle, 8 drain/offline, 117 total.
+
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
 +
</pre>
  
 
==References==
 
==References==
o FreeFem Homepage
+
 
http://www.freefem.org/ [http://www.freefem.org/]
+
o FreeFem Homepage<Br>
 +
http://www.freefem.org/
 +
 
 +
<!--checked2016-->

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.


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

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

References

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