|
|
Compiling INMOST with ParMETIS on Windows
|
|
|
======
|
|
|
|
|
|
INMOST requires ParMETIS version 4.0 or higher.
|
|
|
|
|
|
If you have installed ParMETIS yourself then just provide `PARMETIS_DIR` option to CMake configure script.
|
|
|
|
|
|
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:
|
|
|
```
|
|
|
cd "$INMOST_ROOT"
|
|
|
wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-lite-3.5.2.tar.gz
|
|
|
tar zxf petsc-lite-3.5.2.tar.gz
|
|
|
rm -f petsc-lite-3.5.2.tar.gz
|
|
|
cd petsc-3.5.2
|
|
|
export PETSC_DIR="`pwd`"
|
|
|
export PETSC_ARCH=linux-gnu-debug
|
|
|
./configure --download-metis --download-parmetis
|
|
|
|
|
|
cd "$INMOST_ROOT"
|
|
|
mkdir -p INMOST-build
|
|
|
cd INMOST-build
|
|
|
cmake -DUSE_PARTITIONER_PARMETIS=ON -DPARMETIS_DIR="$PETSC_DIR/$PETSC_ARCH" ../INMOST-master
|
|
|
make all
|
|
|
```
|
|
|
|