I’m trying to run Core diversity metrics (phylogenetic and non-phylogenetic) with passing parallel feature --p-n-jobs -1 to use all available CPUs, but I got this error.
Usage: qiime diversity core-metrics-phylogenetic [OPTIONS] Error: Invalid value for "--p-n-jobs": -1 is smaller than the minimum valid value 0.
But from the document:
–p-n-jobs INTEGER RANGE [beta/beta-phylogenetic methods only,
excluding weighted_unifrac] - The number of
jobs to use for the computation. This works
by breaking down the pairwise matrix into
n_jobs even slices and computing them in
parallel. If -1 all CPUs are used. If 1 is
given, no parallel computing code is used at
all, which is useful for debugging. For
n_jobs below -1, (n_cpus + 1 + n_jobs) are
used. Thus for n_jobs = -2, all CPUs but one
are used. (Description from
I’m using QIIME2-2018.2. I don’t know is this a bug or I did some thing wrong ?