Public bug reported: OpenMPI 1.10.2 has a bug handling cpusets. Here is a link to the mailing list discussion including the patch I'll attach:
https://www.mail-archive.com/users%40open-mpi.org/msg00273.html I encountered this error by adding torque 5.1.1.2 to the system including cpuset support. When I run a job I get this error: -------------------------------------------------------------------------- A request for multiple cpus-per-proc was given, but a directive was also give to map to an object level that has less cpus than requested ones: #cpus-per-proc: 1 number of cpus: 0 map-by: BYSOCKET Please specify a mapping level that has more cpus, or else let us define a default mapping that will allow multiple cpus-per-proc. -------------------------------------------------------------------------- Adding the patch to the deb package and rebuilding it resolved the issue. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: openmpi-bin 1.10.2-8ubuntu1 ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6 Uname: Linux 4.4.0-21-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity Date: Tue May 3 12:11:00 2016 InstallationDate: Installed on 2016-04-27 (6 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: openmpi UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: openmpi (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug cpuset openmpi patch torque xenial ** Patch added: "fixes hwloc cpuset support" https://bugs.launchpad.net/bugs/1577849/+attachment/4654620/+files/hwloc-cpuset-fix.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1577849 Title: openmpi 1.10.2-8ubuntu1 fails running job with cpuset started from torque 5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openmpi/+bug/1577849/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs