diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 97b9a3a2352227204603fdc9c094a0b148794338..7fb1ad648cc2533ba313da055a0004c72a90c47d 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -202,6 +202,13 @@ installed, but you know that new compilers have been added to your This loads the environment module for gcc-4.9.0 to add it to ``PATH``, and then it adds the compiler to Spack. +.. note:: + + By default, spack does not fill in the ``modules:`` field in the + ``compilers.yaml`` file. If you are using a compiler from a + module, then you should add this field manually. + See the section on :ref:`compilers-requiring-modules`. + .. _cmd-spack-compiler-info: ^^^^^^^^^^^^^^^^^^^^^^^ @@ -320,6 +327,7 @@ by adding the following to your ``packages.yaml`` file: all: compiler: [gcc@4.9.3] +.. _compilers-requiring-modules: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilers Requiring Modules