From 2a68ffbef0f0f96a32214e9388796dff44f6025e Mon Sep 17 00:00:00 2001 From: Alasdair Gray Date: Wed, 15 Mar 2023 11:05:48 -0400 Subject: [PATCH] Update install.rst (#22) --- doc/install.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/install.rst b/doc/install.rst index ebe0bb8..7c8bd8e 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -48,6 +48,9 @@ Copy a configuration file to the main ``config/`` folder using the command below cp config/defaults/config..mk config/config.mk +.. note:: + We have found that replacing ``-O2`` with ``-Ofast -march=native`` can make CMPLXFOIL almost 2x faster, but the ``Ofast`` optimizations are technically unsafe so we leave them out by default. + Once the configuration file is adjusted as needed, CMPLXFOIL can be built by running ``make`` in the root directory: .. prompt:: bash