24小时热门版块排行榜    

查看: 701  |  回复: 7
当前主题已经存档。

nkleof

银虫 (正式写手)

[交流] 【求助】5.6.4安装问题

第一次在集群上安装abinit,可是遇到问题到现在也没有成功。

./config/scripts/makemake    这一步没有问题
./configure FC=ifort    这步看起来也没有问题
make    这步遇到问题
------------------------------------------------------
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[4]: *** [configure-stamp] Error 77
make[4]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf'
make[3]: *** [package-ready] Error 2
make[3]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/plugins/netcdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4'
make: *** [all] Error 2
------------------------------------------------------
在config.log里看到
------------------------------------------------------
conftest.c:16:28: error: ac_nonexistent.h: No such file or directory
..........
conftest.c: In function 'main':
conftest.c:34: error: 'not' undeclared (first use in this function)
conftest.c:34: error: (Each undeclared identifier is reported only once
conftest.c:34: error: for each function it appears in.)
..........
fortcom: Error: conftest.F, line 3: Syntax error, found END-OF-STATEMENT when
expecting one of: => = . ( : %
      choke me
---------------^
conftest.c:34: error: expected ';' before 'big'
------------------------------------------------------
不理会,继续执行
make install
则会遇到一下问题,并终止编译。
------------------------------------------------------
fortcom: Error: chkinp.F90, line 50: Error in opening the compiled module file.
Check INCLUDE paths.   [ETSF_IO]
use etsf_io
-----^
compilation aborted for chkinp.F90 (code 1)
make[2]: *** [chkinp.o] Error 1
make[2]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/src/13iovars'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/mfeng/abinit/abinit-5.6.4/src'
make: *** [install-recursive] Error 1
------------------------------------------------------
请大家帮忙给点安装经验,可能是什么原因引起的错误?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

★ ★
jghe(金币+1,VIP+0):感谢你参与讨论!
nkleof(金币+1,VIP+0):多谢关注
“C compiler cannot create executables”

C编译器买安装或者路径指引不对
建议安装gcc或者指引好路径。
储氢家族欢迎储氢研究者!
2楼2008-12-25 19:55:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nkleof

银虫 (正式写手)

引用回帖:
Originally posted by zxzj05 at 2008-12-25 19:55:
“C compiler cannot create executables”

C编译器买安装或者路径指引不对
建议安装gcc或者指引好路径。

多谢,我调整了一下icc的路径,不过编译完了为什么还是没有abinis在~abinit/src/main下面?
3楼2008-12-26 10:47:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nkleof

银虫 (正式写手)

经过mail list上两个人的指点,到目前为止好像已经安装成功了,运行一些tests也都顺利通过。
不过在这里还想请教个问题。我编译的是5.4.4的,如果想升级到5.6.3,该怎么做?重新建个文件夹,然后config, make就可以了吗?同时存在两个版本的abinis,运行时怎么区分要调用哪个?是不是在环境变量PATH里修改?
4楼2008-12-26 16:25:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wyl04

金虫 (小有名气)


nkleof(金币+1,VIP+0):多谢关注
which abinis
你就可以看到你用的abinis的路径了
5楼2008-12-27 10:57:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wfbgc

木虫 (小有名气)

楼主,你能留个QQ号吗?我想我们可以一起探讨一下。
6楼2008-12-29 02:16:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

元小雪

木虫 (职业作家)


wuli8(金币+1,VIP+0):(*^__^*)
查查路径
无聊的博士
7楼2008-12-29 12:57:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

nkleof

银虫 (正式写手)

请问一下版主,这个帖子怎么结啊?我指的是金币,剩下的可以收回吗?
8楼2008-12-30 22:01:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 nkleof 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见