test4 cannot run with -np > 6
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/
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/
#1 0x4a7545 in __mesh3d_
at ...libGridXC/
#2 0x415a25 in __m_cellxc_
at ...libGridXC/
#3 0x4045b0 in gridxctest4
at ...libGridXC/
#4 0x4068e1 in main
at ...libGridXC/
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.