From c06ef00fe26e5252d578ac7b3833960938640f9e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Tue, 3 Mar 2020 14:57:48 +0100 Subject: [PATCH] [skip ci] N_threads is not correct, we use processes --- python/damask/result.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/damask/result.py b/python/damask/result.py index 4d74d0c96..f58b57f23 100644 --- a/python/damask/result.py +++ b/python/damask/result.py @@ -919,8 +919,7 @@ class Result(): Arguments parsed to func. """ - N_threads = int(Environment().options['DAMASK_NUM_THREADS']) - pool = multiprocessing.Pool(N_threads) + pool = multiprocessing.Pool(int(Environment().options['DAMASK_NUM_THREADS'])) lock = multiprocessing.Manager().Lock() groups = self.groups_with_datasets(datasets.values()) @@ -1097,7 +1096,7 @@ class Result(): ################################################################################################### # BEGIN DEPRECATED iter_visible = iter_selection - + def _time_to_inc(self,start,end): selected = []