#774: hack to unfix OpenMP threads from cores on Cray machines -----------------------+---------------------------------------------------- Reporter: rhaas | Owner: eschnett Type: task | Status: closed Priority: optional | Milestone: Component: Carpet | Version: Resolution: fixed | Keywords: hack -----------------------+----------------------------------------------------
Comment (by eschnett):
It seems that CPU affinity is a thread property, not a process property.
Given this, Carpet's checking needs to be updated. The easiest solution is to take the union of all allowed CPUs over all threads of a process, and check this. This is not as strict as possible, but good enough -- simple mismatches will be detected.