[torqueusers] MATLAB and cpusets

Christopher Samuel samuel at unimelb.edu.au
Thu Dec 16 15:40:02 MST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/12/10 04:28, Gus Correa wrote:

> 1, Yes, my conversation with Mathworks last March
> led to the same conclusion you wrote above.
> Either use -singleCompThread to compute on a single core, or Matlab
> will take over all resources available (or, as it turns out from
> what you reported, whatever the cpusets allow it to use).

You may well want to point them to HWLOC, a BSD licensed
library that lets a program determine hardware locality
information and is cpuset aware so you can work out which
individual cores are available to you.

It's also fairly portable (covers Linux, *NIX, OSX, Windows).

http://www.open-mpi.org/projects/hwloc/

The "lstopo" tool is also very useful for giving you an
idea of the topology of your system..

cheers!
Chris
- -- 
 Christopher Samuel - Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computational Initiative
 Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545
         http://www.vlsci.unimelb.edu.au/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0KlUEACgkQO2KABBYQAh9K2ACfdymRfdiGFiWSP7Jwj27s5oaB
kCUAn3KNlHohXz0wbQSjIekvRqRH/0XD
=gZ4Q
-----END PGP SIGNATURE-----


More information about the torqueusers mailing list