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

Re: [HTCondor-users] Using HTCondor running mpirun



The parameter in mpirun called '--bind-to none' can avoid this. But I would still like to know if HTCondor has a way to allocate different CPUs to each job (compared with SLURM cluster we are running meantime, SLURM can keep different job using different CPUs.)
Any hint or suggestion would be appreciated!
	HTCondor doesn't generally specifically bind a job a specific CPU 
or set of CPUs; it instead uses cgroups to make sure that no job uses more 
than its assigned share of CPUs.  This allows the OS to migrate processes 
around so as to be as efficient as possible.  However, if you want to bind 
specific jobs to specific CPUs, HTCondor can set CPU affinity.
See, among other places in the manual, the following:

https://htcondor.readthedocs.io/en/latest/admin-manual/configuration-macros.html#ASSIGN_CPU_AFFINITY

- ToddM