test4 cannot run with -np > 6

Bug #1665317 reported by Nick Papior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libGridXC
New
Undecided
Unassigned

Bug Description

Testers/test4.F90 cannot run with 7 or 8 cores in an MPI run.

The following backtrace can be generated (on the trunk version)

At line 2712 of file ...libGridXC/trunk/src/mesh3d.F90
Fortran runtime error: Index '1' of dimension 1 of array 'trsfbuff' outside of expected range (1:0)

Error termination. Backtrace:
#0 0x491c53 in reducedata
 at ...libGridXC/trunk/src/mesh3d.F90:2712
#1 0x4a7545 in __mesh3d_MOD_copymeshdata
 at ...libGridXC/trunk/src/mesh3d.F90:1090
#2 0x415a25 in __m_cellxc_MOD_cellxc
 at ...libGridXC/trunk/src/cellxc.F90:489
#3 0x4045b0 in gridxctest4
 at ...libGridXC/trunk/gfortran/Testers/test4.F90:188
#4 0x4068e1 in main
 at ...libGridXC/trunk/gfortran/Testers/test4.F90:7

It seems the calculation of the temporary buffer is not correct? I couldn't figure out how to fix it, tried various combinations around line: 2565, to no avail.

Compiled with the examples/fortran.mk with debug options turned on.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.