Message: Re: The max number of events is 10^8? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: The max number of events is 10^8? 

Forum: Multithreading
Re: Feedback The max number of events is 10^8? (lcl)
Re: None Re: The max number of events is 10^8? (Andrea Dotti)
Re: Question Re: The max number of events is 10^8? (lcl)
Date: 18 Apr, 2014
From: Andrea Dotti <Andrea Dotti>

Hello, this is not a limitation of MT. You have hit the limit of representation of C/C++!

The number of events in a run is represented by a variable of type "int". The largest number that can be represented (in systems where int is 32 bits) is exactly 2^31-1

See: http://www.cplusplus.com/doc/tutorial/variables/

If you need more events you need to split your jobs in more than one run.

Andrea

 Add Message Add Message
to: "Re: The max number of events is 10^8?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews