GNU bug report logs - #66277
R build processes use all the available cores

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Ludovic Courtès <ludovic.courtes@HIDDEN>; dated Sat, 30 Sep 2023 09:53:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Sep 2023 09:52:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 30 05:52:10 2023
Received: from localhost ([127.0.0.1]:57684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qmWdu-0007eI-1G
	for submit <at> debbugs.gnu.org; Sat, 30 Sep 2023 05:52:10 -0400
Received: from lists.gnu.org ([2001:470:142::17]:40038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1qmWdo-0007dd-T5
 for submit <at> debbugs.gnu.org; Sat, 30 Sep 2023 05:52:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1qmWdU-00047o-7T
 for bug-guix@HIDDEN; Sat, 30 Sep 2023 05:51:44 -0400
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1qmWdR-0000si-Vn
 for bug-guix@HIDDEN; Sat, 30 Sep 2023 05:51:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=IB3cIHdVw1o6XaQuOAsFaU7ZbwWaXycmTj0SDp3l88I=;
 b=OgdZjpYL4Mbb3r0ZnQvjD/dEUcI5JTQbPJea40PrwWy4yhRD+rMGszTp
 6ZFdLl8sSG2RQNoa1/I/0hWNY4gEhFOmQYdBL3WMC6bE432wBgP0QFHhg
 Xh1rFGXLMM9rKdZtdNBLNGUWjRohVYmfe+LIVuUwdy3L3yfGp9BG25Cix I=;
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.03,190,1694728800"; d="scan'208";a="128761347"
Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2023 11:51:37 +0200
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: R build processes use all the available cores
X-Debbugs-Cc: Ricardo Wurmus <rekado@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Nonidi 9 =?utf-8?Q?Vend=C3=A9miaire?= an 232 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour du Panais
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 30 Sep 2023 11:51:36 +0200
Message-ID: <878r8ougyf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=192.134.164.83;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail2-relais-roc.national.inria.fr
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi!

I noticed on guix.bordeaux.inria.fr, which builds guix-cran, that R
build processes would unconditionally use all the available cores
(specifically, launching one R process per core), ignoring the value of
=E2=80=98parallel-job-count=E2=80=99.

I believe all r-* packages are affected.

On IRC, Ricardo wrote:

--8<---------------cut here---------------start------------->8---
<rekado> the build system uses R CMD INSTALL, which in turn uses
	 install.packages(); that procedure takes an argument Ncpus, which by
	 default is whatever getOption("Ncpus") returns (or 1).  [16:16]
<rekado> that=E2=80=99s used as an argument to =E2=80=98make=E2=80=98 (if i=
t needs to be called)
--8<---------------cut here---------------end--------------->8---

Maybe we should set that =E2=80=98Ncpus=E2=80=99 option to what =E2=80=98pa=
rallel-job-count=E2=80=99
returns?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to rekado@HIDDEN, bug-guix@HIDDEN. Full text available.
Report forwarded to rekado@HIDDEN, bug-guix@HIDDEN:
bug#66277; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 30 Sep 2023 10:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.