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

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Sat, 30 Sep 2023 09:53:01 UTC

Severity: normal

To reply to this bug, email your comments to 66277 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to rekado <at> elephly.net, bug-guix <at> gnu.org:
bug#66277; Package guix. (Sat, 30 Sep 2023 09:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to rekado <at> elephly.net, bug-guix <at> gnu.org. (Sat, 30 Sep 2023 09:53:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: R build processes use all the available cores
Date: Sat, 30 Sep 2023 11:51:36 +0200
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
‘parallel-job-count’.

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’s used as an argument to ‘make‘ (if it needs to be called)
--8<---------------cut here---------------end--------------->8---

Maybe we should set that ‘Ncpus’ option to what ‘parallel-job-count’
returns?

Ludo’.




This bug report was last modified 1 year and 319 days ago.

Previous Next


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