24小时热门版块排行榜    

查看: 11192  |  回复: 274
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

[交流] 在线答疑:Wien2k的问题

希望能在这里跟大家一起交流探讨涉及Wien2k的问题。
希望做Wien2k的朋友有什么建议、资料或信息能在 这里提供出来,以便交流!
以下内容随时补充~~~~


群名:小木虫wien2k群
群号码:51109254

群名:小木虫 Wien2k(二)
群号码:75403996



欢迎提问,提问有奖。
更欢迎高手们前来解答问题,合理的答案有重奖!
谢谢!


[ Last edited by wuli8 on 2009-11-10 at 16:41 ]
回复此楼
…………
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

★ ★ ★ ★ ★ ★ ★ ★
wuchenwf(金币+8,VIP+0):xiexie
问:
引用回帖:
【求助】:如何安装wien2k,wien2k好用吗


如何安装wien2k

答:
引用回帖:
我在red hat 9.0和redhat enterprise 5下安装成功,不过先要设置好intel编译器的位置和使用权限:
[user@Linux wien]$ tar -xvf WIEN2k.tar
[user@Linux wien]$ gunzip *.gz
[user@Linux wien]$ chmod +x ./expand_lapw
[user@Linux wien]$ ./expand_lapw
[user@Linux wien]$ ./siteconfig
[user@Linux wien]$ w2web

问:
引用回帖:
请详细讲一下如何设置好intel编译器的位置和使用权限?
谢谢!!

答:
引用回帖:
我是这样做的,如果你是管理员,直接就将ifort的命令放到/bin目录下,那么就可以将ifort做为一个命令,其他用户都可以使用。如果是一般用户那得设置ifort的路径了,不然linux找不到。假设你是bash用户,那就可以修改你的.bash_profile,在里面加一句
         source 安装路径/ifortvars.sh
那么下次登陆的时候,就可以直接运行ifort了。不放心就编一个简单的fortran程序,测试一下就行了

引用回帖:
下面是一个简单的测试程序
program first
print *, "Hello World!"
end program first
编好后比如命名为first。f90
然后ifort first.f90 就会生成a.out
然后运行./a.out,当然你也可以生成指定的文件名例如
ifort -o first first.f90
运行之后文件名就是first了运行./first就可以了。
运行程序后如果显示Hello World!那就说明安装成功了

[ Last edited by wuli8 on 2008-12-10 at 09:43 ]
…………
16楼2008-12-08 13:35:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 275 个回答

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

编译时出现如下问题,请问如何解决?
谢谢!
Compile time errors (if any) were:
SRC_afminput/compile.msg:make: *** [afminput.o] Error 127
SRC_aim/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_aim/compile.msg:make: *** [real] Error 2
SRC_aim/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_aim/compile.msg:make: *** [complex] Error 2
SRC_balsac-utils/compile.msg:make: [clean] Error 1 (ignored)
SRC_balsac-utils/compile.msg:make: *** [outnn2plt.o] Error 127
SRC_broadening/compile.msg:make: *** [broadening.o] Error 127
SRC_cif2struct/compile.msg:make: *** [module.o] Error 127
SRC_clmcopy/compile.msg:make: *** [clmcopy.o] Error 127
SRC_dstart/compile.msg:make: *** [reallocate.o] Error 127
SRC_elast/compile.msg:make: [clean] Error 1 (ignored)
SRC_elast/compile.msg:make: *** [genetempl.o] Error 127
SRC_eosfit6/compile.msg:make: [clean] Error 1 (ignored)
SRC_eosfit6/compile.msg:make: *** [eosfit6.o] Error 127
SRC_eosfit/compile.msg:make: [clean] Error 1 (ignored)
SRC_eosfit/compile.msg:make: *** [eosfit.o] Error 127
SRC_filtvec/compile.msg:make[1]: *** [filtvec.o] Error 127
SRC_filtvec/compile.msg:make: *** [real] Error 2
SRC_filtvec/compile.msg:make[1]: *** [filtvec.o] Error 127
SRC_filtvec/compile.msg:make: *** [complex] Error 2
SRC_fsgen/compile.msg:make: [clean] Error 1 (ignored)
SRC_fsgen/compile.msg:make: *** [bcc_fs_mesh.o] Error 127
SRC_initelnes/compile.msg:make: *** [initelnes.o] Error 127
SRC_initxspec/compile.msg:make: *** [initxspec.o] Error 127
SRC_irrep/compile.msg:make: *** [felder.o] Error 127
SRC_joint/compile.msg:make: *** [felder.o] Error 127
SRC_kgen/compile.msg:make: *** [main.o] Error 127
SRC_kram/compile.msg:make: *** [drude.o] Error 127
SRC_lapw0/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw0/compile.msg:make: *** [seq] Error 2
SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw1/compile.msg:make: *** [real] Error 2
SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw1/compile.msg:make: *** [complex] Error 2
SRC_lapw2/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapw2/compile.msg:make: *** [real] Error 2
SRC_lapw2/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapw2/compile.msg:make: *** [complex] Error 2
SRC_lapw3/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw3/compile.msg:make: *** [real] Error 2
SRC_lapw3/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw3/compile.msg:make: *** [complex] Error 2
SRC_lapw5/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw5/compile.msg:make: *** [real] Error 2
SRC_lapw5/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw5/compile.msg:make: *** [complex] Error 2
SRC_lapw7/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_lapw7/compile.msg:make: *** [real] Error 2
SRC_lapw7/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_lapw7/compile.msg:make: *** [complex] Error 2
SRC_lapwdm/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapwdm/compile.msg:make: *** [real] Error 2
SRC_lapwdm/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapwdm/compile.msg:make: *** [complex] Error 2
SRC_lapwso/compile.msg:make: *** [reallocate.o] Error 127
SRC_lcore/compile.msg:make: *** [cdsld.o] Error 127
SRC_lorentz/compile.msg:make: *** [lorentz.o] Error 127
SRC_lstart/compile.msg:make: *** [cdlsd.o] Error 127
SRC_mini/compile.msg:make: *** [mxpmgrid.o] Error 127
SRC_mixer/compile.msg:make: *** [charge.o] Error 127
SRC_nn/compile.msg:make: *** [struk.o] Error 127
SRC_optic/compile.msg:make[1]: *** [modules.o] Error 127
SRC_optic/compile.msg:make: *** [real] Error 2
SRC_optic/compile.msg:make[1]: *** [modules.o] Error 127
SRC_optic/compile.msg:make: *** [complex] Error 2
SRC_optimize/compile.msg:make: [clean] Error 1 (ignored)
SRC_optimize/compile.msg:make: *** [optimize.o] Error 127
SRC_orb/compile.msg:make: *** [modules.o] Error 127
SRC_pairhess/compile.msg:make: *** [energy.o] Error 127
SRC_phonon/compile.msg:make: [clean] Error 1 (ignored)
SRC_phonon/compile.msg:make: *** [phonon2wien2k_sym.o] Error 127
SRC_qtl/compile.msg:make: *** [reallocate.o] Error 127
SRC_spacegroup/compile.msg:make: *** [spacegroup.o] Error 127
SRC_spaghetti/compile.msg:make: *** [reallocate.o] Error 127
SRC_structeditor/compile.msg:make[1]: *** [module.o] Error 127
SRC_structeditor/compile.msg:make: *** [all] Error 2
SRC_sumpara/compile.msg:make: *** [errclr.o] Error 127
SRC_supercell/compile.msg:make: *** [supercell.o] Error 127
SRC_symmetry/compile.msg:make: *** [symmetry.o] Error 127
SRC_symmetso/compile.msg:make: *** [symmetso.o] Error 127
SRC_telnes2/compile.msg:make: *** [modules.o] Error 127
SRC_tetra/compile.msg:make: *** [reallocate.o] Error 127
SRC_trig/compile.msg:make: [clean] Error 1 (ignored)
SRC_trig/compile.msg:make: *** [rhomb_in5.o] Error 127
SRC_txspec/compile.msg:make: *** [reallocate.o] Error 127
…………
2楼2008-12-02 10:42:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fansw1129

铁杆木虫 (著名写手)

★ ★
wuli8(金币+2,VIP+0):感谢您的交流!(*^__^*) ……能讲的更仔细些就好了。
估计是编译器没有装好
3楼2008-12-02 20:42:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

引用回帖:
Originally posted by fansw1129 at 2008-12-2 20:42:
估计是编译器没有装好

能不能讲的具体些,谢谢
…………
4楼2008-12-02 22:31:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见