... | @@ -19,6 +19,12 @@ Unpack the package with the command |
... | @@ -19,6 +19,12 @@ Unpack the package with the command |
|
tar -xzf parmetis-4.0.3.tar.gz
|
|
tar -xzf parmetis-4.0.3.tar.gz
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Remember the path where you are working:
|
|
|
|
|
|
|
|
```
|
|
|
|
export home=`pwd`
|
|
|
|
```
|
|
|
|
|
|
Open `parmetis-4.0.3/CMakeLists.txt` file for edit and replace following two lines:
|
|
Open `parmetis-4.0.3/CMakeLists.txt` file for edit and replace following two lines:
|
|
|
|
|
|
```
|
|
```
|
... | @@ -42,7 +48,16 @@ Create the `parmetis-build` directory and run the following commands from it: |
... | @@ -42,7 +48,16 @@ Create the `parmetis-build` directory and run the following commands from it: |
|
cmake ../parmetis-4.0.3/. && make
|
|
cmake ../parmetis-4.0.3/. && make
|
|
```
|
|
```
|
|
|
|
|
|
Once you have compiled ParMETIS, provide `PARMETIS_DIR` option to CMake configure script.
|
|
Once you have compiled ParMETIS, provide the following options to CMake configure script of INMOST:
|
|
|
|
|
|
|
|
```
|
|
|
|
cmake -DUSE_SOLVER_METIS=ON \
|
|
|
|
-DUSE_PARTITIONER_PARMETIS=ON \
|
|
|
|
-DMETIS_LIBRARY="$home/parmetis-build/libmetis/libmetis.a" \
|
|
|
|
-DMETIS_INCLUDE_PATH="$home/parmetis-4.0.3/metis/include" \
|
|
|
|
-DPARMETIS_LIBRARY="$home/parmetis-library/libparmetis/libparmetis.a" \
|
|
|
|
-DPARMETIS_INCLUDE_PATH="$home/parmetis-4.0.3/include"
|
|
|
|
```
|
|
|
|
|
|
Install ParMETIS with PETSc
|
|
Install ParMETIS with PETSc
|
|
======
|
|
======
|
... | | ... | |