From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Todor_Kondi=C4=87?= Subject: Guix and openmpi in a container environment Date: Sun, 19 Jan 2020 10:25:14 +0000 Message-ID: Reply-To: =?UTF-8?Q?Todor_Kondi=C4=87?= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50403) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1it7ln-0004OW-OK for help-guix@gnu.org; Sun, 19 Jan 2020 05:25:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1it7ll-0005rJ-A8 for help-guix@gnu.org; Sun, 19 Jan 2020 05:25:27 -0500 Received: from mail1.protonmail.ch ([185.70.40.18]:55650) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1it7lk-0005pZ-Pf for help-guix@gnu.org; Sun, 19 Jan 2020 05:25:25 -0500 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: "help-guix\\@gnu.org" I am getting mpirun errors when trying to execute a simple mpirun -np 1 program (where program is e.g. 'ls') command in a container environment. The error is usually: All nodes which are allocated for this job are already filled. which makes no sense, as I am trying this on my workstation (single socket,= four cores -- your off-the-shelf i5 cpu) and no scheduling system enabled. I set up the container with this command: guix environment -C -N --ad-hoc -m default.scm where default.scm: (use-modules (guix packages)) (specifications->manifest `(;; Utilities "less" "bash" "make" "openssh" "guile" "nano" "glibc-locales" "gcc-toolchain@7.4.0" "gfortran-toolchain@7.4.0" "python" "openmpi" "fftw" "fftw-openmpi" ,@(map (lambda (x) (package-name x)) %base-packages))) Simply installing openmpi (guix package -i openmpi) in my usual Guix profil= e just works out of the box. So, there has to be some quirk where the openm= pi container installation is blind to some settings within the usual enviro= nment.