Skip to main content
`Ctrl`+`K`

# Installing rocALUTION on Windows

rocALUTION can be installed along with HIP SDK for Windows as a single-node, accelerator-enabled library. To configure rocALUTION to use a different configuration such as a multi-node configuration, it must be built from source code.

HIP SDK for Windows, as well as the following components, must be installed before building rocALUTION:

- rocBLAS

- rocSPARSE

- rocRAND

- rocPRIM

See rocALUTION prerequisites for the full list of requirements.

The rocALUTION source code is available from ROCmSoftwarePlatform/rocALUTION. Use the version of the source code that corresponds to the installed version of HIP SDK for Windows.

To determine which version of HIP SDK for Windows is installed, run:

    hipcc --version

Note

If `hipcc` can’t be found on your system, add `%HIP_PATH%/bin` to your `PATH` variable.

Use the `rmake.py` script to build and install rocALUTION.

To build the library without installing it, run `rmake.py` without any arguments:

    python3 rmake.py

The rocALUTION library files will be saved to `build\release\include\rocalution`.

To build the library and install it, use the `-i` argument:

    python3 rmake.py -i

The library files will be built and installed in `%HIP_PATH%\include\rocalution`.

To build the library and its clients, and install the library files, use the `-ci` argument:

    python3 rmake.py -ci

You can also omit the `i` argument and build the clients and the library without installing the library.