24小时热门版块排行榜    

查看: 2790  |  回复: 26
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zytcv

银虫 (小有名气)

[求助] 单机多核一个cpu的串行并行求助

各位前辈,小弟刚刚接触vasp,实验室的服务器是8核的,不确定是一个还是两个cpu,请问需不需要安装mpi啊?如果不安装,是不是就等于是用一个核计算啊?真心的很困扰...先在此谢过各位了!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

引用回帖:
11楼: Originally posted by hakuna at 2012-05-25 22:56:27
多敲了个I,那个地址应该是OPENMP,还有VASP测试结果...

就是这个地址,清晰的说VASP不支持OpenMP,所以用了其他的方法来测试并行效率。
首先文章介绍了测试的两个程序,VASP和PWscf,前者是用MPI,后者支持OpenMP:
引用回帖:
NERSC provides a large number of precompiled Materials Science and Chemistry application codes, while majority of them are still flat MPI codes, eg., VASP, some of them have already had OpenMP directives added in the codes, eg., Quantum Espresso. To help to address the reduced per core memory on Hopper, and to take advantage of the imporved performance from using OpenMP, we chose two representative density functional theory (DFT) codes, VASP and Quantum Espresso codes, and analyzed their performance on Hopper upon the use of OpenMP and/or the multi-threaded BLAS library.

然后是上面有人已经摘抄的一段:
引用回帖:
VASP is an application for performing ab-initio quantum-mechanical molecular dynamics (MD) calculations using pseudopotentials and a plane wave basis set. Currently it is the most frequently used DFT code at NERSC. VASP is written in Fortran90 and is parallelized with MPI. The current version of VASP (5.2.11) does not have OpenMP implemented in the code. However, by linking the code to the Cray multi-threaded scientific library (-lsci_mc12_mp) we are able to get some measure of the effects of threading upon its performance. This is a low-effort OpenMP implementation. We mesured the runtime and the memory usage of the two most commonly used iteration schemes, the RMM-DIIS and the blocked Davidson, for electronic iterations with two test cases that NERSC users provided.

思想重于技巧,内涵重于表象
12楼2012-05-25 23:04:02
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 27 个回答

hakuna

木虫 (知名作家)

【答案】应助回帖


感谢参与,应助指数 +1
fzx2008: 金币+1, 谢谢指教 2012-05-24 20:47:40
并行的话肯定需要MPI,并且按并行方式编译才可以....
如果不是必须并行,譬如做NEB或大体系计算或赶时间,那就无所谓了,你可以同时多加几个作业....
2楼2012-05-24 08:54:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dxf_dxf_dxf

银虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
fzx2008: 金币+2, 谢谢回帖! 2012-05-24 20:48:07
zytcv: 金币+5, 有帮助 2012-05-31 17:21:27
如果你想用多个进程同时计算,就需要使用MPI。VASP是不支持OpenMP的。
如果你不安装MPI,一个计算任务就只有一个进程。
BTW,问一句CPU的个数和核的个数不一样啊?
3楼2012-05-24 19:20:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hakuna

木虫 (知名作家)

引用回帖:
3楼: Originally posted by dxf_dxf_dxf at 2012-05-24 19:20:06:
如果你想用多个进程同时计算,就需要使用MPI。VASP是不支持OpenMP的。
如果你不安装MPI,一个计算任务就只有一个进程。
BTW,问一句CPU的个数和核的个数不一样啊?

"VASP是不支持OpenMP的."
这是哪里来的消息?
4楼2012-05-25 08:47:29
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[论文投稿] 岩土工程学报什么时候才能终审完呐 25+3 yeager111 2026-08-10 4/200 2026-08-16 20:42 by tfang
[基金申请] 时间戳又变了8-15 +13 archvillain 2026-08-15 25/1250 2026-08-16 20:13 by zhaosm1982
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +3 Tide man 2026-08-14 3/150 2026-08-16 17:47 by jurkat.1640
[基金申请] 哪位老哥知道今年的国自然具体哪一天放榜? +9 Ldrop2023 2026-08-13 9/450 2026-08-16 13:24 by wukun_007
[基金申请] 咱们一起用铁证分析2026国家社科基金中标与否 +7 启萌科技 2026-08-12 26/1300 2026-08-16 12:35 by 启萌科技
[基金申请] 我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人 +11 家与远方 2026-08-10 16/800 2026-08-16 10:28 by ray43
[基金申请] filecode=后面第一个是大写字母 +6 wangze12014 2026-08-14 7/350 2026-08-15 20:12 by gltch
[基金申请] filecode +8 cratir 2026-08-14 12/600 2026-08-15 18:08 by zyfgau
[基金申请] 关于Filecode分析方法 +10 majunge000 2026-08-10 13/650 2026-08-15 12:26 by hanpeng972
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 是这周出结果还是下周出结果? +4 yuleib84 2026-08-11 4/200 2026-08-14 23:05 by lfy8008
[基金申请] 奇怪,两个人的filecode固定段从头到尾一模一样 +8 布布和一二 2026-08-10 11/550 2026-08-14 14:58 by Equinoxhua
[基金申请] filecode +15 documentary 2026-08-10 17/850 2026-08-14 10:08 by kissu88
[基金申请] FileCode能看出啥? +10 要乐观耀哥 2026-08-10 32/1600 2026-08-14 09:37 by 要乐观耀哥
[基金申请] 静等基金结果 +8 gjjjzhong 2026-08-10 21/1050 2026-08-13 17:56 by 且听虎啸
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
[基金申请] 2019年青年基金涵评意见,大家看看几个A,几个B? +11 Tide man 2026-08-11 11/550 2026-08-13 07:35 by 撸猫猫
[基金申请] 为什么网上很多人说本周 12号出结果 +6 瞬息宇宙 2026-08-10 7/350 2026-08-11 19:25 by Tide man
[基金申请] 什么时候出结果,有咨询渠道??? +3 Tide man 2026-08-11 3/150 2026-08-11 17:54 by kudofaye
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
信息提示
请填处理意见