mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-28 13:25:43 +00:00
97385e2349
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
15 lines
278 B
Python
15 lines
278 B
Python
import sys
|
|
import os
|
|
import handler
|
|
|
|
def print_info():
|
|
num = os.getenv('OMP_NUM_THREADS', 'calculated dynamically')
|
|
return "OMP_NUM_THREADS is " + num
|
|
|
|
|
|
if __name__ == "__main__":
|
|
st = print_info()
|
|
ret = handler.handle(st)
|
|
if ret != None:
|
|
print(ret)
|