[DFTB-Plus-User] Compiling DFTB_MPI

jsxz jsxzzhangchao at 126.com
Wed Sep 17 14:45:31 CEST 2014


Dear all,
When I compiled the DFTB_MPI, I got errors like these below.
 
[zc at lxslc509 prg_dftb]$ make
make[1]: Entering directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort'
echo "" > _dependencies
for dep in /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_common/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_derivs/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_dftb/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_extlibs/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_geoopt/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_io/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_math/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_md/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_mixer/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_type/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../includes/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/Makefile.dep /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../lib_extlibs/Makefile.local; do cpp -traditional -DDEBUG=0 $dep >> _dependencies; done
make[1]: Leaving directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort'
make[1]: Entering directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort'
make -C /workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../../extlib/scalapackfx -f Makefile.dpint \
            MYROOT=/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../../extlib/scalapackfx DEBUG=0 USERMAKE=/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/prg_dftb/../Makefile.user \
            STAMPFILE=/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort/_extlib_scalapackfx
make[2]: Entering directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/extlib/scalapackfx'
make -C src \
            FXX="mpif90" FXXOPT="-O2 -ip" \
            LN="mpif90" LNOPT="" \
            M4="m4" M4OPT="" \
            -f "Makefile.lib"
make[3]: Entering directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/extlib/scalapackfx/src'
m4  scalapackfx_common.F90 > scalapackfx_common.f90
mpif90 -O2 -ip -c scalapackfx_common.f90
m4  blacs.F90 > blacs.f90
mpif90 -O2 -ip -c blacs.f90
 In file blacs.f90:114
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:126
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:131
  real(sp), intent(in) :: aa(lda,*)
      1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:138
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:143
  real(dp), intent(in) :: aa(lda,*)
      1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:150
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:155
  complex(sp), intent(in) :: aa(lda,*)
         1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:162
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:167
  complex(dp), intent(in) :: aa(lda,*)
         1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:179
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:192
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:197
  real(sp), intent(out) :: aa(lda,*)
      1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:205
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:210
  real(dp), intent(out) :: aa(lda,*)
      1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:218
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:223
  complex(sp), intent(out) :: aa(lda,*)
         1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:231
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:236
  complex(dp), intent(out) :: aa(lda,*)
         1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:249
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:259
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:262
  real(sp), intent(in) :: aa(lda,*)
      1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:269
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:272
  real(dp), intent(in) :: aa(lda,*)
      1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:279
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:282
  complex(sp), intent(in) :: aa(lda,*)
         1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:289
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:292
  complex(dp), intent(in) :: aa(lda,*)
         1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:304
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:314
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:317
  real(sp), intent(out) :: aa(lda,*)
      1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:324
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:327
  real(dp), intent(out) :: aa(lda,*)
      1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:334
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:337
  complex(sp), intent(out) :: aa(lda,*)
         1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:344
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:347
  complex(dp), intent(out) :: aa(lda,*)
         1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:359
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:372
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:377
  real(sp), intent(inout) :: aa(lda,*)
      1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:385
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:390
  real(dp), intent(inout) :: aa(lda,*)
      1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:398
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:403
  complex(sp), intent(inout) :: aa(lda,*)
         1
Error: Parameter 'sp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:411
  import
 1
Error: Unclassifiable statement at (1)
 In file blacs.f90:416
  complex(dp), intent(inout) :: aa(lda,*)
         1
Error: Parameter 'dp' at (1) has not been declared or is a variable, which does not reduce to a constant expression
 In file blacs.f90:238
end subroutine zgebr2d
                     1
Error: Ambiguous interfaces 'zgebr2d' and 'cgebr2d' in generic interface 'gebr2d' at (1)
 In file blacs.f90:418
end subroutine zgsum2d
                     1
Error: Ambiguous interfaces 'zgsum2d' and 'cgsum2d' in generic interface 'gsum2d' at (1)
 In file blacs.f90:293
end subroutine zgesd2d
                     1
Error: Ambiguous interfaces 'zgesd2d' and 'cgesd2d' in generic interface 'gesd2d' at (1)
 In file blacs.f90:168
end subroutine zgebs2d
                     1
Error: Ambiguous interfaces 'zgebs2d' and 'cgebs2d' in generic interface 'gebs2d' at (1)
 In file blacs.f90:348
end subroutine zgerv2d
                     1
Error: Ambiguous interfaces 'zgerv2d' and 'cgerv2d' in generic interface 'gerv2d' at (1)
make[3]: *** [blacs.o] Error 1
rm scalapackfx_common.f90 blacs.f90
make[3]: Leaving directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/extlib/scalapackfx/src'
make[2]: *** [forced_submake] Error 2
make[2]: Leaving directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/extlib/scalapackfx'
make[1]: *** [_extlib_scalapackfx] Error 2
make[1]: Leaving directory `/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort'
make: *** [/workfs/cac/zhangchao/mnt/DFTB_MPI/dftb+.mpi-r4473/src/_obj_x86_64-linux-ifort] Error 2

 
I would be really thankful for any help.
Best regards
Xiaobao Zhang
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20140917/f3e40c66/attachment-0001.html>


More information about the DFTB-Plus-User mailing list