pOSKI library installation steps

  1. Install gcc and gfortran;
  2. Download the poski library, select the full version, address: BeBOP parallel Optimized Sparse Kernel Interface (pOSKI)
  3. Unzip the poski source code and get the poski-v1.0.0 folder;
  4. Modify the poski-v1.0.0/oski/oski-1.0.1h/configure file, line 21535, and change the -march value to native. It depends on the machine CPU type. You need to modify the value of the corresponding type.
  5. Create a new build directory under the poski-v1.0.0 directory, then cd into the build directory
  6. Execute the command in the build directory
    sudo ../INSTALL.sh --with-oski=yes
  7. Set environment variables
    export OSKIDIR=/usr/local/poski/build_oski
    export POSKIDIR=/usr/local/poski
    export POSKI_MESSAGE_LEVEL=0

Guess you like

Origin blog.csdn.net/ctbinzi/article/details/132082201