24小时热门版块排行榜    

查看: 2675  |  回复: 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的回帖

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的回帖
查看全部 12 个回答

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的回帖

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的回帖
信息提示
请填处理意见