24小时热门版块排行榜    

查看: 2346  |  回复: 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的回帖
信息提示
请填处理意见