- Install gcc and gfortran;
- Download the poski library, select the full version, address: BeBOP parallel Optimized Sparse Kernel Interface (pOSKI)
- Unzip the poski source code and get the poski-v1.0.0 folder;
- 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.
- Create a new build directory under the poski-v1.0.0 directory, then cd into the build directory
- Execute the command in the build directory
sudo ../INSTALL.sh --with-oski=yes
- Set environment variables
export OSKIDIR=/usr/local/poski/build_oski export POSKIDIR=/usr/local/poski export POSKI_MESSAGE_LEVEL=0
pOSKI library installation steps
Guess you like
Origin blog.csdn.net/ctbinzi/article/details/132082201
Recommended
Ranking