Skip to content
Nico edited this page May 2, 2018 · 7 revisions

Building rocALUTION

CMake 3.5 or later

All compiler specifications are determined automatically by cmake. The compilation process can be performed by

# Clone rocALUTION using git
git clone https://github.com/ROCmSoftwarePlatform/rocALUTION.git

# Go to rocALUTION directory, create and change to build directory
cd rocALUTION; mkdir build; cd build

# Configure rocALUTION
# Build options:
#   SUPPORT_HIP    - build rocALUTION with [HIP](https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/) support (ON)
#   SUPPORT_OMP    - build rocALUTION with [OpenMP][] support (ON)
#   SUPPORT_MPI    - build rocALUTION with [MPI][] (multi-node) support (OFF)
#   BUILD_SHARED   - build rocALUTION as shared library (ON, recommended)
#   BUILD_EXAMPLES - build rocALUTION examples (ON)
cmake .. -DSUPPORT_HIP=ON

# Build
make

For detailed instructions to build rocALUTION library and examples, see Build rocALUTION library and examples.

Clone this wiki locally