Make active tally lists threadprivate.

This commit is contained in:
Paul Romano 2013-08-18 10:50:25 -04:00
parent be05b1ce55
commit 68d5ad00a2
2 changed files with 4 additions and 0 deletions

View file

@ -127,7 +127,9 @@ contains
tallies_on = .true.
! Add user tallies to active tallies list
!$omp parallel
call setup_active_usertallies()
!$omp end parallel
end if
! check CMFD initialize batch

View file

@ -112,6 +112,8 @@ module global
type(SetInt) :: active_tracklength_tallies
type(SetInt) :: active_current_tallies
type(SetInt) :: active_tallies
!$omp threadprivate(active_analog_tallies, active_tracklength_tallies, &
!$omp& active_current_tallies, active_tallies)
! Global tallies
! 1) collision estimate of k-eff