24小时热门版块排行榜    

查看: 1461  |  回复: 5

tjuZidan

木虫 (小有名气)


[交流] 【求助】abinit 6.6.1 make 时出错

gcc 4.5.2, ifort 10.1,  错误信息:

aliasing=2 -O2 -mtune=native -march=native -mfpmath=sse -o libnetcdff90.la typeSizes.lo netcdf.lo
libtool: link: ar cru .libs/libnetcdff90.a typeSizes.o netcdf.o
libtool: link: ranlib .libs/libnetcdff90.a
libtool: link: ( cd ".libs" && rm -f "libnetcdff90.la" && ln -s "../libnetcdff90.la" "libnetcdff90.la" )
make[8]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/f90'
make[7]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/f90'
Making all in fortran
make[7]: Entering directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/fortran'
echo '! NetCDF-3.' > netcdf.inc
cat ../fortran/netcdf3.inc >> netcdf.inc
make all-am
make[8]: Entering directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile /vol5/home/simg/software/local/gcc-4.5.2/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -DNDEBUG -DpgiFortran -g -O2 -mtune=native -march=native -mfpmath=sse -MT fort-attio.lo -MD -MP -MF $depbase.Tpo -c -o fort-attio.lo fort-attio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: /vol5/home/simg/software/local/gcc-4.5.2/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I../libsrc -DNDEBUG -DpgiFortran -g -O2 -mtune=native -march=native -mfpmath=sse -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o
In file included from fort-attio.c:7:0:
ncfortran.h:26:42: Fatal error:NF_INT_IS_C_... not defined:no such file or directory
compilling interrupted。
make[8]: *** [fort-attio.lo] error 1
make[8]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/fortran'
make[7]: *** [all] error 2
make[7]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1/fortran'
make[6]: *** [all-recursive] error 1
make[6]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1'
make[5]: *** [all] error 2
make[5]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf/netcdf-4.1.1'
make[4]: *** [build-stamp] error 2
make[4]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf'
make[3]: *** [package-ready] error 2
make[3]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins/netcdf'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1/plugins'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/vol5/home/simg/software/abinit-6.6.1'
make: *** [all] error 2


附件:config.log
回复此楼

» 猜你喜欢

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

» 抢金币啦!回帖就可以得到:

查看全部散金贴

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bingmou

金虫 (著名写手)


tjuZidan(金币+1): 谢谢,我能看见这里有错误,但是怎么做才可以正确编译,我单独安装netcdf就没问题,abinit自动安装的时候就会有这个错误 2011-03-24 10:39:00
ncfortran.h:26:42: Fatal error:NF_INT_IS_C_... not defined:no such file or directory
2楼2011-03-23 16:41:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tjuZidan

木虫 (小有名气)



sunyang1988(金币+1): 呵呵,共享一下吧 2011-04-26 09:35:56
已经解决了,去abinit论坛求助解决的,是源代码的小bug,需要在编译的时候加一句
3楼2011-04-26 09:30:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xianxianlu

铜虫 (小有名气)


★ ★
小木虫(金币+0.5):给个红包,谢谢回帖
gzqdyouxia(金币+1): 谢谢提示 2011-04-29 18:23:49
你是用gcc编译的?
这里有用Intel编译器编译好的,而且是并行版本,计算速度很快,你可以下载下来试试。
http://blog.sina.com.cn/chemsoft
4楼2011-04-29 13:54:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

guodp

银虫 (正式写手)



小木虫(金币+0.5):给个红包,谢谢回帖
我用的是pgi的编译器,请问遇到这个问题如何解决?
pgi7.1-4
netcdf-3.6.3
5楼2012-02-26 17:25:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小木虫(金币+0.5):给个红包,谢谢回帖
引用回帖:
5楼: Originally posted by guodp at 2012-02-26 17:25:07:
我用的是pgi的编译器,请问遇到这个问题如何解决?
pgi7.1-4
netcdf-3.6.3

官方说过,PGI的BUG在Abinit上有点多,所以根本官方就不管与PGI的兼容性,于是各种编译不成功是正常的……
用Abinit的还是尽量用官方测试过的编译器编译吧:Released Jan 31, 2012 — tested with OpenMPI, MPICH2, ATLAS, GotoBlas2, CUDA, Magma, gfortran, ifort, xlf, PathScale, open64, g95
6楼2012-02-26 18:08:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 tjuZidan 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +4 process2012 2026-08-23 5/250 2026-08-23 19:58 by jurkat.1640
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 范进中举一文的中心思想 +3 炎黄贵胄 2026-08-22 4/200 2026-08-22 20:02 by mycsru
[基金申请] 只有每年这种时候来逛逛小木虫 +24 yaoyewhu2008 2026-08-20 26/1300 2026-08-22 17:43 by kammury
[基金申请] filecode,4个jtjc了 +13 ziyangfang 2026-08-19 16/800 2026-08-22 17:08 by WH3796
[基金申请] 人气不行了 +8 fansofjerry 2026-08-21 8/400 2026-08-22 16:30 by zyqchem
[基金申请] 今天基金会出结果吗?20260819 +16 kkkl_v 2026-08-19 17/850 2026-08-22 16:12 by 阿布Abu
[基金申请] 放榜前的不淡定 40+4 snowwithsea 2026-08-19 14/700 2026-08-21 23:51 by cratir
[基金申请] 今日不放榜?网传国自然预计 8 月 27 日可查结果 +16 医学老男孩 2026-08-20 20/1000 2026-08-21 21:13 by Ldrop2023
[基金申请] 科研孤儿太难了 +17 我4大白菜 2026-08-20 18/900 2026-08-21 20:57 by zhangev
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 时间戳又变了 +13 wuchongjun 2026-08-20 19/950 2026-08-21 17:21 by 紫杉醇
[基金申请] 我面上完蛋了 +7 且听虎啸 2026-08-20 8/400 2026-08-21 12:31 by 酷酷墨镜
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
[论文投稿] 投稿咨询 +5 wwm09 2026-08-17 7/350 2026-08-21 10:11 by 期刊论文帮手
[基金申请] 今天放榜没戏了吧 +9 yuleib84 2026-08-19 11/550 2026-08-21 10:06 by gltch
[基金申请] 基金啊基金 +4 longfie172 2026-08-20 4/200 2026-08-21 08:58 by mark mao
[基金申请] 估计是周四 +3 archvillain 2026-08-18 3/150 2026-08-21 01:48 by jnhyjjm
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
信息提示
请填处理意见