... | @@ -20,7 +20,7 @@ After you have downloaded and unarchived Trilinos into "trilinos_source_path" cr |
... | @@ -20,7 +20,7 @@ After you have downloaded and unarchived Trilinos into "trilinos_source_path" cr |
|
Open cmake-gui application and enter trilinos_source_path into the field to the right from "Where is the source code" text and zoltan_build_path into the field to the right from "Where to build the binaries".
|
|
Open cmake-gui application and enter trilinos_source_path into the field to the right from "Where is the source code" text and zoltan_build_path into the field to the right from "Where to build the binaries".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_1.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Then as Zoltan guide suggests click "Add Entry" button and add following entries:
|
|
Then as Zoltan guide suggests click "Add Entry" button and add following entries:
|
... | @@ -32,7 +32,7 @@ Then as Zoltan guide suggests click "Add Entry" button and add following entries |
... | @@ -32,7 +32,7 @@ Then as Zoltan guide suggests click "Add Entry" button and add following entries |
|
`Trilinos_ENABLE_ZOLTAN` as `BOOL` with set checkbox
|
|
`Trilinos_ENABLE_ZOLTAN` as `BOOL` with set checkbox
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_2.png]]
|
|

|
|
|
|
|
|
|
|
|
|
If you wish to use Zoltan in parallel with MPI then add
|
|
If you wish to use Zoltan in parallel with MPI then add
|
... | @@ -41,7 +41,7 @@ If you wish to use Zoltan in parallel with MPI then add |
... | @@ -41,7 +41,7 @@ If you wish to use Zoltan in parallel with MPI then add |
|
`TPL_ENABLE_MPI` as `BOOL` with set checkbox
|
|
`TPL_ENABLE_MPI` as `BOOL` with set checkbox
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_3.png]]
|
|

|
|
|
|
|
|
|
|
|
|
In case you use custom MPI library that is not detectable by CMake you will have to provide "MPI_INCLUDE_PATH" variable as well. Add
|
|
In case you use custom MPI library that is not detectable by CMake you will have to provide "MPI_INCLUDE_PATH" variable as well. Add
|
... | @@ -56,7 +56,7 @@ Since Fortran is not required to compile Zoltan disable it by setting |
... | @@ -56,7 +56,7 @@ Since Fortran is not required to compile Zoltan disable it by setting |
|
`Trilinos_ENABLE_Fortran` as `BOOL` with unset checkbox
|
|
`Trilinos_ENABLE_Fortran` as `BOOL` with unset checkbox
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_4.png]]
|
|

|
|
|
|
|
|
|
|
|
|
You can also specify additionally data type used inside zoltan by providing
|
|
You can also specify additionally data type used inside zoltan by providing
|
... | @@ -70,43 +70,43 @@ You can also specify additionally data type used inside zoltan by providing |
... | @@ -70,43 +70,43 @@ You can also specify additionally data type used inside zoltan by providing |
|
As a result you will have the following set of options as on picture below.
|
|
As a result you will have the following set of options as on picture below.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_5.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Click "Configure" and select Visual Studio as compiler.
|
|
Click "Configure" and select Visual Studio as compiler.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_6.png]]
|
|

|
|
|
|
|
|
|
|
|
|
After CMake have successfully finished the configuration you should see the following output
|
|
After CMake have successfully finished the configuration you should see the following output
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_7.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Then enter your zoltan_build_path directory and open Trilinos.sln generated solution file for Visual Studio.
|
|
Then enter your zoltan_build_path directory and open Trilinos.sln generated solution file for Visual Studio.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_8.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Open "Build/Configuration Manager".
|
|
Open "Build/Configuration Manager".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_9.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Change from "Debug" to "Release" compilation mode.
|
|
Change from "Debug" to "Release" compilation mode.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_10.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Hit F7, after some time you should see successful compilation.
|
|
Hit F7, after some time you should see successful compilation.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_11.png]]
|
|

|
|
|
|
|
|
|
|
|
|
After successful compilation provide path for INMOST library.
|
|
After successful compilation provide path for INMOST library.
|
... | @@ -126,13 +126,13 @@ Then click "Configure" and "Generate". |
... | @@ -126,13 +126,13 @@ Then click "Configure" and "Generate". |
|
Return to Visual Studio. There click "View/Solution Explorer".
|
|
Return to Visual Studio. There click "View/Solution Explorer".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_trilinos_8.png]]
|
|

|
|
|
|
|
|
|
|
|
|
In "Solution Explorer" right click on "INSTALL" project and click "Build".
|
|
In "Solution Explorer" right click on "INSTALL" project and click "Build".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_trilinos_9.png]]
|
|

|
|
|
|
|
|
|
|
|
|
In output you should see that all required header files and libraries were copied to trilinos_build_path/install directory.
|
|
In output you should see that all required header files and libraries were copied to trilinos_build_path/install directory.
|
... | @@ -141,7 +141,7 @@ In output you should see that all required header files and libraries were copie |
... | @@ -141,7 +141,7 @@ In output you should see that all required header files and libraries were copie |
|
Open CMake again and by clicking to black triangle at the right end of the field after "Where to build the binaries" and choose your build directory for INMOST.
|
|
Open CMake again and by clicking to black triangle at the right end of the field after "Where to build the binaries" and choose your build directory for INMOST.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_12.png]]
|
|

|
|
|
|
|
|
|
|
|
|
First activate `USE_PARTITIONER_ZOLTAN` checkbox. Then add two entries through "Add Entry" button:
|
|
First activate `USE_PARTITIONER_ZOLTAN` checkbox. Then add two entries through "Add Entry" button:
|
... | @@ -156,7 +156,7 @@ First activate `USE_PARTITIONER_ZOLTAN` checkbox. Then add two entries through " |
... | @@ -156,7 +156,7 @@ First activate `USE_PARTITIONER_ZOLTAN` checkbox. Then add two entries through " |
|
Your options should match with the options on picture below.
|
|
Your options should match with the options on picture below.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_zoltan_13.png]]
|
|

|
|
|
|
|
|
|
|
|
|
Then click "Configure" and "Generate".
|
|
Then click "Configure" and "Generate".
|
... | | ... | |