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

Re: [HTCondor-users] Parallel Matlab in HTCondor



Hi, Werner:

      Condor cgroups can limit the usage of cpus at job level, but it works only when there is contention for the cpu.

   Cheers,Gang


On 12/12/2014 11:52, Werner Hack wrote:
Hi all,

we are running a lot of matlab jobs here.
Due to the fact matlab attempts to allocate all cpu cores on a node, we limit cpu usage
to a single core using the matlab command option "-singleCompThread" or
the function maxNumCompThreads(1) in matlabrc.
This is Ok for most cases.
But what can I do, if I want to use more cores/threads (request_cpus >1) in matlab?
Can HTCondor provide any info to the matlab job (environment variable? )
about the assigned request_cpus?
If I check all environment variables in a job I can not see such info.
Any ideas?

Regards,
Werner



_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/