Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I INMOST
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Terekhov
  • INMOST
  • Wiki
  • 0405 Compilation ParMETIS Linux

0405 Compilation ParMETIS Linux · Changes

Page history
Updated 0405 Compilation ParMETIS Linux (markdown) authored Apr 03, 2018 by Kirill Terekhov's avatar Kirill Terekhov
Hide whitespace changes
Inline Side-by-side
0405-Compilation-ParMETIS-Linux.md
View page @ e80585eb
...@@ -5,7 +5,47 @@ INMOST may be configured with optional ParMETIS support. In this case INMOST wil ...@@ -5,7 +5,47 @@ INMOST may be configured with optional ParMETIS support. In this case INMOST wil
INMOST requires ParMETIS version 4.0 or higher. INMOST requires ParMETIS version 4.0 or higher.
If you have installed ParMETIS yourself then just provide `PARMETIS_DIR` option to CMake configure script. To install ParMETIS yourself, download version 4.03 from [http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download](http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download).
You can do it using the following command:
```
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/parmetis-4.0.3.tar.gz
```
Unpack the package with the command
```
tar -xzf parmetis-4.0.3.tar.gz
```
Open `parmetis-4.0.3/CMakeLists.txt` file for edit and replace following two lines:
```
set(GKLIB_PATH METIS/GKlib CACHE PATH "path to GKlib")
set(METIS_PATH METIS/metis CACHE PATH "path to METIS")
```
With three following lines:
```
find_package(MPI)
set(GKLIB_PATH ${CMAKE_SOURCE_DIR}/metis/GKlib CACHE PATH "path to GKlib")
set(METIS_PATH ${CMAKE_SOURCE_DIR}/metis CACHE PATH "path to METIS")
```
Now cmake would be able to correctly recognize all the paths and to automatically find the MPI library.
Create the `parmetis-build` directory and run the following commands from it:
```
cmake ../parmetis-4.0.3/. && make
```
Once you have compiled ParMETIS, provide `PARMETIS_DIR` option to CMake configure script.
Install ParMETIS with PETSc
======
We recommend, that you compile ParMETIS using PETSc installer, refer to [[PETSc installation guide|0403-Compilation-PETSc-Linux]] for detail information. We recommend, that you compile ParMETIS using PETSc installer, refer to [[PETSc installation guide|0403-Compilation-PETSc-Linux]] for detail information.
When you start `configure` script just add `--download-metis --download-parmetis` like this: When you start `configure` script just add `--download-metis --download-parmetis` like this:
......
Clone repository
  • 0100 Compilation
  • 0200 Compilation Windows
  • 0201 Obtain MSVC
  • 0202 Obtain MSMPI
  • 0203 Compilation INMOST Windows
  • 0204 Compilation ParMETIS Windows
  • 0205 Compilation Zoltan Windows
  • 0206 Compilation PETSc Windows
  • 0207 Compilation Trilinos Windows
  • 0400 Compilation Linux
  • 0401 Install MPI
  • 0402 Compilation INMOST Linux
  • 0403 Compilation PETSc Linux
  • 0404 Compilation Trilinos Linux
  • 0405 Compilation ParMETIS Linux
View All Pages