OMP_NUM_THREADS is the number of threads available for execution. Your code uses getenv, so the environment variables are set. Created a new variable but still prompts Set environment OMP_NUM_THREADS to 1 because your execution environment does not inherit the environment variable. You need to export OMP_NUM_THREADS.
OMP_NUM_THREADS is the number of threads available for execution. Your code uses getenv, so the environment variables are set.
Created a new variable but still prompts Set environment OMP_NUM_THREADS to 1 because your execution environment does not inherit the environment variable.
You need to export OMP_NUM_THREADS.