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
To install the :ref:`test suite <mdanalysistests>` (optional, ~90 MB):
@@ -70,20 +70,20 @@ If you're using MDAnalysis in **JupyterLab**, install `ipywidgets`_ for progress
70
70
71
71
mamba install -c conda-forge ipywidgets
72
72
73
-
**2. Alternative: Install mamba to an existing conda installation**
73
+
**2. Alternative: Use conda with conda-forge**
74
74
75
-
If you already use `conda`_, you can add `mamba`_ to your base environment:
75
+
If you prefer using `conda`_ directly (e.g., installed via `Anaconda installer`_), create a new environment with packages from the `conda-forge`_ channel:
@@ -223,7 +223,7 @@ You can pass any additional compiler flags for the C/C++ compiler using the ``ex
223
223
This allows you to add any additional compiler options required for your architecture.
224
224
225
225
For example, ``extra_cflags`` can be used to tune your MDAnalysis installation for your current architecture using the `-march`, `-mtune`, `-mcpu` and related compiler flags.
226
-
The optimal compiler flags depend on your CPU architecture. An example for an x86_64 machine would be to change the line in `setup.cfg` as follows:
226
+
The optimal compiler flags depend on your CPU architecture. Commonly recommended settings are:
227
227
228
228
.. code-block:: diff
229
229
@@ -232,8 +232,11 @@ The optimal compiler flags depend on your CPU architecture. An example for an x8
232
232
233
233
Use of these flags can give a significant performance boost where the compiler can effectively autovectorise.
234
234
235
-
Be sure to use the recommended flags for your target architecture. For example, ARM platforms recommend using ``-mcpu`` instead of ``-march``, while
236
-
PowerPC platforms prefer both ``-mcpu`` and ``-mtune``.
235
+
Be sure to use the recommended flags for your target architecture. In many cases,
236
+
``-march`` and ``-mcpu`` can be used together or separately, and their behavior depends
237
+
on your platform and compiler version. For example, ARM platforms often prefer ``-mcpu``,
238
+
while PowerPC may use both ``-mcpu`` and ``-mtune``. Refer to the `GCC documentation on -march`_
239
+
and `-mcpu`_ for platform-specific guidance.
237
240
238
241
Full discussion of these flags is available elsewhere (such as here in this `wiki`_ or in this `ARM`_ blog post) and a list of supported options should be provided by your compiler. The list for GCC_ is provided here.
239
242
@@ -286,3 +289,6 @@ This installation does not download all the datasets; instead, the datasets are
0 commit comments