From 97d0dd239036e78e0810274c703cb85ad030b05c Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Tue, 2 Oct 2018 14:58:40 -0700 Subject: Update Spack on Cray docs for singularity platform=linux workaround (#9398) --- lib/spack/docs/getting_started.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index aaaeb9dec7..97b9a3a235 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -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. -- cgit v1.2.3-60-g2f50