| 查看: 866 | 回复: 2 | |||||
卡开发发专家顾问 (著名写手)
Ab Initio Amateur
|
[交流]
各位大侠,帮忙看看小弟的nwchem为啥编译不出已有1人参与
|
|
各位大侠帮忙看看: 我用的编译器是ifort,icc 系统是 rhel5.4-x86-64 bashrc下挂的是ifort icc impi mkl。 采用的nwchem-6.0,额外安装了gotoblas-1.13&lapack-3.31,均没在bashrc下挂,两者安装生成的*.a,*.so均拷贝到/usr/lib64 之前编译siesta和abinit都过了,但是编译nwchem就趴了。 export TCGRSH=/usr/bin/ssh export LARGE_FILES=TRUE export LIB_DEFINES="-DDFLT_TOT_MEM=524111744" export NWCHEM_TOP=/home/Admin/nwchem-6.0 export NWCHEM_TARGET=LINUX64 export NWCHEM_TARGET_CPU=x86_64 export NWCHEM_MODULES=all export USE_MPI=y #export USE_MPIF=n export HAS_BLAS=yes export BLASOPT="-L/usr/lib64 -llapack -lgoto2" # Intel MPI export MPI_LOC=/software/intel/impi/3.2.1.009 export MPI_LIB=$MPI_LOC/lib64 export MPI_INCLUDE=$MPI_LOC/include64 export LIBMPI="-lmpigf -lmpigi -lmpi_ilp64 -lmpi" make realclean make nwchem_config make FC=ifort CC=icc >& make.log 以上是仿照我们老师的脚本写的configure.sh 之后出现了如下错误: makelog的最后两行出现了: /home/Admin/nwchem-6.0/bin/LINUX64_x86_64/nwchem: hidden symbol `__svml_log2' in /software/intel/Compiler/11.1/038/lib/intel64/libsvml.a(svml_stub_dln2.o) is referenced by DSO ld: final link failed: Nonrepresentable section on output make: *** [all] 错误 1 额外检查前面的内容出现warning: warning: -jN forced in submake: disabling jobserver mode. make CC=icc FC=ifort clean make[2]: warning: -jN forced in submake: disabling jobserver mode. for dir in ma global tcgmsg-mpi LinAlg/lapack+blas tcgmsg armci/src pario; do make CC=icc FC=ifort -C $dir clean || exit 1 ; done make[3]: warning: -jN forced in submake: disabling jobserver mode. /bin/rm -f *.o *.p *core *stamp *trace *.x *events* *.x *.o /bin/rm -rf ./obj *.obj *.exe if [ -f ../lib/LINUX64/libma.a ] 这样一些类似的错误。我把make改成了txt.各位大侠麻烦看看这是啥毛病。 小弟在此谢过。 |
» 猜你喜欢
研究发现一个新的临界系数,独立于临界压缩因子
已经有7人回复
PbS量子点如何确定浓度
已经有11人回复
物理化学论文润色/翻译怎么收费?
已经有185人回复
200年来人们一直无法破解的难题: 气液临界点状态方程
已经有7人回复
关于引力延迟下双星系统角动量不守恒的疑惑---求高手解答!
已经有10人回复
大湾区大学刘天辉课题组招收2026级博士生(与中山大学物理学院联合培养)
已经有22人回复
PbS量子点紫外吸收
已经有0人回复
比利时鲁汶大学与国家留学基金委共同资助博士研究生CSC-KU Leuven PhD Scholarship
已经有0人回复
» 本主题相关价值贴推荐,对您同样有帮助:
半路出家,遇到这个交流阻抗谱不知道怎么分析,还请各位大侠帮忙看看。
已经有13人回复
麻烦各位大侠帮小弟看看这是哪类陶瓷?
已经有5人回复
小白一枚 请各位大侠帮帮忙吧~~
已经有10人回复
请各位大侠帮忙看看如何修改
已经有6人回复
各位大侠帮我看看,elsevier
已经有7人回复
各位大侠帮忙看看我的这个液晶小分子的DSC和TGA图,求解答。
已经有14人回复
麻烦各位大侠帮我看看这个是什么问题造成的,小弟不胜感激
已经有4人回复
跪求各位大侠帮忙看看我得细胞怎么了~
已经有11人回复
小弟研一新生,导师对我做的PPT不满意,大家帮忙看看,教教小弟吧
已经有20人回复
一级质谱解析,求助。各位大侠帮忙看下呀!!!
已经有3人回复
小弟研一,女友目前保研,想一起出去,大家帮忙看下,谢谢。。。
已经有20人回复
请各位大侠帮忙看一下我的液相色谱图究竟怎么了?
已经有13人回复

卡开发发
专家顾问 (著名写手)
Ab Initio Amateur
-

专家经验: +224 - 应助: 47 (小学生)
- 金币: 3480.8
- 散金: 14
- 红花: 223
- 帖子: 2477
- 在线: 1253.7小时
- 虫号: 1369423
- 注册: 2011-08-16
- 性别: GG
- 专业: 金属材料的磨损与磨蚀
- 管辖: 第一性原理

2楼2011-10-15 16:58:07
wuy069
铁杆木虫 (正式写手)
- 应助: 20 (小学生)
- 金币: 7921.9
- 散金: 15
- 红花: 10
- 帖子: 506
- 在线: 549.1小时
- 虫号: 760723
- 注册: 2009-04-30
- 性别: GG
- 专业: 理论和计算化学
★
小木虫(金币+0.5):给个红包,谢谢回帖
小木虫(金币+0.5):给个红包,谢谢回帖
|
你好像没有刷新mkl吧,所以加载库时出问题了; 下面是我根据coolrainbow专家在网上写的博客以及网上的一些资料改编的脚本(用ifort,icc,impi,mkl编译): #!/bin/csh # Author: wuy # This script is used for compiling NWChem # Basic configuration # WARNING£oModify the memsize for your own machine£¡£¡£¡ setenv LARGE_FILES TRUE setenv LIB_DEFINES -DDFLT_TOT_MEM=260609088 # Remote communication # If you do not use MPICH, comment them, else modify the MPI_LOC for your machine setenv USE_MPI y setenv USE_MPIF y setenv MPI_LOC /opt/intel/impi/4.0.0.027 setenv MPI_LIB $MPI_LOC/lib64 setenv MPI_INCLUDE $MPI_LOC/include64 setenv LIBMPI "-lmpigf -lmpigi -lmpi_ilp64 -lmpi" # Code tree setenv NWCHEM_TOP /share/apps/nwchem/intel/nwchem-6.0 # Platform setenv NWCHEM_TARGET LINUX64 # Python configuration # If you do not use PYTHON, comment them. #setenv PYTHONHOME /usr #setenv PYTHONVERSION 2.4 # Blas configuration # This is related to your own machine. Here I have used MKL Blas. If you do not have any own Blas, comment all setenv MKLLIB /opt/intel/mkl/10.2.5.035/lib/em64t setenv MKLINC /opt/intel/mkl/10.2.5.035/include setenv BLASOPT "-L${MKLLIB} -lguide -lmkl_lapack -lmkl_core -lmkl_sequential -lsvml" # What will be compiled setenv NWCHEM_MODULES "all" # Starting... # Set your own complier setenv FC /opt/intel/Compiler/11.1/072/bin/intel64/ifort setenv CC /opt/intel/Compiler/11.1/072/bin/intel64/icc setenv FOPTIMIZE "-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops -multiple-processes=8 -unroll-aggressive" setenv COPTIMIZE "-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops" make FC=ifort CC=icc 把上面的脚本写在compile_nwchem.sh里(根据你自己系统的环境自己再改改),把compile_nwchem.sh放进要编译程序目录的src文件夹里 chmod 750 compile_nwchem.sh ./compile_nwchem.sh &> make.log & 希望对你有用! |
3楼2011-10-18 08:54:33














回复此楼