... | ... | @@ -21,7 +21,7 @@ you have unarchived parmetis source code into the field to right to |
|
|
"Where is the source code" text then provide path to your "build" directory.
|
|
|
|
|
|
|
|
|
[[pics/cmake_parmetis_1.png]]
|
|
|
![pic1](pics/cmake_parmetis_1.png)
|
|
|
|
|
|
|
|
|
Before you click "Configure" button in CMake you have to provide cmake instructions for MPI library.
|
... | ... | @@ -35,19 +35,19 @@ variable of type path on your own. Note that MPI libraries provided for INMOST l |
|
|
and ParMETIS library should match.
|
|
|
|
|
|
|
|
|
[[pics/cmake_parmetis_2.png]]
|
|
|
![pic2](pics/cmake_parmetis_2.png)
|
|
|
|
|
|
|
|
|
Click "Configure" and select Visual Studio as your compiler. It is recommended that selected compiler match with compiler for INMOST library.
|
|
|
|
|
|
|
|
|
[[pics/cmake_parmetis_3.png]]
|
|
|
![pic3](pics/cmake_parmetis_3.png)
|
|
|
|
|
|
|
|
|
Then click "Generate".
|
|
|
|
|
|
|
|
|
[[pics/cmake_parmetis_4.png]]
|
|
|
![pic4](pics/cmake_parmetis_4.png)
|
|
|
|
|
|
|
|
|
Open your "build" directory and open generated ParMETIS.sln visual studio solution. Switch from Debug to Release mode in "Build/Configuration Manager" menu. Hit F7 to compile the library.
|
... | ... | @@ -79,7 +79,7 @@ Then add four entries through "Add Entry" button: |
|
|
`PARMETIS_LIBRARY` of type `FILEPATH` pointing to path_of_parmetis_build/libparmetis/Release/parmetis.lib
|
|
|
|
|
|
|
|
|
[[pics/cmake_parmetis_5.png]]
|
|
|
![pic5](pics/cmake_parmetis_5.png)
|
|
|
|
|
|
|
|
|
As a result you will be able to use Partitioner::Parmetis in Partitioner::SetMethod.
|
... | ... | |