...
ANSWER: CASA-6 doesn't suffer the cpuset issue. I copied /home/casa/packages/RHEL7/release/casa-pipeline-release-5.6.1-8.el7/lib/libfftw3* to my installation of casa-6.1.1-10-pipeline-2020.1.0.36/lib, overwriting the libfft files that were there and then tested my installation of casa-6.1.1-10-pipeline-2020.1.0.36 and was unable to produce the cpuset issue.
QUESTION: Does CASA-6 honor OMP_NUM_THREADS?
ANSSER: No and yes. If you set OMP_NUM_THREADS=0 the python3 processes spawned by mpicasa (e.g. -n 8 spawns eight python3 processes) will have more than 0 threads. But with cpuse=0,2,4,6,8,10,12,14 and -n 8 there seems to be a pattern forming after OMP_NUM_THREADS=4
- OMP_NUM_THREADS=0 max threads seen for a python3 process is 23
- OMP_NUM_THREADS=1 max threads seen for a python3 process is 23
- OMP_NUM_THREADS=2 max threads seen for a python3 process is 23
- OMP_NUM_THREADS=4 max threads seen for a python3 process is 24
- OMP_NUM_THREADS=8 max threads seen for a python3 process is 28
- OMP_NUM_THREADS=16 max threads seen for a python3 process is 36