24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1743  |  回复: 4
【奖励】 本帖被评价4次,作者lindlar0078增加金币 3.2

lindlar0078

木虫 (著名写手)


[资源] 在Cluters上编译并行版Abinit 6.10.3 MPI-64

第一次编译软件并行版Abinit 6.10.3总出错,后来费了许多周折,终于编译通过,与大家分享,也请高手指教。

   我是在Cluter上编译的,所需要的gfortran和openmpi系统都已经安装好,具体方法如下:

1、设置好$MPI和$LD-LIBRARY-PATH的环境变量,以下供参考:
#openmpi-1.4.3-intel
export MPI_ROOT=/usr/local/openmpi-1.4.3-intel/
export PATH=/usr/local/openmpi-1.4.3-intel/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/openmpi-1.4.3-intel/lib:$LD_LIBRARY_PATH


2、./congfigure命令行如下:
./configure --prefix=/usr/local/abinit6.10.3 --exec-prefix=/usr/local/abinit6.10.3 --enable-mpi=yes --enable-mpi-io=yes --enable-vdwxc=yes FC=mpif90

3、make mj4

4、make install


简单测试后的log文件显示:
  
.Version 6.10.3 of ABINIT
.(MPI version, prepared for a x86_64_linux_intel12.0 computer) 
  
=== Build Information ===
  Version       : 6.10.3
  Build target  : x86_64_linux_intel12.0
  Build date    : 20111222

=== Compiler Suite ===
  C compiler       : gnu4.3
  CFLAGS           :  -g -O2 -mtune=native -march=native -mfpmath=sse
  C++ compiler     : gnu4.3
  CXXFLAGS         :  -g -O2 -mtune=native -march=native -mfpmath=sse
  Fortran compiler : intel12.0
  FCFLAGS          :  -g -extend-source -vec-report0 -noaltparam -nofpscomp
  FC_LDFLAGS       :    -static-intel -static-libgcc

=== Optimizations ===
  Debug level        : basic
  Optimization level : standard
  Architecture       : amd_opteron

=== MPI ===
  Parallel build : yes
  Parallel I/O   : yes
  Time tracing   : no
  GPU support    : no

=== Connectors / Fallbacks ===
  Connectors on : yes
  Fallbacks on  : yes
  DFT flavor    : libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback
  FFT flavor    : none
  LINALG flavor : netlib-fallback
  MATH flavor   : none
  TIMER flavor  : abinit
  TRIO flavor   : netcdf-fallback+etsf_io-fallback

=== Experimental features ===
  Bindings            : no
  Exports             : no
  GW double-precision : no

[ Last edited by lindlar0078 on 2012-1-2 at 13:26 ]
回复此楼

» 收录本帖的淘帖专辑推荐

精华网帖收集 第一性原理相关文档 第一性原理计算-tg 第一性原理计算辅助工具

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖置顶 ( 共有1个 )

future_wl

木虫 (著名写手)


★★★★★ 五星级,优秀推荐

弱弱的问一句,配置语句中的--enable-mpi-io=yes 是啥意思?另外如果要装并行版的话,编译器应该使用并行版的吧,也就是FC=mpif90,如果写成FC=ifort是不是会出错?
3楼2012-07-24 10:11:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
简单回复
sars5182楼
2012-01-09 05:57   回复  
五星好评  感谢分享~
lyqwin4楼
2012-11-18 19:33   回复  
五星好评  感谢分享~
obaica5楼
2016-06-09 15:26   回复  
五星好评  好!
相关版块跳转 我要订阅楼主 lindlar0078 的主题更新
☆ 无星级 ★ 一星级 ★★★ 三星级 ★★★★★ 五星级
普通表情 高级回复(可上传附件)
信息提示
请填处理意见