You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 Rscriptamova_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
The text was updated successfully, but these errors were encountered:
Since the permutation procedure is buried inside the {pegas} implementation of AMOVA, there's not much I can do to improve that timing. My suggestion would be to request that the author of {pegas} add the possibility for parallelization in the AMOVA function (which should be possible with the {future} package).
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 viaRscript
.System
Arch Linux
R 4.4.1
poppr 2.9.3:
and the bash
top
commandThe text was updated successfully, but these errors were encountered: