Re: Do firsttimestep, numsteps and run have maximum values?

From: David Hardy (dhardy_at_ks.uiuc.edu)
Date: Wed Sep 19 2018 - 10:04:28 CDT

Hi Haochuan,

Yes, the types presently used in SimParameters limit firsttimestep and numsteps to 2^31-1.

Best regards,
Dave

--
David J. Hardy, Ph.D.
Beckman Institute
University of Illinois at Urbana-Champaign
405 N. Mathews Ave., Urbana, IL 61801
dhardy_at_ks.uiuc.edu, http://www.ks.uiuc.edu/~dhardy/
> On Sep 18, 2018, at 8:42 PM, yjcoshc <yjcoshc_at_gmail.com> wrote:
> 
> Hello everyone,
> 
> I am trying to restart a NAMD simulation which has run for 2133000000 steps. If I set:
> 
> firsttimestep 2133000000
> run 1000000000
> 
> and then NAMD would run 0 step and exit. I have looked at the NAMD source code and found the type of N and firsttimestep is int, not long long or int64_t. Does that mean the maximum firsttimestep and total steps is the maximum int type integer (2147483647 in gcc)?
> 
> Thanks,
> 
> Haochuan Chen

This archive was generated by hypermail 2.1.6 : Wed Dec 04 2019 - 23:20:12 CST