24小时热门版块排行榜    

查看: 2796  |  回复: 11

0751cj

铜虫 (正式写手)

[求助] abinit编译错误 已有1人参与

configure成功了,然后make后出现如下错误
Fatal Error: File 'defs_basis.mod' opened at (1) is not a GFORTRAN module file

make[3]: *** [m_optim_dumper.o] Error 1

make[3]: Leaving directory `/home/material/chenjian114/abinit-7.8.2/src/10_dumpinfo'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/material/chenjian114/abinit-7.8.2/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/material/chenjian114/abinit-7.8.2'

make: *** [all] Error 2

[chenjian114@lu01 abinit-7.8.2]$

这怎么解决?能具体点吗,linux和abinit都是初学
回复此楼

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

凝聚态物理

» 猜你喜欢

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

无暇空闲
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖支持 ( 显示支持度最高的前 50 名 )

KalaShayminS

铁杆木虫 (著名写手)

引用回帖:
5楼: Originally posted by 0751cj at 2014-12-22 00:20:15
那么说是编译成功了?我怎么调用这个程序啊,输入文件都建好了,按教材./abinit/src/main/abinit<test_file>&log 好像不行...

确定编译通过了吗?只给了configure的输出啊,没有make的。
abinit主程序在configure的时候参数指定的prefix目录的bin目录下面。
6楼2014-12-22 00:32:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通回帖

KalaShayminS

铁杆木虫 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
0751cj(ljw4010代发): 金币+1, 谢谢交流! 2014-12-19 18:55:43
0751cj: 金币+14, ★★★★★最佳答案 2014-12-22 00:17:35
是用gfortran的吗?
这看起来是用其他编译器曾经编译过了但没有make clean导致的错误。
2楼2014-12-19 11:10:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

0751cj

铜虫 (正式写手)

引用回帖:
2楼: Originally posted by KalaShayminS at 2014-12-19 11:10:30
是用gfortran的吗?
这看起来是用其他编译器曾经编译过了但没有make clean导致的错误。

谢谢啊,确实是这个问题,但是make clean 过后又出现这个问题,是什么原因?

ummary of important options:



  * C compiler      : intel version 13.1

  * Fortran compiler: intel version 13.1

  * architecture    : intel xeon (64 bits)



  * debugging       : basic

  * optimizations   : standard



  * OpenMP enabled  : no (collapse: ignored)

  * MPI    enabled  : yes

  * MPI-IO enabled  : auto

  * GPU    enabled  : no (flavor: none)



  * TRIO   flavor = none

  * TIMER  flavor = abinit (libs: ignored)

  * LINALG flavor = netlib (libs: auto-detected)

  * ALGO   flavor = none (libs: ignored)

  * FFT    flavor = none (libs: ignored)

  * MATH   flavor = none (libs: ignored)

  * DFT    flavor = libxc-fallback



Configuration complete.

You may now type "make" to build ABINIT.

(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>"
无暇空闲
3楼2014-12-20 20:42:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

KalaShayminS

铁杆木虫 (著名写手)

【答案】应助回帖

引用回帖:
3楼: Originally posted by 0751cj at 2014-12-20 20:42:04
谢谢啊,确实是这个问题,但是make clean 过后又出现这个问题,是什么原因?

ummary of important options:



  * C compiler      : intel version 13.1

  * Fortran compiler: intel version 13.1

...

哪个问题?你上面给的没有错误。
4楼2014-12-21 11:41:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

0751cj

铜虫 (正式写手)

引用回帖:
4楼: Originally posted by KalaShayminS at 2014-12-21 11:41:20
哪个问题?你上面给的没有错误。...

那么说是编译成功了?我怎么调用这个程序啊,输入文件都建好了,按教材./abinit/src/main/abinit<test_file>&log 好像不行
无暇空闲
5楼2014-12-22 00:20:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

0751cj

铜虫 (正式写手)

引用回帖:
6楼: Originally posted by KalaShayminS at 2014-12-22 00:32:26
确定编译通过了吗?只给了configure的输出啊,没有make的。
abinit主程序在configure的时候参数指定的prefix目录的bin目录下面。...

make 后出现这写错误
catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for prep_fourwf.F90 (code 1)
make[3]: *** [prep_fourwf.o] Error 1
make[3]: Leaving directory `/home/material/chenjian114/abinit-7.8.2/src/66_wfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/material/chenjian114/abinit-7.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/material/chenjian114/abinit-7.8.2'
make: *** [all] Error 2

怎么办啊
无暇空闲
7楼2014-12-22 11:17:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

KalaShayminS

铁杆木虫 (著名写手)

引用回帖:
7楼: Originally posted by 0751cj at 2014-12-22 11:17:36
make 后出现这写错误
catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note:  ...

configure的参数是什么?
8楼2014-12-22 11:29:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cylan

木虫 (正式写手)

用google搜how to install abinit on ubuntu OS,会搜到abinit论坛中的教程,还有就是youtube上有专门一个视频教你怎么安装的。
9楼2014-12-22 11:57:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

0751cj

铜虫 (正式写手)

引用回帖:
8楼: Originally posted by KalaShayminS at 2014-12-22 11:29:24
configure的参数是什么?...

使用的是cfg_intel,里面有
./configure FC=mpiifort   CC=mpiicc FC_LDFLAGS=-mkl \
--enable-mpi=yes \
--prefix=$HOME/local/abinit782 \
--with-dft-flavor=libxc

# --with-dft-flavor=libxc+wannier90+bigdft

# --with-dft-flavor=libxc+wannier90+atompaw+bigdft
~                                                                                                                                      
~                                                                                                                                      
~                                                                                                                                      
~
无暇空闲
10楼2014-12-22 22:07:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 0751cj 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 湖北工业大学 生命科学与健康学院-课题组招收2026级食品/生物方向硕士 +3 1喜春8 2026-03-17 5/250 2026-03-17 17:18 by ber川cool子
[考研] 材料专硕326求调剂 +6 墨煜姒莘 2026-03-15 7/350 2026-03-17 17:10 by ruiyingmiao
[考研] 293求调剂 +6 世界首富 2026-03-11 6/300 2026-03-17 17:04 by ruiyingmiao
[考研] 290求调剂 +3 p asserby. 2026-03-15 4/200 2026-03-17 16:35 by wangkm
[考研] 304求调剂 +5 素年祭语 2026-03-15 5/250 2026-03-16 17:00 by 我的船我的海
[考研] 中科院材料273求调剂 +4 yzydy 2026-03-15 4/200 2026-03-16 15:59 by Gaodh_82
[考研] 机械专硕调剂 +3 笨笨兔子 2026-03-12 3/150 2026-03-15 20:02 by 栗子粥?
[考研] 【0703化学调剂】-一志愿华中师范大学-六级475 +5 Becho359 2026-03-11 5/250 2026-03-14 11:35 by 哦哦123
[考研] 招收0805(材料)调剂 +3 18595523086 2026-03-13 3/150 2026-03-14 00:33 by 123%、
[考研] 材料371求调剂 +9 鳄鱼? 2026-03-11 11/550 2026-03-13 22:53 by JourneyLucky
[考研] 0703化学调剂 +4 快乐的香蕉 2026-03-11 4/200 2026-03-13 22:41 by JourneyLucky
[考研] 0703化学一志愿211 总分320求调剂 +5 玛卡巴卡啊哈 2026-03-11 5/250 2026-03-13 21:40 by JourneyLucky
[考研] 333求调剂 +3 球球古力 2026-03-11 3/150 2026-03-13 21:27 by JourneyLucky
[考研] 0703化学求调剂 +7 绿豆芹菜汤 2026-03-12 7/350 2026-03-13 17:25 by njzyff
[考研] 307求调剂 +5 超级伊昂大王 2026-03-12 5/250 2026-03-13 15:56 by 棒棒球手
[考研] 工科278分求调剂 +5 周慢热啊 2026-03-12 7/350 2026-03-13 15:49 by JourneyLucky
[考研] 290求调剂 +7 ADT 2026-03-12 7/350 2026-03-13 15:17 by JourneyLucky
[考研] 材料301分求调剂 +5 Liyouyumairs 2026-03-12 5/250 2026-03-13 14:42 by JourneyLucky
[考研] 321求调剂(食品/专硕) +3 xc321 2026-03-12 6/300 2026-03-13 08:45 by xc321
[考博] 26读博 +4 Rui135246 2026-03-12 10/500 2026-03-13 07:15 by gaobiao
信息提示
请填处理意见