... | @@ -26,19 +26,19 @@ the field right after the text "Where is the source code". |
... | @@ -26,19 +26,19 @@ the field right after the text "Where is the source code". |
|
Enter inmost_build_path into the field to the right from "Where to build the binaries".
|
|
Enter inmost_build_path into the field to the right from "Where to build the binaries".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_1.png]]
|
|
![pic1](pics/compile_inmost_1.png)
|
|
|
|
|
|
|
|
|
|
Click on the "Generate" button. You will be prompted to select the compiler which you would like to use.
|
|
Click on the "Generate" button. You will be prompted to select the compiler which you would like to use.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_2.png]]
|
|
![pic2](pics/compile_inmost_2.png)
|
|
|
|
|
|
|
|
|
|
Select Visual Studio as your compiler and press "Finish". Once configured it will provide you options that are avialible in INMOST.
|
|
Select Visual Studio as your compiler and press "Finish". Once configured it will provide you options that are avialible in INMOST.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_3.png]]
|
|
![pic3](pics/compile_inmost_3.png)
|
|
|
|
|
|
|
|
|
|
By default `USE_MESH`, `USE_SOLVER`, `USE_PARTITIONER` and `USE_AUTODIFF` checkboxes are activated.
|
|
By default `USE_MESH`, `USE_SOLVER`, `USE_PARTITIONER` and `USE_AUTODIFF` checkboxes are activated.
|
... | @@ -80,7 +80,7 @@ If your MPI library was not detected automatically you may try providing it manu |
... | @@ -80,7 +80,7 @@ If your MPI library was not detected automatically you may try providing it manu |
|
* `MPI_LIBRARY` type `FILEPATH` the MPI library
|
|
* `MPI_LIBRARY` type `FILEPATH` the MPI library
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_4.png]]
|
|
![pic4](pics/compile_inmost_4.png)
|
|
|
|
|
|
|
|
|
|
Then click "Configure" again and in case you see "MPI FOUND" words then you have successfully activated MPI in INMOST.
|
|
Then click "Configure" again and in case you see "MPI FOUND" words then you have successfully activated MPI in INMOST.
|
... | @@ -99,7 +99,7 @@ You may also set two checkboxes: |
... | @@ -99,7 +99,7 @@ You may also set two checkboxes: |
|
At last you may setup `CMAKE_INSTALL_PREFIX` variable. By this variable you provide the path where the library and all the relevant header files will be installed. It will also provide instructions for other cmake projects that will have to use INMOST library.
|
|
At last you may setup `CMAKE_INSTALL_PREFIX` variable. By this variable you provide the path where the library and all the relevant header files will be installed. It will also provide instructions for other cmake projects that will have to use INMOST library.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_5.png]]
|
|
![pic5](pics/compile_inmost_5.png)
|
|
|
|
|
|
|
|
|
|
Then click "Configure" again and then "Generate". In output you should see the words "Generation done".
|
|
Then click "Configure" again and then "Generate". In output you should see the words "Generation done".
|
... | @@ -108,43 +108,43 @@ Then click "Configure" again and then "Generate". In output you should see the w |
... | @@ -108,43 +108,43 @@ Then click "Configure" again and then "Generate". In output you should see the w |
|
Go to your inmost_build_path. You should see there multiple files.
|
|
Go to your inmost_build_path. You should see there multiple files.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_6.png]]
|
|
![pic6](pics/compile_inmost_6.png)
|
|
|
|
|
|
|
|
|
|
Double click on Visual Studio solution file INMOST.sln. Hit F7 to compile library and additional components.
|
|
Double click on Visual Studio solution file INMOST.sln. Hit F7 to compile library and additional components.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_7.png]]
|
|
![pic7](pics/compile_inmost_7.png)
|
|
|
|
|
|
|
|
|
|
Compilation should end successfully. In the case you have activated `COMPILE_TESTS` you may go to "View/Solution Explorer".
|
|
Compilation should end successfully. In the case you have activated `COMPILE_TESTS` you may go to "View/Solution Explorer".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_8.png]]
|
|
![pic8](pics/compile_inmost_8.png)
|
|
|
|
|
|
|
|
|
|
There you can find "RUN_TESTS" project in the list, right click on it and then click build.
|
|
There you can find "RUN_TESTS" project in the list, right click on it and then click build.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_9.png]]
|
|
![pic9](pics/compile_inmost_9.png)
|
|
|
|
|
|
|
|
|
|
If everything is fine all testing should end successfully.
|
|
If everything is fine all testing should end successfully.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_10.png]]
|
|
![pic10](pics/compile_inmost_10.png)
|
|
|
|
|
|
|
|
|
|
Now you can install library. Go to "View/Solution Explorer" again. Find "INSTALL" project there, right click on it and then click build.
|
|
Now you can install library. Go to "View/Solution Explorer" again. Find "INSTALL" project there, right click on it and then click build.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_11.png]]
|
|
![pic11](pics/compile_inmost_11.png)
|
|
|
|
|
|
|
|
|
|
In output window it should report you destination where it installs library, headers and binaries of examples. This destination should match with the one you have provided through `CMAKE_INSTALL_PREFIX`.
|
|
In output window it should report you destination where it installs library, headers and binaries of examples. This destination should match with the one you have provided through `CMAKE_INSTALL_PREFIX`.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_12.png]]
|
|
![pic12](pics/compile_inmost_12.png)
|
|
|
|
|
|
|
|
|
|
Now you are ready to use INMOST. Check examples for practice of using INMOST.
|
|
Now you are ready to use INMOST. Check examples for practice of using INMOST.
|
... | @@ -153,11 +153,11 @@ Now you are ready to use INMOST. Check examples for practice of using INMOST. |
... | @@ -153,11 +153,11 @@ Now you are ready to use INMOST. Check examples for practice of using INMOST. |
|
When you are developing your application with INMOST library it is recommended that you use the library in Debug mode. This will activate numerous internal checks within the library. Once you are done you'd better use Release mode. In order to switch the mode go to "Build/Configuration Manager".
|
|
When you are developing your application with INMOST library it is recommended that you use the library in Debug mode. This will activate numerous internal checks within the library. Once you are done you'd better use Release mode. In order to switch the mode go to "Build/Configuration Manager".
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_13.png]]
|
|
![pic13](pics/compile_inmost_13.png)
|
|
|
|
|
|
|
|
|
|
And there switch from Debug to Release mode.
|
|
And there switch from Debug to Release mode.
|
|
|
|
|
|
|
|
|
|
[[pics/compile_inmost_14.png]]
|
|
![pic14](pics/compile_inmost_14.png)
|
|
|
|
|