[Users] Patch: Use only one thread if OMP_NUM_THREADS is not set

Erik Schnetter schnetter at cct.lsu.edu
Sun Jun 20 17:56:59 CDT 2010


Carpet: Use only one thread if OMP_NUM_THREADS is not set

Introduce a new value for the parameter Carpet::num_threads: when set to -2, and when the environment variable OMP_NUM_THREADS is not set, then only 1 thread is used instead of a system default.

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: threads-Carpet.diff
Type: application/octet-stream
Size: 1109 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20100620/6ce3b4d2/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threads-CarpetLib.diff
Type: application/octet-stream
Size: 702 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20100620/6ce3b4d2/attachment-0001.obj 


More information about the Users mailing list