Skip to content

Commit 7daaf47

Browse files
committed
1 parent 88b086d commit 7daaf47

17 files changed

+32
-42
lines changed

_sources/contribute.rst.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ When done, activate the environment::
173173

174174
This will install scikit-bio to the current conda environment. After this, you can use scikit-bio like a normal user (e.g., you can do ``import skbio`` in Python code). When you edit the code in the this directory, the changes will be immediately reflected as you use the software.
175175

176-
.. note:: If you run into OpenMP compile issues (or have other reasons to avoid OpenMP), you can avoid it by setting ``DISABLE_OPENMP=Y`` in the build environment.
176+
.. note::
177+
178+
If you run into OpenMP compile issues (or have other reasons to avoid OpenMP), you can avoid it by setting ``DISABLE_OPENMP=1`` in the build environment.
177179

178180
5. Test the installation::
179181

_sources/install.rst.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,20 @@ For a more robust verification of the installation you may run the scikit-bio's
8989
python -m skbio.test
9090

9191

92+
Parallelization
93+
---------------
94+
95+
Many scikit-bio functions automatically take advantage of parallel processing to improve performance. By default, they utilize all available CPU cores when possible. There is currently no per-function parameter to control the number of threads used. You can set the environment variable ``OMP_NUM_THREADS`` to control the global parallelization behavior, or use `threadpoolctl <https://github.com/joblib/threadpoolctl>`_ to achieve more granular control within Python code.
96+
97+
Multiple compute-intensive algorithms in scikit-bio are implemented in Cython and use OpenMP for parallel execution. If your system does not support OpenMP, or if you prefer to disable it, you can build from the scikit-bio source code with OpenMP disabled:
98+
99+
DISABLE_OPENMP=1 pip install scikit-bio --no-binary scikit-bio
100+
101+
Or, if you have downloaded the repository:
102+
103+
DISABLE_OPENMP=1 pip install .
104+
105+
92106
Acceleration
93107
------------
94108

about.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

contribute.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">
@@ -588,7 +585,7 @@ <h2>Set up a workspace<a class="headerlink" href="#set-up-a-workspace" title="Li
588585
<p>This will install scikit-bio to the current conda environment. After this, you can use scikit-bio like a normal user (e.g., you can do <code class="docutils literal notranslate"><span class="pre">import</span> <span class="pre">skbio</span></code> in Python code). When you edit the code in the this directory, the changes will be immediately reflected as you use the software.</p>
589586
<div class="admonition note">
590587
<p class="admonition-title">Note</p>
591-
<p>If you run into OpenMP compile issues (or have other reasons to avoid OpenMP), you can avoid it by setting <code class="docutils literal notranslate"><span class="pre">DISABLE_OPENMP=Y</span></code> in the build environment.</p>
588+
<p>If you run into OpenMP compile issues (or have other reasons to avoid OpenMP), you can avoid it by setting <code class="docutils literal notranslate"><span class="pre">DISABLE_OPENMP=1</span></code> in the build environment.</p>
592589
</div>
593590
<ol class="arabic" start="5">
594591
<li><p>Test the installation:</p>

devdoc/code_guide.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

devdoc/doc_guide.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

devdoc/new_module.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

devdoc/release.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

devdoc/review.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@
102102
<div class="pst-async-banner-revealer d-none">
103103
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
104104
</div>
105-
<aside class="bd-header-announcement" aria-label="Announcement">
106-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
107-
</aside>
108105

109106

110107
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

genindex.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@
9999
<div class="pst-async-banner-revealer d-none">
100100
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside>
101101
</div>
102-
<aside class="bd-header-announcement" aria-label="Announcement">
103-
<div class="bd-header-announcement__content">scikit-bio 0.7.0 has been released! <a href='https://github.com/scikit-bio/scikit-bio/releases/tag/0.7.0'>Check it out</a>.</div>
104-
</aside>
105102

106103

107104
<header class="bd-header navbar navbar-expand-lg bd-navbar d-print-none">

0 commit comments

Comments
 (0)