Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I INMOST
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Terekhov
  • INMOST
  • Wiki
  • 0402 Compilation INMOST Linux

0402 Compilation INMOST Linux · Changes

Page history
Update Linux install guides authored Jan 29, 2015 by Alexander Danilov's avatar Alexander Danilov
Ensure `make all` is called after `cmake`.
Remove `rm -f` commands.
Show whitespace changes
Inline Side-by-side
0402-Compilation-INMOST-Linux.md
View page @ e15d9742
......@@ -16,7 +16,6 @@ Download and unpack INMOST archive:
cd "$INMOST_ROOT"
wget "https://github.com/INMOST-DEV/INMOST/archive/master.tar.gz"
tar zxf master.tar.gz
rm -f master.tar.gz
```
alternatively you can `git clone` INMOST repository. Make sure you installed `git`.
```
......@@ -37,7 +36,7 @@ After successful compilation the INMOST library will be created in the current d
You can switch between `Debug` and `Release` build types using CMake option `CMAKE_BUILD_TYPE`:
```
cmake -DCMAKE_BUILD_TYPE=Release ../INMOST-master
make
make all
```
Optionally we can compile included examples (`COMPILE_EXAMPLES=ON`) and tests (`COMPILE_TESTS=ON`):
......@@ -51,15 +50,18 @@ make test
MPI support is already enabled by default and CMake will auto-detect your MPI installation. Enable `USE_MPI` option if you previously disabled it.
```
cmake -DUSE_MPI=ON ../INMOST-master
make all
```
If you need to provide specific paths to MPI wrappers, you can do this using `MPI_<lang>_COMPILER` options, e.g.:
```
cmake -DUSE_MPI=ON -DMPI_C_COMPILER=/usr/local/bin/mpicc -DMPI_CXX_COMPILER=/usr/local/bin/mpicxx ../INMOST-master/
make all
```
If your MPI implementation does not support MPI-IO, you should explicitly disable `USE_MPI_FILE` option:
```
cmake -DUSE_MPI=ON -DUSE_MPI_FILE=OFF ../INMOST-master
make all
```
## Changing default compilers
......
Clone repository
  • 0100 Compilation
  • 0200 Compilation Windows
  • 0201 Obtain MSVC
  • 0202 Obtain MSMPI
  • 0203 Compilation INMOST Windows
  • 0204 Compilation ParMETIS Windows
  • 0205 Compilation Zoltan Windows
  • 0206 Compilation PETSc Windows
  • 0207 Compilation Trilinos Windows
  • 0400 Compilation Linux
  • 0401 Install MPI
  • 0402 Compilation INMOST Linux
  • 0403 Compilation PETSc Linux
  • 0404 Compilation Trilinos Linux
  • 0405 Compilation ParMETIS Linux
View All Pages