24小时热门版块排行榜    

查看: 630  |  回复: 6
当前主题已经存档。
【有奖交流】积极回复本帖子,参与交流,就有机会分得作者 kgdu 的 1 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

kgdu

金虫 (正式写手)

[交流] 【求助】TBTrans编译问题

请大家帮帮忙啊!我先编译了Transiesta,再编译TBTrans,出错:
use mpi_siesta
             1
致命错误: 无法打开模块文件‘mpi_siesta.mod’读取,在 (1) 处:没有那个文件或目录
make: *** [m_tbt_kpts.o] 错误 1
然后我将Src/MPI下的mpi_siesta.mod copy到TBTrans下,make又出错:
我弄了几天了,  ,copy mpi_siesta.mod 对不对呢?先谢谢大家了
mpif90 -c -O2 -g     -DMPI tsread2.F
mpif90 -c -O2 -g     -DMPI m_tbt_gf.F90
在文件 m_tbt_gf.F90:56

double precision, allocatable, dimension (:, :: H, xij
                                                  1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:57

integer, allocatable, dimension ( :: ix
                                        1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:58

double precision, allocatable, dimension ( :: S,efs
                                                1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:59

integer, allocatable, dimension ( :: listh, listhptr, numh, indxuo
                                           1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:66

allocate(H(maxnh,nspin))
         1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:67

allocate(S(maxnh))
         1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:68

allocate(indxuo(notot))
              1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:69

allocate(listh(maxnh))
             1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:70

allocate(listhptr(nuotot))
                1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:71

allocate(numh(nuotot))
            1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:72

allocate(efs(nspin))
           1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:73

allocate(ix(maxnh))
          1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:74

if (.not.gamma) allocate(xij(3,maxnh))
                           1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                         1
错误: 符号‘h’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                           1
错误: 符号‘s’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                               1
错误: 符号‘xij’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                      1
错误: 符号‘indxuo’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                            1
错误: 符号‘listh’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                     1
错误: 符号‘listhptr’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                          1
错误: 符号‘numh’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                              1
错误: 符号‘efs’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                                  1
错误: 符号‘ix’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:823

            call alloc_gf_vars(LH,LS,Lxij,Lindxuo,Llisth,Llisthptr,Lnumh &
                              1
错误: 实参‘h’类型/秩不匹配,于 (1) 处
在文件 m_tbt_gf.F90:833

            call alloc_gf_vars(RH,RS,Rxij,Rindxuo,Rlisth,Rlisthptr,Rnumh &
                              1
错误: 实参‘h’类型/秩不匹配,于 (1) 处
make: *** [m_tbt_gf.o] 错误 1
[root@localhost TBTrans]# find m_tbt_gf*
m_tbt_gf.F90
[root@localhost TBTrans]# make

Compilation architecture to be used:  x86_64-unknown-linux-gnu--unknown
If that is not what you want, give the correct
value to the variable SIESTA_SYS in your shell environment.


mpif90 -c -O2 -g     -DMPI m_tbt_gf.F90
在文件 m_tbt_gf.F90:56

double precision, allocatable, dimension (:, :: H, xij
                                                  1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:57

integer, allocatable, dimension ( :: ix
                                        1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:58

double precision, allocatable, dimension ( :: S,efs
                                                1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:59

integer, allocatable, dimension ( :: listh, listhptr, numh, indxuo
                                           1
错误: ALLOCATABLE 属性与 DUMMY 属性在 (1) 处冲突
在文件 m_tbt_gf.F90:66

allocate(H(maxnh,nspin))
         1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:67

allocate(S(maxnh))
         1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:68

allocate(indxuo(notot))
              1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:69

allocate(listh(maxnh))
             1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:70

allocate(listhptr(nuotot))
                1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:71

allocate(numh(nuotot))
            1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:72

allocate(efs(nspin))
           1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:73

allocate(ix(maxnh))
          1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:74

if (.not.gamma) allocate(xij(3,maxnh))
                           1
错误: ALLOCATE 语句在 (1) 处语法错误
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                         1
错误: 符号‘h’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                           1
错误: 符号‘s’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                               1
错误: 符号‘xij’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                      1
错误: 符号‘indxuo’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                            1
错误: 符号‘listh’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                     1
错误: 符号‘listhptr’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                          1
错误: 符号‘numh’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                              1
错误: 符号‘efs’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:53

subroutine alloc_gf_vars(H,S,xij,indxuo,listh,listhptr,numh,efs, ix, &
                                                                  1
错误: 符号‘ix’(位于 (1))没有 IMPLICIT 类型
在文件 m_tbt_gf.F90:823

            call alloc_gf_vars(LH,LS,Lxij,Lindxuo,Llisth,Llisthptr,Lnumh &
                              1
错误: 实参‘h’类型/秩不匹配,于 (1) 处
在文件 m_tbt_gf.F90:833

            call alloc_gf_vars(RH,RS,Rxij,Rindxuo,Rlisth,Rlisthptr,Rnumh &
                              1
错误: 实参‘h’类型/秩不匹配,于于 (1) 处
make: *** [m_tbt_gf.o] 错误 1
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kgdu

金虫 (正式写手)

我自己顶一下,希望有人回答
7楼2009-12-14 23:03:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

y1ding

铁杆木虫 (著名写手)

★ ★ ★
aylayl08(金币+2,VIP+0):感谢专家提示 12-5 19:18
kgdu(金币+1,VIP+0):谢谢参与 12-17 23:06
你先串行编译看看.tbt编译我这边没有任何问题.在util,用那个build_all.sh一切ok。
2楼2009-12-05 19:08:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kgdu

金虫 (正式写手)

引用回帖:
Originally posted by y1ding at 2009-12-5 19:08:
你先串行编译看看.tbt编译我这边没有任何问题.在util,用那个build_all.sh一切ok。

还是有问题啊?我行串行编译,再进入TBTrans,make,
先出错:
没找到这几个库 libfdf.a   dc_lapack.a liblapack.a libblas.a
我将Obj/下的库copy到TBTrans下
make,又有错误:
好像是库的错误,楼上的有没有遇到库不存在的问题呢,我一直用的是g95编译。
再帮我看一下。Thank you!(还很多错误,性质应该是一样的)

Lowdin.o: In function `zsqrtm_':
/usr/siesta-3.0-b/Util/TBTrans/Lowdin.F:109: undefined reference to `zhpev_'
Lowdin.o: In function `zinvsqrtm_':
/usr/siesta-3.0-b/Util/TBTrans/Lowdin.F:201: undefined reference to `zhpev_'
dc_lapack.a(dc_lapack.o): In function `zunmtr_':
/usr/siesta-3.0-b/Src/Libs/dc_lapack.f:7962: undefined reference to `_gfortran_concat_string'
3楼2009-12-06 10:37:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

y1ding

铁杆木虫 (著名写手)

★ ★
freshgirl(金币+2,VIP+0):谢谢参与~ 12-9 19:52
你用的是g95编译,但是这里显示的是gfortran
/usr/siesta-3.0-b/Src/Libs/dc_lapack.f:7962: undefined reference to `_gfortran_concat_string'
不一致
4楼2009-12-06 11:25:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见