项目作者: konsim83

项目描述 :
Elliptic Multiscale FEM with MPI (and distributed mesh)
高级语言: C++
项目地址: git://github.com/konsim83/MPI-Parallel-Multiscale-Diffusion-FEM.git
创建时间: 2019-08-21T16:59:00Z
项目社区:https://github.com/konsim83/MPI-Parallel-Multiscale-Diffusion-FEM

开源协议:GNU Lesser General Public License v3.0

下载


Elliptic Multiscale Problem with MsFEM in Deal.II (MPI Parallel)

This repository is for teaching purposes only.

Building the executable

To build the executable and Eclipse project files you must clone the repository:

  1. git clone https://github.com/konsim83/MPI-Parallel-Multiscale-Diffusion-FEM.git elliptic_msfem_MPI

We want an out-of-source-build with build files in a folder parallel to the code:

  1. mkdir elliptic_msfem_MPI_build
  2. cd elliptic_msfem_MPI_build

Then create the build files with cmake:

  1. cmake -DDEAL_II_DIR=/path/to/dealii -DCMAKE_ECLIPSE_MAKE_ARGUMENTS=-j4 -G"Eclipse CDT4 - Unix Makefiles" ../elliptic_msfem_MPI

You can now import an existing project in Eclipse. To generate the executable in debug mode type

  1. make debug
  2. make -jN

If you want to produce a faster reslease version type

  1. make release
  2. make -jN

Then test the executable with

  1. mpirun -n n ./main

where n is the number of MPI processes. You should also be able to run this on clusters using SLURM.

To run all tests type

  1. ctest -V -R

Building the Documentation

You will need doxygen, mathjax and some other packages such as GraphViz installed.

To build the documentation with doxygen enter the code folder

  1. cd elliptic_msfem_MPI/doc

and type

  1. doxygen Doxyfile

This will generate a html documentation of classes in the elliptic_msfem_MPI/documentation/html directory.
To open it open the index.html in a web browser.