-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[email protected] on Cray is non-functional: Could not find platform dependent libraries <exec_prefix> #40110
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce the issue
Building [email protected] on our Cray system results in a non-functional install using
spack@develop(31fe78e fromWed Sep 20 11:28:52 2023 -0600)- GCC 10.3.0
- Cray SLES 15, x86_64
Spack environment
spack:
view: false
compilers:
- compiler:
spec: gcc@=10.3.0
paths:
cc: /opt/cray/pe/gcc/10.3.0/bin/gcc
cxx: /opt/cray/pe/gcc/10.3.0/bin/g++
f77: /opt/cray/pe/gcc/10.3.0/bin/gfortran
fc: /opt/cray/pe/gcc/10.3.0/bin/gfortran
flags: {}
operating_system: sle_hpc15
target: x86_64
modules: [PrgEnv-gnu-amd]
environment: {}
extra_rpaths: []
concretizer:
reuse: false
unify: false
packages:
all:
require: '%gcc'
target: [zen4]
ncurses:
require: '@6.3 +termlib'
xz:
variants: +pic
specs:
- python
Concretization:
[+] 4teyakj [email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=13fa8bf,b0615b2,f2fd060 arch=linux-sle_hpc15-x86_64_v4
[+] zlbxmv3 ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=linux-sle_hpc15-x86_64_v4
[+] ja6nemy ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] ro4fiho ^[email protected]%[email protected]+libbsd build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] 7sf6yks ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] q27nr33 ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] xxrw2cv ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] 5d5ahmk ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] wx3p4zt ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=linux-sle_hpc15-x86_64_v4
[+] vzl2vyq ^[email protected]%[email protected]+pic~python+shared build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] ei2dro4 ^[email protected]%[email protected] build_system=autotools zip=pigz arch=linux-sle_hpc15-x86_64_v4
[+] ka3c2gf ^[email protected]%[email protected] build_system=makefile arch=linux-sle_hpc15-x86_64_v4
[+] hcp3mzb ^[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=linux-sle_hpc15-x86_64_v4
[+] ogojdtg ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] 2to2w5m ^[email protected]%[email protected]~obsolete_api build_system=autotools patches=4885da3 arch=linux-sle_hpc15-x86_64_v4
[+] f364rso ^[email protected]%[email protected]+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-sle_hpc15-x86_64_v4
[+] hw3mprt ^[email protected]%[email protected]+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-sle_hpc15-x86_64_v4
[+] vs5qwkm ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] 2cltnkk ^[email protected]%[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-sle_hpc15-x86_64_v4
[+] avmlirn ^ca-certificates-mozilla@2023-05-30%[email protected] build_system=generic arch=linux-sle_hpc15-x86_64_v4
[+] jskx7el ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] 2pm6liu ^[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=linux-sle_hpc15-x86_64_v4
[+] qrrvjcl ^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] duzd3zl ^[email protected]%[email protected] build_system=autotools arch=linux-sle_hpc15-x86_64_v4
[+] gpdp3ie ^[email protected]%[email protected]+pic build_system=autotools libs=shared,static arch=linux-sle_hpc15-x86_64_v4
[+] fp2jn4r ^[email protected]%[email protected]+compat+opt build_system=autotools patches=299b958,ae9077a,b692621 arch=linux-sle_hpc15-x86_64_v4
$> spack env activate
$> spack install
... OK
$> spack load python
$> which python
/tmp/gnu-debug/spack/opt/spack/linux-sle_hpc15-x86_64_v4/gcc-10.3.0/python-3.11.4-4teyakjavmjou3xbglxeizjivo5z64q3/bin/python
$> python
Could not find platform dependent libraries <exec_prefix>
Python 3.11.4 (main, Sep 20 2023, 11:02:41) [GCC 10.3.0 20210408 (Cray Inc.)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 7, in <module>
import readline
ModuleNotFoundError: No module named 'readline'
>>>
If I manually set PYTHONPATH I can get rid of the No module named 'readline' error:
$> export PYTHONPATH=$(spack location -i python)/lib64/python3.11/lib-dynload:$PYTHONPATH
$> python
Could not find platform dependent libraries <exec_prefix>
Python 3.11.4 (main, Sep 20 2023, 11:02:41) [GCC 10.3.0 20210408 (Cray Inc.)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Error message
Error message
... see above
Information on your system
- Spack: 0.21.0.dev0 (31fe78e)
- Python: 3.6.15
- Platform: linux-sle_hpc15-x86_64_v4
- Concretizer: clingo
Additional information
spack-build-env.txt
spack-build-out.txt
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have run
spack maintainers <name-of-the-package>and @mentioned any maintainers - I have uploaded the build log and environment files
- I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable