在不同机器中使用多个线程numpy/lapack/eigvals的不一致性
我需要对尺寸的复合物(冬氨派)矩阵进行对角线; 2000使用numpy.linalg.eigvalsh。在一台计算机上,顶部显示了numpy是多线程,而另一个计算机则显示一个线程。两台计算机基本相同的OS(Arch Linux,Python 3.10)。在这两台机器中,numpy.show_config()的输出绝对相同。我看到的多线程的机器是带有16GB RAM和i7-8550U的笔记本电脑, @ 1.80GHz CPU(4个物理内核)。我看不到它的一个Intel(R)Xeon(R)Gold 6240R CPU @ 2.40GHz CPU(48个物理核心)和180 BG RAM。这种行为是期望的吗?我想念什么?谢谢!
I need to diagonalize complex (hermitean) matrices of dimensions > 2000 using numpy.linalg.eigvalsh. On one computer, top shows that numpy is multithreading, while in the other it shows a single thread. Both computers have essentially identical OS's (Arch Linux, python 3.10). The output of numpy.show_config() is absolutely identical in both machines. The machine in which I see multithreading is a laptop with 16GB RAM and i7-8550U @ 1.80GHz CPU (4 physical cores). The one in which I don´t see it has an Intel(R) Xeon(R) Gold 6240R CPU @ 2.40GHz CPU (48 physical cores) and 180 BG RAM. Is this behaviour expected? What am I missing? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论