Closed HenrikBengtsson closed 3 years ago
Environment variable R_PARALLELLY_AVAILABLECORES_FALLBACK stopped working after adding support for nproc, e.g.
R_PARALLELLY_AVAILABLECORES_FALLBACK
nproc
$ R_PARALLELLY_AVAILABLECORES_FALLBACK=2 Rscript --vanilla -e "parallelly::availableCores()" system 8
This is because "nproc" is now also reported and the "fallback" setting is only used if the only other settings is "system";
$ R_PARALLELLY_AVAILABLECORES_FALLBACK=2 Rscript --vanilla -e "parallelly::availableCores(which='all')" system nproc fallback 8 8 2
Issue
Environment variable
R_PARALLELLY_AVAILABLECORES_FALLBACK
stopped working after adding support fornproc
, e.g.Troubleshooting
This is because "nproc" is now also reported and the "fallback" setting is only used if the only other settings is "system";