You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prescribed aerosol code uses Fortran intrinsic random number generator. There is an algorithm to generate seeds for this random number generator each time it is called. The intention here was to get uniformly distributed random numbers but during our experiments we found the random numbers are not uniformly distributed (due to incorrect seeding).
To fix this problem we are now using KISSVEC random number generator which already exists in CAM. KISSVEC is initialized with 4 predefined seeds and keep on producing uniformly distributed random numbers each time it is invoked. Our tests reveal that using KISSVEC solves the problem we were having with the skewed random number distributions.
The text was updated successfully, but these errors were encountered:
This commit fixes the random number generation bug in prescribed
aerosols routine. Please see issue #246 for more details.The fix
make use of KISSVEC random number generator instead of the Fortran
intrinsic.
Fixes#246
[non-BFB]
AG-343
…to next (PR #312)
Random number generation fix for the prescribed aerosols in CAM.
This commit fixes the random number generation bug in prescribed
aerosols routine. Please see issue #246 for more details. The fix
make use of KISSVEC random number generator instead of the Fortran
intrinsic.
This commit passes the acme developer tests. It changes answers only
for the prescribed aerosols run as it is using a new random number
generator.
Fixes#246
[non-BFB]
AG-343
…#312)
Random number generation fix for the prescribed aerosols in CAM
This commit fixes the random number generation bug in prescribed
aerosols routine. Please see issue #246 for more details.The fix
make use of KISSVEC random number generator instead of the Fortran
intrinsic.
This commit passes the acme developer tests. It changes answers only
for the prescribed aerosols run as it is using a new random number
generator.
Fixes#246
[non-BFB]
AG-343
Prescribed aerosol code uses Fortran intrinsic random number generator. There is an algorithm to generate seeds for this random number generator each time it is called. The intention here was to get uniformly distributed random numbers but during our experiments we found the random numbers are not uniformly distributed (due to incorrect seeding).
To fix this problem we are now using KISSVEC random number generator which already exists in CAM. KISSVEC is initialized with 4 predefined seeds and keep on producing uniformly distributed random numbers each time it is invoked. Our tests reveal that using KISSVEC solves the problem we were having with the skewed random number distributions.
The text was updated successfully, but these errors were encountered: