Seed number error

hello everyone,
I started a long run, I received the following error message:

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : Run0115
issued by : G4RNGHelper::GetSeed
No seed number 7294(7294 available)
Original seed number -2 filled so far 2147480000
*** Fatal Exception *** core dump ***
G4WT11 > **** Track information is not available at this moment
G4WT11 > **** Step information is not available at this moment
G4WT11 >
-------- EEEE -------- G4Exception-END --------- EEEE -------

is there any method to solve this problem?
many regards

Hi @idrissi_abdelghani,
I’v got exactly the same G4Exception.

G4WT13 >
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : Run0115
      issued by : G4RNGHelper::GetSeed
No seed number 7294(7294 available)
 Original seed number -2 filled so far 2147480000
*** Fatal Exception *** core dump ***
G4WT13 >  **** Track information is not available at this moment
G4WT13 >  **** Step information is not available at this moment
G4WT13 >
-------- EEEE -------- G4Exception-END --------- EEEE -------

G4WT13 >
G4WT13 > *** G4Exception: Aborting execution ***
Aborted

Version G4-11-1-2
64 threads
random engine MixMaxRng

I started a run with /run/beamOn 394745152 /run/beamOn 4497416448 events.

In my RunAction I set the seed like this:

void RunAction::BeginOfRunAction(const G4Run*)
{
...
G4Random::setTheSeed((unsigned)clock());
...
}

At the moment I can’t see anything additional unusual in the outputs with
/run/verbose 2 and /control/verbose 2

@idrissi_abdelghani : Has this error appeared again or only once? What have you done to solve it or workaround?

Best regards
henk

I corrected a mistake with the number of events in the post above and I think this is the reason for that G4Exception:

/run/beamOn 4497416448

This number is greater than 2^31 = 2147483648 which is the max number of events per run and leads to a warning:

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Run10035
      issued by : G4TaskRunManager::InitializeEventLoop()
Event modulo is reduced to 33554431 (was 70272132) to distribute events to all threads.
*** This is just a warning message. ***           
-------- WWWW -------- G4Exception-END --------- WWWW -------

and further

================================================================================================
--> G4TaskRunManager::CreateAndStartWorkers() --> Creating 64 tasks with 33554431 events/task...
================================================================================================

The Event modulo multiplied with the number of threads is 33554431*64 = 2147483584 which is less than max number of events per run. Hence this shouldn’t be a problem.
But the difference is 2147483648-2147483584 = 64. And 64 is exactly the number of threads, may be a hint?

look here: