24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 2833  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学/290求调剂/本科经历丰富/工科也可 +9 丹青奶盖 2026-03-26 11/550 2026-03-30 11:22 by 丹青奶盖
[硕博家园] 求调剂 有机化学考研356分 +9 Nadiums 2026-03-25 10/500 2026-03-30 10:49 by LiuXingYu星星
[考研] 085600,材料与化工321分求调剂 +10 大馋小子 2026-03-28 10/500 2026-03-29 23:35 by 飞行日记西
[考研] 一志愿北京工业大学,324分求调剂 +6 零八# 2026-03-28 6/300 2026-03-29 21:20 by nanaliuyun
[考研] 329求调剂 +10 钮恩雪 2026-03-25 10/500 2026-03-29 13:32 by peike
[考研] 330分求调剂 +5 qzenlc 2026-03-29 5/250 2026-03-29 07:37 by 无际的草原
[硕博家园] 招收生物学/细胞生物学调剂 +4 IceGuo 2026-03-26 5/250 2026-03-29 01:25 by griffith2014
[考研] 316求调剂 +7 江辞666 2026-03-26 7/350 2026-03-28 21:28 by sanrepian
[考研] 283求调剂 +7 A child 2026-03-28 7/350 2026-03-28 12:05 by zllcz
[考研] 286求调剂 +4 丢掉懒惰 2026-03-27 7/350 2026-03-28 08:07 by baoball
[考研] 一志愿上海理工能源动力(085800)310分求调剂 +3 zhangmingc 2026-03-27 4/200 2026-03-27 19:01 by 给你你注意休息
[考研] 一志愿 西北大学 总分282 英语一62 求调剂 +7 18419759900 2026-03-25 8/400 2026-03-27 16:38 by 18419759900
[考研] 274求调剂 +17 顾九笙要谦虚 2026-03-24 23/1150 2026-03-27 15:16 by caszguilin
[考研] 284求调剂 +11 junqihahaha 2026-03-26 12/600 2026-03-27 04:37 by wxiongid
[考研] 341求调剂 +7 青柠檬1 2026-03-26 7/350 2026-03-27 00:19 by wxiongid
[考研] 321求调剂 +6 Ymlll 2026-03-24 6/300 2026-03-26 20:50 by 不吃魚的貓
[考研] 325求调剂 +3 Aoyijiang 2026-03-23 3/150 2026-03-26 20:46 by 不吃魚的貓
[考研] 总分322求生物学/生化与分子/生物信息学相关调剂 +5 星沉uu 2026-03-26 6/300 2026-03-26 19:02 by macy2011
[考研] 生物学学硕求调剂 +7 小羊睡着了? 2026-03-23 10/500 2026-03-25 02:24 by 清风拂扬。 m
[考研] 调剂 +4 13853210211 2026-03-24 4/200 2026-03-24 19:44 by ms629
信息提示
请填处理意见