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
Copy file name to clipboardExpand all lines: docs/python.rst
+10-1
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,19 @@ The easiest way to install is to run::
9
9
pip install finufft
10
10
11
11
which downloads and installs the latest precompiled binaries from PyPI.
12
+
If you would like to compile from source, you can tell ``pip`` to compile the library from source with the option ``--no-binary`` using the command::
13
+
14
+
pip install --no-binary finufft finufft
15
+
16
+
By default, this will use the ``-march=native`` flag when compiling the library, which should result in improved performance.
17
+
Note that ``finufft`` has to be specified twice (first as an argument to ``--no-binary`` and second as the package the is to be installed). This option also allows you to switch out the default FFT library (FFTW) for DUCC0 using::
0 commit comments