[CPMD-list] code problem with TISTACK(NTIMX)
Salomon Billeter
ZRLSRB at ch.ibm.com
Tue May 18 15:49:20 CEST 2004
Hi Christian,
you can insert the following lines before line 33 of file timer.F (TISET;
they are already contained in the newest version):
IF(ITSTACK.GT.NTIMX) THEN
DO I=1,ITSTACK-1
WRITE(*,'(A,I6,A)') ' NAME STACK ',I,TISTACK(I)
ENDDO
CALL STOPGM('TISET','ROUTINE STACK OVERFLOW')
ENDIF
This dumps the stack if there is an overflow, and you'll see where there is
a TISET not matched by TIHALT
Best regards,
Salomon
More information about the CPMD-list
mailing list