From cdc44fa2a6ccb63a86137973a9483436e7a14dd0 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Thu, 18 Jul 2024 06:31:07 -0500 Subject: [PATCH] Fix PYTHONPATH for spack's python-venv with Redoak's cray-python --- config-hlrs/packages.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config-hlrs/packages.yaml b/config-hlrs/packages.yaml index b8964d8..905bcb8 100644 --- a/config-hlrs/packages.yaml +++ b/config-hlrs/packages.yaml @@ -41,6 +41,10 @@ packages: prefix: /opt/cray/pe/python/3.11.7 modules: - cray-python/3.11.7 + extra_attributes: + environment: + prepend_path: # on Redoak cray-python module does not set PYTHONPATH correctly + PYTHONPATH: /opt/cray/pe/python/3.11.7/lib/python3.11/site-packages buildable: false fftw: externals: