Dynamic linking of the OpenMP library is almost certainly not the cause of the slowness you're observing. If you really want to force the Intel OpenMP runtime to use all 8 cores:
export OMP_DYNAMIC=false
export OMP_NUM_THREADS=8
export KMP_LIBRARY=throughput
# "KMP_BLOCKTIME" is how long an idle worker thread
# should enter a blocking wait for more work before
# sleeping, in milliseconds. default value is 200ms
export KMP_BLOCKTIME=1000
# following are needed if you use Intel MKL
export MKL_DYNAMIC=false
export MKL_NUM_THREADS=8
For more info: http://software.intel.com/sites/products/documentation/hpc/c...