Skip to content

Commit 70ce2f9

Browse files
committed
tweaks in install docs re fastmath and Release
1 parent 497d4e8 commit 70ce2f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The basic quick download, building, and test is then:
6565
cmake --install .
6666
6767
68-
Note: if you don't supply --install-prefix, it will default to ``/usr/local`` on most systems. If you don't
68+
Note: `Release` here is essential to get the best performing version. Also, if you don't supply `--install-prefix`, it will default to ``/usr/local`` on most systems. If you don't
6969
have root access, you must supply a prefix you can write to such as ``$HOME/local``. Now...
7070

7171
In ``build``, this creates ``libfinufft_static.a`` and ``libfinufft.so``, and runs a test that should take a
@@ -104,7 +104,7 @@ For example, to configure, build and test the development preset (which builds t
104104
105105
.. warning::
106106

107-
Intel compilers (unlike GPU compilers) currently engage ``fastmath`` behavior with ``-O2`` or ``-O3``. This may interfere with our use of ``std::isnan`` in our test codes. For this reason in the Intel presets ``icx`` and ``icc`` have set ``-fp-model=strict``. You may get more speed if you remove this flag.
107+
Intel compilers (unlike GPU compilers) currently engage ``fastmath`` behavior with ``-O2`` or ``-O3``. This may interfere with our use of ``std::isfinite`` in our test codes. For this reason in the Intel presets ``icx`` and ``icc`` have set ``-fp-model=strict``. You may get more speed if you remove this flag, or try ``-fno-finite-math-only``.
108108

109109
From other CMake projects, to use ``finufft`` as a library, simply add this repository as a subdirectory using
110110
``add_subdirectory``, and use ``target_link_library(your_executable finufft)``.

0 commit comments

Comments
 (0)