Please include a brief description of the problem with a code example:
I have a dataset with which parallelized AMOVA would dramatically speed up runtime. Using threads = 20L for 20 threads (or any value, for that matter) results in only a single thread being used each time when running a script via Rscript.
System
Arch Linux
R 4.4.1
poppr 2.9.3:
This is poppr version 2.9.3. To get started, type package?poppr
OMP parallel support: available
# part of the Rscript
amova_results_neut <- poppr.amova(
bft_neut,
hier = ~year/population,
clonecorrect = FALSE,
within = TRUE,
squared = TRUE,
correction = "quasieuclid",
algorithm = "farthest_neighbor",
threads = 20L,
missing = "loci",
cutoff = 0.1,
quiet = FALSE,
method = "pegas",
nperm = 50000
)
and the bash top command
PID USER NI RES SHR S %CPU %MEM TIME+ COMMAND
156535 pdimens 0 723056 19884 R 100.0 0.3 8:13.11 R
Please include a brief description of the problem with a code example:
I have a dataset with which parallelized AMOVA would dramatically speed up runtime. Using
threads = 20Lfor 20 threads (or any value, for that matter) results in only a single thread being used each time when running a script viaRscript.System
Arch Linux
R 4.4.1
poppr 2.9.3:
and the bash
topcommand