Difference between revisions of "GetDDM"
(→Parallel version build) |
(→References) |
||
Line 73: | Line 73: | ||
* C. Geuzaine, B. Thierry, N. Marsic, D. Colignon, A. Vion, S. Tournier, Y. Boubendir, M. El Bouajaji, and X. Antoine. An Open Source Domain Decomposition Solver for Time-Harmonic Electromagnetic Wave Problems. 2014 IEEE International Conference on Antenna Measurements & Applications. November 16-19, Antibes Juan-les-Pins, France. | * C. Geuzaine, B. Thierry, N. Marsic, D. Colignon, A. Vion, S. Tournier, Y. Boubendir, M. El Bouajaji, and X. Antoine. An Open Source Domain Decomposition Solver for Time-Harmonic Electromagnetic Wave Problems. 2014 IEEE International Conference on Antenna Measurements & Applications. November 16-19, Antibes Juan-les-Pins, France. | ||
− | * B. Thierry, A.Vion, S. Tournier, M. El Bouajaji, D. Colignon, X. Antoine, C. Geuzaine. GetDDM: an | + | * B. Thierry, A.Vion, S. Tournier, M. El Bouajaji, D. Colignon, X. Antoine, C. Geuzaine. GetDDM: an open framework for testing optimized Schwarz methods for time-harmonic wave problems. In preparation. |
Revision as of 15:02, 1 September 2014
GetDDM combines GetDP and Gmsh to solve large scale finite element problems using optimized Schwarz domain decomposition methods.
Examples
- Non-overlapping DDM for time-harmonic waves (Helmholtz and Maxwell)
- Overlapping DDM for elastodynamics (soon)
Precompiled binaries
For demonstration purposes, you can download the serial pre-compiled versions of GetDP and Gmsh bundled for Windows64, Windows32, Linux64, Linux32 or MacOSX. With these precompiled binaries the examples will run in sequential mode. For parallel computations you need to recompile the codes from source with MPI support (see below).
Parallel version build
For parallel computations you need compile GetDP and Gmsh with MPI support.
- Install MPI, CMake and Subversion.
- Download PETSc from http://www.mcs.anl.gov/petsc/petsc-as/download/. PETSc 3.4 and 3.5 have both been tested.
- Uncompress the PETSc archive (in this example, using PETSc 3.4.4):
<syntaxhighlight lang="bash" enclose="div">tar zxvf petsc-3.4.4.tar.gz
</syntaxhighlight>
- Configure and build PETSc. The configuration options depend on the calculations you want to perform (complex- or real-valued), as well as your compiler/MPI setup. Make sure that mpicc, mpicxx and mpif90 are in your path. Then run (remove
--with-scalar-type=complex
to build in real arithmetic):
<syntaxhighlight lang="bash" enclose="div">cd petsc-3.4.4 export PETSC_DIR=$PWD export PETSC_ARCH=mpi_mumps_complex ./configure --with-debugging=0 --with-clanguage=cxx --with-shared-libraries=0 --with-x=0 --download-mumps=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-blacs=1 --with-scalar-type=complex make cd ..
</syntaxhighlight>
- Download the Gmsh and the GetDP source code (username: getdp, password: getdp):
<syntaxhighlight lang="bash" enclose="div">svn co https://geuz.org/svn/gmsh/trunk gmsh svn co https://geuz.org/svn/getdp/trunk getdp
</syntaxhighlight>
- Configure, compile and install a minimal Gmsh library (it will be used by GetDP):
<syntaxhighlight lang="bash" enclose="div">cd gmsh mkdir lib cd lib cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_BUILD_LIB=1 .. make lib sudo make install/fast cd ../..
</syntaxhighlight>
- Configure and compile the MPI version of GetDP (change CC, CXX and FC depending on your MPI installation):
<syntaxhighlight lang="bash" enclose="div">cd getdp mkdir bin cd bin cmake -DENABLE_MPI=1 .. make cd ../..
</syntaxhighlight>
- [Optional - only for parallel mesh generation] Configure and compile the MPI version of Gmsh (need to disable Metis due to version clash with PETSc):
<syntaxhighlight lang="bash" enclose="div">cd gmsh mkdir bin cd bin cmake -DENABLE_MPI=1 -DENABLE_METIS=0 .. make
</syntaxhighlight>
References
- C. Geuzaine, B. Thierry, N. Marsic, D. Colignon, A. Vion, S. Tournier, Y. Boubendir, M. El Bouajaji, and X. Antoine. An Open Source Domain Decomposition Solver for Time-Harmonic Electromagnetic Wave Problems. 2014 IEEE International Conference on Antenna Measurements & Applications. November 16-19, Antibes Juan-les-Pins, France.
- B. Thierry, A.Vion, S. Tournier, M. El Bouajaji, D. Colignon, X. Antoine, C. Geuzaine. GetDDM: an open framework for testing optimized Schwarz methods for time-harmonic wave problems. In preparation.