Update Spack on Cray docs for singularity platform=linux workaround (#9398)
This commit is contained in:
parent
f6fb176d10
commit
97d0dd2390
@ -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.
|
compiler on our system we can use that external module.
|
||||||
|
|
||||||
For more on external packages check out the section :ref:`sec-external-packages`.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user