Installing OpenUCX

To build and install OpenUCX, follow these steps:

  1. Ensure that your paths are set up appropriately for Arm Compiler for HPC, for example:

    export PATH=/proj/ArmCompiler/bin:$PATH
    export LD_LIBRARY_PATH=/proj/ArmCompiler/lib:$LD_LIBRARY_PATH
  2. Clone the OpenUCX repository into a new directory, ucx in the following example:

    git clone https://github.com/openucx/ucx.git ucx
    1. Optionally, checkout the release version 1.4 tag in the newly created ucx directory.

      git checkout v1.4.0 -b v1.4.0
      
  3. Change into the ucx directory and run the OpenUCX autogen.sh script:

    cd ucx
    ./autogen.sh
  4. Create a new directory called build, change into it, and run the OpenUCX configure script, choosing armclang as the C compiler, and armclang++ as C++ compiler:

    mkdir build
    cd build
    CC=armclang CXX=armclang++ ../configure --prefix=/<path_to_openucx_installation>
    Note:

    To strip all debugging and profiling code for the highest performance configuration, use ../contrib/configure-release

  5. Build and install OpenUCX, using:

    make
    make install
Previous Next