Open
Description
Hello!
I have an question about NUMEXPR_MAX_THREADS logging info.
During the a3fe run I got this messages:
INFO:numexpr.utils:Note: detected 128 virtual cores but NumExpr set to maximum of 64, check "NUMEXPR_MAX_THREADS" environment variable.
INFO:numexpr.utils:Note: NumExpr detected 128 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 16.
INFO:numexpr.utils:NumExpr defaulting to 16 threads.
I found that if I want to control this behavior I need to set up 2 system variables. Stackoverflow:
import os
os.environ['NUMEXPR_MAX_THREADS'] = '128'
os.environ['NUMEXPR_NUM_THREADS'] = '128'
import a3fe as a3
It works fine. But the question is to which calculations it applies and what are the most effective values and does it have any effect? I couldn't find any information about it in the documentation.
Could you clarify this for me please?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels