call zerograd
call etotal(potEcomp)
! AL 4/17/17: Reduce the steps if NaNs occurred.
- if (potEcomp(0).gt.0.99e20 .or. isnan(potEcomp(0)).gt.0) then
+ if (potEcomp(0).gt.0.99e18 .or. isnan(potEcomp(0)).gt.0) then
d_time=d_time/2
cycle
endif
if (overlapsc) then
print *, 'Calling OVERLAP_SC'
call overlap_sc(fail)
+ print *,'after OVERLAP'
endif
if (searchsc) then
+ print *,'call SC_MOVE'
call sc_move(2,nres-1,10,1d10,nft_sc,etot)
print *,'SC_move',nft_sc,etot
if(me.eq.king.or..not.out1file) &