OpenMathLib / OpenMathLib/OpenBLAS

how to use parallel potrf

未关闭
#5,246 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C
星标
7.6k
派生
1.7k
平均合并
1 天 3 小时
30 天内合并 PR
42

描述

I am currently using the develop version of OpenBLAS which was built with simpe make , and I'm trying to utilize the parallel version of the POTRF function. However, I am encountering issues with parallel execution.
Here is the core code.

#include "cblas.h"
#include "lapacke.h"
// ...

info = LAPACKE_spotrf(LAPACK_ROW_MAJOR, 'L', n, A, n);

matrix sizes ranging from 36000 x 36000 to 60000 x 60000 and runs on a 256 core tsv110 architecture machine.
I have set OPENBLAS_NUM_THREADS=20, but when I monitor the process with the top command, I observe that only one core is being utilized.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

未指定源文件或测试。先从 LAPACKE_spotrf 入口点和简单的 make 构建配置入手,然后检查 OPENBLAS_NUM_THREADS 如何影响所报告的 TSV110 配置上的并行 POTRF;记录所需的配置和预期的线程行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
c
领域
hpc, performance
Issue 类型
文档
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。