[minor] improve user output on used CPU cores

This commit is contained in:
2017-09-12 11:02:08 +02:00
parent 7027f9ca58
commit 0cf46a0cc3
2 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,8 @@ def gen_Pool(ncores=0):
if ncores == 0:
ncores = multiprocessing.cpu_count()
print('gen_Pool: Generated multiprocessing Pool with {} cores\n'.format(ncores))
pool = multiprocessing.Pool(ncores)
return pool