pbuf, nbuf, and population control

This category replaces the missing input manual

pbuf, nbuf, and population control

Postby terryphi » Fri Oct 13, 2017 12:00 am

Hello,

What is it that the numerical argument to 'set nbuf' and 'set pbuf' is indicating?

Is this gigs of memory allocated?

Also, are there any mechanisms in place for population control of the neutrons?
terryphi
 
Posts: 23
Joined: Sun Feb 05, 2017 5:44 am

Re: pbuf, nbuf, and population control

Postby Ville Valtavirta » Fri Oct 13, 2017 8:58 am

It is best to think of the nbuf, pbuf and gbuf as being the relative size of the buffers compared to the number of neutrons (or photons) to be simulated per batch: I.e. setting nbuf to 1 and population to "set pop 10000 100 100" would allocate memory for just 10000 neutrons. In reality, with OpenMP parallelization slightly larger buffers are allocated.

As for population control of neutrons, if you are asking about transient simulations, the neutron population is automatically controlled to the requested batch size at time-interval boundaries so if you keep running out of nbuf (and/or pbuf) you can also try to run the simulation using shorter time-intervals.

-Ville
Ville Valtavirta
 
Posts: 119
Joined: Fri Sep 07, 2012 1:43 pm

Re: pbuf, nbuf, and population control

Postby terryphi » Fri Oct 13, 2017 8:12 pm

Ville Valtavirta wrote:It is best to think of the nbuf, pbuf and gbuf as being the relative size of the buffers compared to the number of neutrons (or photons) to be simulated per batch: I.e. setting nbuf to 1 and population to "set pop 10000 100 100" would allocate memory for just 10000 neutrons. In reality, with OpenMP parallelization slightly larger buffers are allocated.

As for population control of neutrons, if you are asking about transient simulations, the neutron population is automatically controlled to the requested batch size at time-interval boundaries so if you keep running out of nbuf (and/or pbuf) you can also try to run the simulation using shorter time-intervals.

-Ville


Thanks!
terryphi
 
Posts: 23
Joined: Sun Feb 05, 2017 5:44 am


Return to Input

Who is online

Users browsing this forum: No registered users and 1 guest