mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-08-28 21:35:50 +00:00
97385e2349
Signed-off-by: Qi Zheng <qi.zheng@intel.com>
10 lines
313 B
Bash
10 lines
313 B
Bash
#!/bin/sh
|
|
if [ -n "$OMP_NUM_THREADS" ]; then
|
|
echo "Warning: Manual set of \"OMP_NUM_THREADS=$OMP_NUM_THREADS\" may be not better than the calculated value by script!"
|
|
else
|
|
source /usr/local/bin/set-num-threads.sh
|
|
echo "runtime calculated and exported OMP_NUM_THREADS=${OMP_NUM_THREADS}"
|
|
fi
|
|
|
|
python3 main.py
|