| 查看: 1204 | 回复: 7 | ||
[求助]
如何用pathscale + openmpi 编译Abinit?
|
| 在abinit.org上看用pathscale编译的运行成绩挺好的,正好pathscale开源了,想试试看效率怎么样。谁知道怎么编译?我知道openmpi+gcc或ifort+mpich编译,但是pathscale 安装后不知道怎么下手。 |
» 猜你喜欢
读博
已经有5人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有13人回复
博士申请都是内定的吗?
已经有6人回复
之前让一硕士生水了7个发明专利,现在这7个获批发明专利的维护费可从哪儿支出哈?
已经有5人回复
博士读完未来一定会好吗
已经有29人回复
投稿精细化工
已经有4人回复
高职单位投计算机相关的北核或SCI四区期刊推荐,求支招!
已经有4人回复
导师想让我从独立一作变成了共一第一
已经有9人回复
心脉受损
已经有5人回复
Springer期刊投稿求助
已经有4人回复
» 本主题相关价值贴推荐,对您同样有帮助:
如何制取乙胺气体
已经有6人回复
关于MS中通过 Brillouin Zone Path 设置和修改的问题
已经有31人回复
vasp5.2 openmpi+intel+mkl编译,能量正值问题
已经有7人回复
如何测定箱式炉体内各区域实际温度
已经有4人回复
如何编译origin8.0自定义函数的程序?
已经有6人回复
【求助】abinit编译安装的并行和串行问题
已经有9人回复
beyondstar
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 2357.3
- 散金: 601
- 红花: 4
- 帖子: 475
- 在线: 2503.5小时
- 虫号: 96793
- 注册: 2005-11-07
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
2楼2011-09-01 23:36:30
3楼2011-09-02 13:01:53
后天一
木虫 (小有名气)
我们的自由!
- 1ST强帖: 3
- 应助: 9 (幼儿园)
- 金币: 2544.6
- 红花: 4
- 帖子: 204
- 在线: 311小时
- 虫号: 519608
- 注册: 2008-03-06
- 专业: 凝聚态物性 II :电子结构
【答案】应助回帖
★ ★
vv_china(金币+50): 10 2011-09-02 20:15:50
zzy870720z(金币+2): 谢谢指教 2011-09-03 17:12:17
vv_china(金币+50): 10 2011-09-02 20:15:50
zzy870720z(金币+2): 谢谢指教 2011-09-03 17:12:17
|
在没有开源以前用过pathscale编译,记得当时出错了。 不知道这个版本是否可以~ 既然你知道怎么用ifort和mpich编译abinit,那么这个也是一样的啊。 大概步骤是这样的,安装好pathscale后,在环境变量文件.bashrc中export相关路径,然后用pathscale编译openmpi,然后用abinit,过程总可能涉及到相关的库文件,尽量用pathscale编译,然后试试看! |
4楼2011-09-02 16:25:18
5楼2011-09-02 20:19:31
后天一
木虫 (小有名气)
我们的自由!
- 1ST强帖: 3
- 应助: 9 (幼儿园)
- 金币: 2544.6
- 红花: 4
- 帖子: 204
- 在线: 311小时
- 虫号: 519608
- 注册: 2008-03-06
- 专业: 凝聚态物性 II :电子结构
6楼2011-09-02 22:11:53
|
谢谢你的建议。 我试着按照你的设置,但还是有错。错误信息如下: *** Fortran 77 compiler checking for x86_64-redhat-linux-gfortran... pathf90 checking whether we are using the GNU Fortran 77 compiler... yes checking whether pathf90 accepts -g... yes checking if Fortran 77 compiler works... links (cross compiling) checking pathf90 external symbol convention... link: invalid option -- d Try `link --help' for more information. link: invalid option -- d Try `link --help' for more information. link: invalid option -- d Try `link --help' for more information. link: invalid option -- d Try `link --help' for more information. link: invalid option -- d Try `link --help' for more information. configure: error: Could not determine Fortran naming convention. 我试着把link移除,这个错误没有了,但是出现新的错误: *** Fortran 77 compiler checking for x86_64-redhat-linux6E-gfortran... pathf95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether pathf95 accepts -g... yes checking if Fortran 77 compiler works... links (cross compiling) checking pathf95 external symbol convention... single underscore checking if C and Fortran 77 are link compatible... yes checking to see if F77 compiler likes the C++ exception flags... skipped (no C++ exceptions flags) checking if Fortran 77 compiler supports LOGICAL... yes checking size of Fortran 77 LOGICAL... configure: error: Can not determine size of LOGICAL when cross-compiling 。。。 如果直接用gcc、gfortran就没有这些问题。。。我想可能还是环境变量没设置好? |
7楼2011-09-07 20:38:05
8楼2011-10-10 01:13:32













回复此楼