Skip to content

Commit

Permalink
Update Docs/source/install/dependencies.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Axel Huebl <[email protected]>
  • Loading branch information
EZoni and ax3l authored Jan 8, 2025
1 parent 7f0d076 commit 3b1bc89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Docs/source/install/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ For Nvidia CUDA GPU support, you will need to have `a recent CUDA driver install
More info for `CUDA-enabled ML packages <https://twitter.com/jeremyphoward/status/1697435241152127369>`__.

.. warning::
When you install CMake in a conda environment, conda sets several environment variables, e.g., ``CXXFLAGS``, to default values that are specific to the conda environment. Such values are concatenated to the values set by WarpX during buildsystem generation. In order to avoid unintended side effects (e.g., compiling with ``-O2`` instead of ``-O3``), please consider clearing ``CXXFLAGS`` and/or other relevant variables (e.g., via ``export CXXFLAGS=""``) before generating the buildsystem and compiling.

When you install CMake in a conda environment, conda sets several environment variables, e.g., ``CXXFLAGS``, to default values that are specific to the conda environment. Such values are concatenated to the values set by WarpX during buildsystem generation. In order to avoid unintended side effects (e.g., compiling with ``-O2`` instead of ``-O3``), please consider clearing ``CXXFLAGS`` and/or other relevant variables (e.g., via ``unset CXXFLAGS``) before generating the buildsystem and compiling.

Spack (Linux/macOS)
-------------------
Expand Down

0 comments on commit 3b1bc89

Please sign in to comment.