R build processes use all the available cores

  • Open
  • quality assurance status badge
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
normal

Debbugs page

Ludovic Courtès wrote 1 years ago
(address . bug-guix@gnu.org)
878r8ougyf.fsf@inria.fr
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:

Toggle snippet (6 lines)
<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)

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

Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 66277@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66277
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help