Rate This Document
Findability
Accuracy
Completeness
Readability

Using modules

HPCKit supports loading environment variables using setvars.sh or modules. modules allows for selective loading of environment management modules. Advanced users can use this method to load specific components as needed.

Prerequisites

  • The Yum repository has been configured. Run the following command to check whether the Yum repository has been configured on the node. Ensure that the command output contains the Yum repository corresponding to the OS.
    yum list | grep kernel
  • The tcl tool has been installed.
    Run the following command to check whether the tcl tool has been installed:
    yum list installed | grep tcl.aarch64

    If the following information is displayed, the tcl tool has been installed:

    1
    tcl.aarch64                                        1:8.6.12-4.oe2203sp1             @anaconda
    
    If the tcl tool has not been installed, run the following command to install it:
    yum install -y tcl*
  • The module tool has been installed.
    Run the following command to check whether the module tool has been installed:
    yum list installed | grep environment-modules.aarch64
    If the following information is displayed, the module tool has been installed:
    1
    environment-modules.aarch64                        5.0.1-3.oe2203sp1                @OS
    
    If the module tool has not been installed, run the following command to install it and load environment variables:
    yum install -y environment-modules
    source /etc/profile.d/modules.sh

Precautions

You are advised to use one compiler in the same environment. If both compilers are used, check whether environment variables are correct. The causes and configuration methods are as follows:

Because the values for CC, CXX, FC, F77, F90, and OPAL_PREFIX are specific to the current compiler, you must switch environment variable management modules to use a different compiler. To do this, unload the current environment variable management module before loading the module required for the new compiler. For the environment variable values of components compiled with different compilers, see Table 1.

Example:

Suppose that BiSheng Compiler is used and the environment variable management module bisheng/hmpi26.1.RC1/release has been loaded. In this case, the value of OPAL_PREFIX is /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi. To switch to GCC, you need to unload the environment variable management module bisheng/hmpi/hmpi and then load the environment variable management module gcc/hmpi26.1.RC1/release. After the loading is complete, the value of OPAL_PREFIX is /opt/HPCKit/26.1.RC1/hmpi/gcc/release/hmpi.

Procedure

  1. Use PuTTY to log in to the node where HPCKit is installed.
  2. Run the following command to go to the HPCKit installation directory:
    cd /opt/HPCKit/latest

    /opt: default installation directory of HPCKit. Replace it with the actual directory.

  3. Run the following command to add modulefiles:
    module use modulefiles

    You can run sh modulefiles-setup.sh to restore the modulefiles folder if it was accidentally deleted.

  4. Run the following command to query the available environment variable management modules:
    module avail

    Information similar to the following is displayed:

    1
    2
    3
    4
    5
    6
    7
    8
     ---------------------------------- /opt/HPCKit/26.1.RC1/modulefiles -------------------------------------------
    bisheng/compiler5.2.0/bishengmodule       bisheng/kml26.1.RC1/kspblas/omp     bisheng/kuqcd26.1.RC1/kuqcd     gcc/kml26.1.RC1/kblas/serial-locking    gcc/kudnn26.1.RC1/kudnn   
    bisheng/hmpi26.1.RC1/debug                  bisheng/kml26.1.RC1/kspblas/serial  bisheng/kurtm26.1.RC1/kurtm     gcc/kml26.1.RC1/kblas/serial-nolocking  gcc/kupl26.1.RC1/prof     
    bisheng/hmpi26.1.RC1/release                bisheng/kml26.1.RC1/kvml/omp        bisheng/kutacc26.1.RC1/kutacc   gcc/kml26.1.RC1/kml                     gcc/kupl26.1.RC1/release  
    bisheng/kml26.1.RC1/kblas/multi             bisheng/kml26.1.RC1/kvml/serial     gcc/compiler12.3.1/gccmodule  gcc/kml26.1.RC1/kspblas/omp             gcc/kuqcd26.1.RC1/kuqcd   
    bisheng/kml26.1.RC1/kblas/serial-locking    bisheng/kudnn26.1.RC1/kudnn         gcc/hmpi26.1.RC1/debug          gcc/kml26.1.RC1/kspblas/serial          gcc/kurtm26.1.RC1/kurtm   
    bisheng/kml26.1.RC1/kblas/serial-nolocking  bisheng/kupl26.1.RC1/prof           gcc/hmpi26.1.RC1/release        gcc/kml26.1.RC1/kvml/omp                hio25.0.0/hio           
    bisheng/kml26.1.RC1/kml                     bisheng/kupl26.1.RC1/release        gcc/kml26.1.RC1/kblas/multi     gcc/kml26.1.RC1/kvml/serial
    

    If the command output contains information about modules that do not need to be loaded, run the following command to delete them:

    module unuse /opt/HPCKit/26.1.RC1/modulefiles

    In the preceding command, /opt/HPCKit/26.1.RC1/modulefiles indicates the module name. Replace it with the actual module name.

  5. Load the environment variable management module.
    1. Run the following command to add the component information to environment variables:
      module load modulefile

      modulefile: component environment variable management module. For details, see Component Environment Variable Management Module Information.

      Example: Add the BiSheng Compiler version information of HMPI to environment variables.

      module load bisheng/hmpi26.1.RC1/release
    2. Run the following command to view the loaded environment variable management modules:
      module list

      Check whether the required environment variable management modules exist in the command output.

      • If yes, go to 6.
      • If no, perform 5.a to load the missing environment variable management modules, and then go to 6.
  6. Query the environment variables of the corresponding component.
    Table 1 Querying component environment variables

    Component

    Module

    Procedure

    Compiler

    bisheng/compiler5.2.0/bishengmodule

    echo $LD_LIBRARY_PATH; echo $PATH; echo $CC; echo $CXX; echo $FC; echo $F77; echo $F90; echo $KMP_DISABLE_MEMKIND_INIT

    NOTE:

    The environment variables are described as follows:

    • LD_LIBRARY_PATH: search path for dynamic link libraries, for example, /opt/HPCKit/26.1.RC1/compiler/bisheng/lib.
    • PATH: search path for executable programs, for example, /opt/HPCKit/26.1.RC1/compiler/bisheng/bin.
    • CC: name of the compiler for compiling C programs. The value is clang.
    • CXX: name of the compiler for compiling C++ programs. The value is clang++.
    • FC: name of the compiler for compiling Fortran programs. The value is flang.
    • F77: name of the compiler for compiling Fortran77 programs. The value is flang.
    • F90: name of the compiler for compiling Fortran90 programs. The value is flang.
    • KMP_DISABLE_MEMKIND_INIT: whether to enable the MEMKIND component for the compiler OMP runtime. The value is true.

    Example command output:

    1
    2
    3
    4
    5
    6
    7
    8
    /opt/HPCKit/26.1.RC1/compiler/bisheng/lib:/usr/local/lib
    /opt/HPCKit/26.1.RC1/compiler/bisheng/bin:/usr/local/shc/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
    clang
    clang++
    flang
    flang
    flang
    true
    

    gcc/compiler12.3.1/gccmodule

    echo $LD_LIBRARY_PATH; echo $PATH; echo $CC; echo $CXX; echo $FC; echo $F77; echo $F90

    NOTE:

    The environment variables are described as follows:

    • LD_LIBRARY_PATH: search path for dynamic link libraries, for example, /opt/HPCKit/26.1.RC1/compiler/gcc/lib64:/opt/HPCKit/26.1.RC1/compiler/gcc/lib.
    • PATH: search path for executable programs, for example, /opt/HPCKit/26.1.RC1/compiler/gcc/bin.
    • CC: name of the compiler for compiling C programs. The value is gcc.
    • CXX: name of the compiler for compiling C++ programs. The value is g++.
    • FC: name of the compiler for compiling Fortran programs. The value is gfortran.
    • F77: name of the compiler for compiling Fortran77 programs. The value is gfortran.
    • F90: name of the compiler for compiling Fortran90 programs. The value is gfortran.

    Example command output:

    1
    2
    3
    4
    5
    6
    7
    /opt/HPCKit/26.1.RC1/compiler/gcc/lib64:/usr/local/lib
    /opt/HPCKit/26.1.RC1/compiler/gcc/bin:/usr/local/shc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    gcc
    g++
    gfortran
    gfortran
    gfortran
    

    HMPI

    bisheng/hmpi26.1.RC1/release

    echo $LD_LIBRARY_PATH; echo $PATH; echo $INCLUDE; echo $OPAL_PREFIX

    NOTE:

    The environment variables are described as follows:

    • LD_LIBRARY_PATH: search path for dynamic link libraries, for example, /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/lib.
    • PATH: search path for executable programs, for example, /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/bin.
    • INCLUDE: header file directories of the hmpi, hucx, and xucg components in HMPI, for example, /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/include.
    • OPAL_PREFIX: installation directory of the hmpi component in HMPI, for example, /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi.

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/lib:/usr/local/lib
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hucx/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/release/xucg/include
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/release/hmpi
    

    bisheng/hmpi26.1.RC1/debug

    echo $LD_LIBRARY_PATH; echo $PATH; echo $INCLUDE; echo $OPAL_PREFIX

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hmpi/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hucx/lib:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/xucg/lib:/usr/local/lib
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hmpi/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hucx/bin:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/xucg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hmpi/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hucx/include:/opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/xucg/include
    /opt/HPCKit/26.1.RC1/hmpi/bisheng/debug/hmpi
    

    gcc/hmpi26.1.RC1/release

    echo $LD_LIBRARY_PATH; echo $PATH; echo $INCLUDE; echo $OPAL_PREFIX

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/hmpi/gcc/release/hmpi/lib:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/hucx/lib:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/xucg/lib:/usr/local/lib
    /opt/HPCKit/26.1.RC1/hmpi/gcc/release/hmpi/bin:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/hucx/bin:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/xucg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    /opt/HPCKit/26.1.RC1/hmpi/gcc/release/hmpi/include:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/hucx/include:/opt/HPCKit/26.1.RC1/hmpi/gcc/release/xucg/include
    /opt/HPCKit/26.1.RC1/hmpi/gcc/release/hmpi
    

    gcc/hmpi26.1.RC1/debug

    echo $LD_LIBRARY_PATH; echo $PATH; echo $INCLUDE; echo $OPAL_PREFIX

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/hmpi/gcc/hmpi/lib:/opt/HPCKit/26.1.RC1/hmpi/gcc/hucx/lib:/opt/HPCKit/26.1.RC1/hmpi/gcc/xucg/lib:/usr/local/lib
    /opt/HPCKit/26.1.RC1/hmpi/gcc/hmpi/bin:/opt/HPCKit/26.1.RC1/hmpi/gcc/hucx/bin:/opt/HPCKit/26.1.RC1/hmpi/gcc/xucg/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    /opt/HPCKit/26.1.RC1/hmpi/gcc/hmpi/include:/opt/HPCKit/26.1.RC1/hmpi/gcc/hucx/include:/opt/HPCKit/26.1.RC1/hmpi/gcc/xucg/include
    /opt/HPCKit/26.1.RC1/hmpi/gcc/hmpi
    

    KML

    bisheng/kml26.1.RC1/kml

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    NOTE:

    The environment variables are described as follows:

    • LD_LIBRARY_PATH: search path for dynamic link libraries, for example, /opt/HPCKit/26.1.RC1/kml/bisheng/lib:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon.
    • LIBRARY_PATH: search path for dynamic libraries during binary file compilation, for example, /opt/HPCKit/26.1.RC1/kml/bisheng/lib:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon.
    • PATH: search path for executable programs, for example, /opt/HPCKit/26.1.RC1/kml/bisheng/include.
    • INCLUDE: KML header file directory, for example, /opt/HPCKit/26.1.RC1/kml/bisheng/include.

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch:/opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kblas/serial-locking

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kblas/locking
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kblas/locking
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kblas/serial-nolocking

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/neon/lib/kblas/nolocking
    /opt/HPCKit/26.1.RC1/kml/bisheng/neon/lib/kblas/nolocking
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kblas/multi

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/neon/lib/kblas/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/neon/lib/kblas/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kspblas/omp

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kspblas/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kspblas/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kspblas/serial

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kspblas/single
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/neon/kspblas/single
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kvml/omp

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch/kvml/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch/kvml/multi
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    bisheng/kml26.1.RC1/kvml/serial

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch/kvml/single
    /opt/HPCKit/26.1.RC1/kml/bisheng/lib/noarch/kvml/single
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    /opt/HPCKit/26.1.RC1/kml/bisheng/include
    

    gcc/kml26.1.RC1/kml

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib:/opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch:/opt/HPCKit/26.1.RC1/kml/gcc/lib/neon
    /opt/HPCKit/26.1.RC1/kml/gcc/lib:/opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch:/opt/HPCKit/26.1.RC1/kml/gcc/lib/neon
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kblas/serial-locking

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/locking
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/locking
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kblas/serial-nolocking

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/nolocking
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/nolocking
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kblas/multi

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kblas/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kspblas/omp

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kspblas/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kspblas/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kspblas/serial

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kspblas/single
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/neon/kspblas/single
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kvml/omp

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch/kvml/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch/kvml/multi
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    gcc/kml26.1.RC1/kvml/serial

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch/kvml/single
    /opt/HPCKit/26.1.RC1/kml/gcc/lib/noarch/kvml/single
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    /opt/HPCKit/26.1.RC1/kml/gcc/include
    

    KUPL

    bisheng/kupl26.1.RC1/release

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kupl/release/bisheng/lib
    /opt/HPCKit/26.1.RC1/kupl/release/bisheng/lib
    /opt/HPCKit/26.1.RC1/kupl/release/bisheng/include
    /opt/HPCKit/26.1.RC1/kupl/release/bisheng/include
    

    bisheng/kupl26.1.RC1/prof

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kupl/prof/bisheng/lib
    /opt/HPCKit/26.1.RC1/kupl/prof/bisheng/lib
    /opt/HPCKit/26.1.RC1/kupl/prof/bisheng/include
    /opt/HPCKit/26.1.RC1/kupl/prof/bisheng/include
    

    gcc/kupl26.1.RC1/release

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kupl/release/gcc/lib
    /opt/HPCKit/26.1.RC1/kupl/release/gcc/lib
    /opt/HPCKit/26.1.RC1/kupl/release/gcc/include
    /opt/HPCKit/26.1.RC1/kupl/release/gcc/include
    

    gcc/kupl26.1.RC1/prof

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kupl/prof/gcc/lib
    /opt/HPCKit/26.1.RC1/kupl/prof/gcc/lib
    /opt/HPCKit/26.1.RC1/kupl/prof/gcc/include
    /opt/HPCKit/26.1.RC1/kupl/prof/gcc/include
    

    KuLitho

    bisheng/kulitho26.1.RC1/kulitho

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kulitho/bisheng/lib/sve
    /opt/HPCKit/26.1.RC1/kulitho/bisheng/lib/sve
    /opt/HPCKit/26.1.RC1/kulitho/bisheng/include
    /opt/HPCKit/26.1.RC1/kulitho/bisheng/include
    

    gcc/kulitho26.1.RC1/kulitho

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kulitho/gcc/lib/sve
    /opt/HPCKit/26.1.RC1/kulitho/gcc/lib/sve
    /opt/HPCKit/26.1.RC1/kulitho/gcc/include
    /opt/HPCKit/26.1.RC1/kulitho/gcc/include
    

    KuTACC

    bisheng/kutacc26.1.RC1/kutacc

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kutacc/bisheng/lib
    /opt/HPCKit/26.1.RC1/kutacc/bisheng/lib
    /opt/HPCKit/26.1.RC1/kutacc/bisheng/include
    /opt/HPCKit/26.1.RC1/kutacc/bisheng/include
    

    KuRTM

    bisheng/kurtm26.1.RC1/kurtm

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kurtm/bisheng/lib
    /opt/HPCKit/26.1.RC1/kurtm/bisheng/lib
    /opt/HPCKit/26.1.RC1/kurtm/bisheng/include
    /opt/HPCKit/26.1.RC1/kurtm/bisheng/include
    

    gcc/kurtm26.1.RC1/kurtm

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kurtm/gcc/lib/
    /opt/HPCKit/26.1.RC1/kurtm/gcc/lib/
    /opt/HPCKit/26.1.RC1/kurtm/gcc/include
    /opt/HPCKit/26.1.RC1/kurtm/gcc/include
    

    KuDNN

    bisheng/kudnn26.1.RC1/kudnn

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kudnn/bisheng/lib/
    /opt/HPCKit/26.1.RC1/kudnn/bisheng/lib/
    /opt/HPCKit/26.1.RC1/kudnn/bisheng/include
    /opt/HPCKit/26.1.RC1/kudnn/bisheng/include
    

    gcc/kudnn26.1.RC1/kudnn

    echo $LD_LIBRARY_PATH; echo $LIBRARY_PATH; echo $CPATH; echo $INCLUDE;

    Example command output:

    1
    2
    3
    4
    /opt/HPCKit/26.1.RC1/kudnn/gcc/lib/
    /opt/HPCKit/26.1.RC1/kudnn/gcc/lib/
    /opt/HPCKit/26.1.RC1/kudnn/gcc/include
    /opt/HPCKit/26.1.RC1/kudnn/gcc/include
    

    HIO

    hio25.0.0/hio

    echo $HIO_HOME

    Example command output:

    1
    /opt/HPCKit/26.1.RC1/hio
    

    In the command output, check whether the environment variables of the loaded modules exist.

    • If yes, no further action is required.
    • If no, perform 5.a to load the missing environment variable management modules, and then go to 6.