Bug in memocc.F90
Posted: Mon Apr 18, 2011 9:50 pm
I cannot get 6.7.2 to run when compiled in debug mode. The failure occurs in memocc.F90, line 488, because i_padding is being called with nstart=-2 and so the array is being accessed at element -1, which doesn't exist. The reason that nstart is set to -2 in debug mode is that in the calling function, mo_i1 line 973, it is set to product(shape(array))-ndebug, which evaluates to 3 - 5 = -2. However, as I have no real idea what the code is supposed to be doing I don't know how to fix the problem.
Please respond quickly, I really need to develop in debug mode as much as possible.
thanks,
Joe
Please respond quickly, I really need to develop in debug mode as much as possible.
thanks,
Joe