[Octopus-devel] Out-of-bounds failures in the test suite.

Tobias Burnus tobias.burnus at physik.fu-berlin.de
Thu Apr 23 19:08:35 WEST 2009


Hello,

running the Octopus testsuite I get for
/tmp/octopus.IN6GKQ/01-wavepacket.01-deriv_order_1.inp:

Info: Preconditioner throughput (MFlops) real =    870 complex =   1351
Info: Starting SCF iteration
At line 246 of file ../../../octopus-trunk/src/scf/ob_lippmann_schwinger.F90
Fortran runtime error: Array bound mismatch, size mismatch for dimension
1 of array 'tmp_x' (203/205)

Backtrace for this error:
  + function lhs (0x5B87F3)
    at line 246 of file ob_lippmann_schwinger.F90
  + function zqmr_sym_gen_dotp (0xA0592D)
    at line 393 of file solvers_inc.F90
  + function lippmann_schwinger (0x5B4649)
    at line 140 of file ob_lippmann_schwinger.F90
  + function scf_run (0x5AA3BE)
    at line 372 of file scf.F90

Thats the lines:

    do idim = 1, dim
      tmp_x(1:np, idim) = x(l(idim):u(idim))

The error message seems to be off by one as the statement is effectively:

tmp_x(1:204, 1) = x(1:206)

Thus "1:np" is too small. Should this be instead "1:np_part"? np_part is
206?

(Occures a couple of times in the testsuite.)

Tobias


More information about the Octopus-devel mailing list