[CSC 435] OpenMP Environment variables....

Andrew J. Pounds pounds_aj at mercer.edu
Tue Feb 27 09:42:54 EST 2007


Here is how you can apparently control the number of threads in OpenMP 
programs
*
** setenv OMP_DYNAMIC TRUE*
*setenv OMP_NUM_THREADS 8*

or in bash

*export **OMP_DYNAMIC=true
export **OMP_NUM_THREADS=8*

-- 
Andrew J. Pounds, Ph.D.  (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627



More information about the csc435 mailing list