[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] [FSL] Parallel processing: Condor or SGE with CentOS 7

On 07/18/2016 09:40 AM, Michael V Pelletier wrote:

Other than this, HTCondor doesn't govern how many threads a process
can spawn. This can pose a problem with things like MATLAB, which
check to see the total number of cores on the entire system and spawn
that many threads, which leads to the square of the number of cores

FYI, newer versions of HTCondor explicitly set the the environment variable OMP_NUM_THREADS
in the job to the value of Request_Cpus.  This should constrain the number of threads that
matlab and other openmp based program spawn.