Prerequisites

Before you start using oneCCL, make sure to set up the library environment. With oneCCL installed into <installdir>, there are two ways to set up the environment:

  • Using standalone oneCCL package:

    source <installdir>/setvars.sh
    
  • Using oneCCL from Intel® oneAPI Base Toolkit:

    sourse <installdir>/setvars.sh
    

    By default, <installdir> is /opt/intel/inteloneapi.