X-Loop: help-debbugs@HIDDEN Subject: bug#66277: R build processes use all the available cores Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: rekado@HIDDEN, bug-guix@HIDDEN Resent-Date: Sat, 30 Sep 2023 09:53:01 +0000 Resent-Message-ID: <handler.66277.B.169606753029412 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66277 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66277 <at> debbugs.gnu.org Cc: Ricardo Wurmus <rekado@HIDDEN> X-Debbugs-Original-To: bug-guix@HIDDEN X-Debbugs-Original-Xcc: Ricardo Wurmus <rekado@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.169606753029412 (code B ref -1); Sat, 30 Sep 2023 09:53:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Sep 2023 09:52:10 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@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,?= 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-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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Subject: bug#66277: Acknowledgement (R build processes use all the available cores) Message-ID: <handler.66277.B.169606753029412.ack <at> debbugs.gnu.org> References: <878r8ougyf.fsf@HIDDEN> X-Gnu-PR-Message: ack 66277 X-Gnu-PR-Package: guix Reply-To: 66277 <at> debbugs.gnu.org Date: Sat, 30 Sep 2023 09:53:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Ricardo Wurmus <rekado@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 66277 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66277: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66277 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.