all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66277: R build processes use all the available cores
@ 2023-09-30  9:51 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2023-09-30  9:51 UTC (permalink / raw)
  To: 66277; +Cc: Ricardo Wurmus

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’.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-30  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-30  9:51 bug#66277: R build processes use all the available cores Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.