使用方式
使用时,请根据不同的处理器型号和编译器添加动态库文件所在路径,链接需要使用的动态库文件。
鲲鹏920系列处理器
若需要使用KML_BLAS请添加:
- 单线程不加锁版本:-L /path/kml/lib/neon/kblas/nolocking -lkblas
- 单线程加锁版本:-L /path/kml/lib/neon/kblas/locking -lkblas
- 多线程版本:-L /path/kml/lib/neon/kblas/multi -lkblas
- 单线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/single -lkvml -lkm
- 多线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/multi -lkvml -lkm
若需要使用KML_SPBLAS请添加:
- 单线程版本:-L /path/kml/lib/neon/kspblas/single -lkspblas
- 多线程版本:-L /path/kml/lib/neon/kspblas/multi -lkspblas
若需要使用KML_FFT请添加:
- 单精度版本:-L /path/kml/lib/neon -lkfftf
- 双精度版本:-L /path/kml/lib/neon -lkfft
- 高性能版本:-L /path/kml/lib/noarch -lkm -lm
- 高精度版本:-L /path/kml/lib/noarch -lkm_l9 -lm
若需要使用KML_NUMPY请添加:-L /path/kml/lib/noarch -lknpy -lm
若需要使用KML_SVML请添加:-L /path/kml/lib/neon -lksvml -lm
若需要使用KML_VSL请添加:-L /path/kml/lib/noarch -lkvsl
- 单机版:
毕昇:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lstdc++
- 集群版:
毕昇:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lstdc++
若需要使用KML_IPL请添加:
- 单线程版本:-L /path/kml/lib/neon -lkipl -lklapack_full -L /path/kml/lib/neon/kblas/locking -lkblas -lm
若需要使用KML_LAPACK请添加:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lklapack -lkblas
若需要使用KML_SCALAPACK请添加:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lkscalapack -lklapack -lkservice -lkblas
若需要使用KML_EIGENSOLVER请添加:
- 毕昇:-L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lkes -lklapack_full -lkscalapack_full -lkservice -lkblas -lc++
- GCC: -L /path/kml/lib/neon -L /path/kml/lib/neon/kblas/multi -lkes -lklapack_full -lkscalapack_full -lkservice -lkblas -lstdc++
鲲鹏920 72Z系列处理器
若需要使用KML_BLAS请添加:
- 单线程不加锁版本:-L /path/kml/lib/sve/kblas/nolocking -lkblas
- 单线程加锁版本:-L /path/kml/lib/sve/kblas/locking -lkblas
- 多线程版本:-L /path/kml/lib/sve/kblas/multi -lkblas
- 单线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/single -lkvml -lkm
- 多线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/multi -lkvml -lkm
若需要使用KML_SPBLAS请添加:
- 单线程版本:-L /path/kml/lib/sve/kspblas/single -lkspblas
- 多线程版本:-L /path/kml/lib/sve/kspblas/multi -lkspblas
若需要使用KML_FFT请添加:
- 单精度版本:-L /path/kml/lib/sve -lkfftf
- 双精度版本:-L /path/kml/lib/sve -lkfft
- 高性能版本:-L /path/kml/lib/noarch -lkm -lm
- 高精度版本:-L /path/kml/lib/noarch -lkm_l9 -lm
若需要使用KML_NUMPY请添加:-L /path/kml/lib/noarch -lknpy -lm
若需要使用KML_SVML请添加:-L /path/kml/lib/sve -lksvml -lm
若需要使用KML_VSL请添加:-L /path/kml/lib/noarch -lkvsl
若需要使用KML_SOLVER请添加:
- 单机版:
毕昇:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lstdc++
- 集群版:
毕昇:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lstdc++
若需要使用KML_IPL请添加:
- 单线程版本:-L /path/kml/lib/sve -lkipl -lklapack_full -L /path/kml/lib/sve/kblas/locking -lkblas -lm
- 多线程版本:-L /path/kml/lib/sve -lkipl_omp -lklapack_full -L /path/kml/lib/sve/kblas/locking -lkblas -lm
若需要使用KML_LAPACK请添加:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lklapack -lkblas
若需要使用KML_SCALAPACK请添加:-L /path/kml/lib/sve -L /path/kml/lib/sve/kblas/multi -lkscalapack -lklapack -lkservice -lkblas
若需要使用KML_EIGENSOLVER请添加:
- 毕昇:-L /path/kml/lib/sve -lkes -L /path/kml/lib/sve/kblas/multi -lklapack_full -lkscalapack_full -lkservice -lkblas -lc++
- GCC: -L /path/kml/lib/sve -lkes -L /path/kml/lib/sve/kblas/multi -lklapack_full -lkscalapack_full -lkservice -lkblas -lstdc++
鲲鹏920 72F系列处理器
若需要使用KML_BLAS请添加:
- 单线程不加锁版本:-L /path/kml/lib/matrix/kblas/nolocking -lkblas
- 单线程加锁版本:-L /path/kml/lib/matrix/kblas/locking -lkblas
- 多线程版本:-L /path/kml/lib/matrix/kblas/multi -lkblas
- 单线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/single -lkvml -lkm
- 多线程版本:-L /path/kml/lib/noarch -L /path/kml/lib/noarch/kvml/multi -lkvml -lkm
若需要使用KML_SPBLAS请添加:
- 单线程版本:-L /path/kml/lib/sve512/kspblas/single -lkspblas
- 多线程版本:-L /path/kml/lib/sve512/kspblas/multi -lkspblas
若需要使用KML_FFT请添加:
- 单精度版本:-L /path/kml/lib/sve512 -lkfftf
- 双精度版本:-L /path/kml/lib/sve512 -lkfft
- 高性能版本:-L /path/kml/lib/noarch -lkm -lm
- 高精度版本:-L /path/kml/lib/noarch -lkm_l9 -lm
若需要使用KML_NUMPY请添加:-L /path/kml/lib/noarch -lknpy -lm
若需要使用KML_SVML请添加:-L /path/kml/lib/sve512 -lksvml -lm
若需要使用KML_VSL请添加:-L /path/kml/lib/noarch -lkvsl
若需要使用KML_SOLVER请添加:
- 单机版:
毕昇:-L /path/kml/lib/sve512 -L /path/kml/lib/sve512/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lksolver -lklapack_full -lkservice -lkblas -lstdc++
- 集群版:
毕昇:-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lc++
GCC:-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lkscasolver -lklapack_full -lkservice -lkblas -lstdc++
若需要使用KML_IPL请添加:
- 单线程版本:-L /path/kml/lib/sve512 -lkipl -lklapack_full -L /path/kml/lib/matrix/kblas/locking -lkblas -lm
- 多线程版本:-L /path/kml/lib/sve512 -lkipl_omp -lklapack_full -L /path/kml/lib/matrix/kblas/locking -lkblas -lm
若需要使用KML_LAPACK请添加-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lklapack -lkblas
若需要使用KML_SCALAPACK请添加:-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lkscalapack -lklapack -lkservice -lkblas
若需要使用KML_EIGENSOLVER请添加:
- 毕昇:-L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lkes -lklapack_full -lkscalapack_full -lkservice -lkblas -lc++
- GCC: -L /path/kml/lib/sve512 -L /path/kml/lib/matrix/kblas/multi -lkes -lklapack_full -lkscalapack_full -lkservice -lkblas -lstdc++