star-schiff

Library for estimating radiative properties
git clone git://git.meso-star.com/star-schiff.git
Log | Files | Refs | README | LICENSE

commit 9cca5f82e1278be1679f393bad78846f78148d30
parent 4148b153294942a51d4b14ae80eefc2fb843db5b
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 25 Nov 2015 15:19:45 +0100

Update the policy of the task scheduling in static

Use static rather than dynamic scheduling in order to ensure that 2
integrations with the same data will produce the same result.

Diffstat:
Msrc/sschiff_estimator.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sschiff_estimator.c b/src/sschiff_estimator.c @@ -678,7 +678,7 @@ sschiff_integrate qsort(estimator->wavelengths, nwavelengths, sizeof(double), cmp_double); /* Paralell Schiff integration */ - #pragma omp parallel for schedule(dynamic) + #pragma omp parallel for schedule(static) for(igeom=0; igeom < (int)ngeoms; ++igeom) { const double* wlengths = estimator->wavelengths; struct sschiff_material material = SSCHIFF_NULL_MATERIAL;