Update Spack on Cray docs for singularity platform=linux workaround (#9398)

This commit is contained in:
Greg Becker 2018-10-02 14:58:40 -07:00 committed by GitHub
parent f6fb176d10
commit 97d0dd2390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1266,3 +1266,17 @@ for each compiler type for each cray modules. This ensures that for each
compiler on our system we can use that external module.
For more on external packages check out the section :ref:`sec-external-packages`.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Using Linux containers on Cray machines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Spack uses environment variables particular to the Cray programming
environment to determine which systems are Cray platforms. These
environment variables may be propagated into containers that are not
using the Cray programming environment.
To ensure that Spack does not autodetect the Cray programming
environment, unset the environment variable ``CRAYPE_VERSION``. This
will cause Spack to treat a linux container on a Cray system as a base
linux distro.