Files
2020-01-13 15:18:00 +08:00

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)