Skip to content

Installation issue: regenie (missing 64bit lapack) #2745

@Markus92

Description

@Markus92

Steps to reproduce the issue

Simple spack install regenie triggers a whole hoist of linker errors related to lapack (the _64 suffix).

Here is the specs:

[spackadmin@nfs-spack ~]$ spack spec -l regenie
 -   6t3v2lx  [email protected]~bgen-bundled-deps~bundled-cxxopts~bundled-eigen~bundled-lbfgspp~ipo~static+with-boostio+with-htslib build_system=cmake build_type=
Release generator=make patches:=1522673 arch=linux-rhel9-x86_64_v2 %c,cxx,[email protected]
[+]  esp3ue5      ^[email protected]~bundled-deps~full-source+headers+libs build_system=waf patches:=558a77a arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  3nlyu5q          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  xsgptvg      ^[email protected]+atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem+graph~graph_parallel+icu+iostreams~json+locale+log+math~mpi+multithreaded~nowide~numpy~pic+program_options~python+random+regex+serialization+shared+signals~singlethreaded~sta
cktrace+system~taggedlayout+test+thread+timer~type_erasure~url~versionedlayout+wave build_system=generic cxxstd=17 patches:=4849671,a440f96,b8569d7 visibili
ty=hidden arch=linux-rhel9-x86_64
[+]  ojs3ici          ^[email protected] build_system=generic arch=linux-rhel9-x86_64
[+]  tykyubw          ^[email protected] build_system=autotools cxxstd=17 arch=linux-rhel9-x86_64                                                                  [+]  mytbkzi              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ediyz7b              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  g5zqcmk              ^[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:=0d98e93,4c24573,ebdca64,f2fd060 arch=linux-rhel9-x86_64
[+]  otedrnq                  ^[email protected]~obsolete_api build_system=autotools patches:=4885da3 arch=linux-rhel9-x86_64
[+]  fjbx6tx                  ^[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-rhel9-x86_64                                         [+]  q3qghh3                      ^ca-certificates-mozilla@2023-05-30 build_system=generic arch=linux-rhel9-x86_64
[+]  rvqsg3a                  ^[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel9-x86_64
[+]  6o5fbrs                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  maltsdt          ^[email protected]~pic build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  rvlvqxx      ^[email protected]~debug~pic+shared build_system=generic arch=linux-rhel9-x86_64
[+]  hwvg6po          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  zgpulce          ^[email protected] build_system=generic arch=linux-rhel9-x86_64
[e]  pdpia3h          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  mxqgfw5      ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  il3bofi          ^[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux-rhe
l9-x86_64
[+]  lamcu7g              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  5edr7zo              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  afpe6py          ^[email protected]~symlinks+termlib abi=none build_system=autotools patches:=7a351bc arch=linux-rhel9-x86_64
[+]  sj7jixg      ^[email protected] build_system=generic arch=linux-rhel9-x86_64_v2                                                                     [+]  7ippftm      ^[email protected]~ipo~unicode build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64_v2 %[email protected]
[e]  rvqnts3          ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892,fdea723 arch=linux-rhel9-x86_64_v2
[e]  t7ud456          ^[email protected]~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c+
+,fortran' arch=linux-rhel9-x86_64_v2
[+]  v7kewl6          ^[email protected] build_system=generic arch=linux-rhel9-x86_64_v2
[e]  rmo2ams          ^[email protected]~guile build_system=generic patches:=599f134 arch=linux-rhel9-x86_64_v2
[+]  ib3pypg      ^[email protected]~ipo~nightly~rocm build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel9-x86_64_v2 %c,[email protected]
[-]  rkfxhau          ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  2zieoo7              ^[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux
-rhel9-x86_64_v2 %c,[email protected]
[+]  lkv44gc                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %c,[email protected]
[-]  3ovyqky                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  ajyots3                          ^[email protected] build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  afhcnu2                  ^[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-rhel9-x86_64_v2 %c,[email protected]
[-]  3y2ymm7                      ^ca-certificates-mozilla@2025-05-20 build_system=generic arch=linux-rhel9-x86_64_v2
[+]  oscvcn3              ^[email protected]~symlinks+termlib abi=none build_system=autotools patches:=7a351bc arch=linux-rhel9-x86_64_v2 %c,[email protected]
[-]  2i7bcsl          ^[email protected] build_system=generic arch=linux-rhel9-x86_64_v2
[e]  uqqzptx          ^[email protected]~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c+
+,fortran' arch=linux-rhel9-x86_64_v2
[+]  5zzqbzw          ^[email protected] build_system=generic arch=linux-rhel9-x86_64_v2
[-]  cromgfx          ^[email protected]~guile build_system=generic arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  ezm55ut      ^[email protected]+binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c
++,fortran' arch=linux-rhel9-x86_64 %c,[email protected]
[+]  ncbmob4          ^[email protected]~debuginfod+gas~gold~gprofng~headers~interwork+ld~libiberty~lto~nls~pgo+plugins build_system=autotools compress_debug_se
ctions=zlib libs:=shared,static arch=linux-rhel9-x86_64 %c,[email protected]
[-]  eiyisjk          ^[email protected] build_system=generic arch=linux-rhel9-sapphirerapids
[+]  j7mptzm          ^[email protected]~nls build_system=autotools arch=linux-rhel9-x86_64
[+]  cu7aana              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  jdcmdgw          ^[email protected]+cxx build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  ckziuro              ^[email protected]+sigsegv build_system=autotools patches:=9dc5fbd,bfdffa7 arch=linux-rhel9-x86_64
[+]  yp7mgad          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  nanxnwm              ^[email protected] build_system=autotools patches:=440b954 arch=linux-rhel9-x86_64
[+]  4tdthsj          ^[email protected]+clang~cuda~flang+gold~ipo+libomptarget~libomptarget_debug~link_llvm_dylib+lld+lldb+llvm_dylib+lua~mlir+polly~python~split
_dwarf~z3~zstd build_system=cmake build_type=Release compiler-rt=runtime generator=ninja libcxx=runtime libunwind=runtime openmp=runtime shlib_symbol_versio
n=none targets:=all version_suffix=none arch=linux-rhel9-x86_64
[+]  xskoq3l              ^[email protected]~gas+gold~gprofng+headers~interwork+ld~libiberty~lto~nls~pgo+plugins build_system=autotools compress_debug_section
s=zlib libs:=shared,static arch=linux-rhel9-x86_64
[+]  7eqwyio              ^[email protected]~cairo~cuda~gl~libudev+libxml2~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs:=shared,static arch
=linux-rhel9-x86_64
[+]  y2s3j7p                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  3qc3ntb                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  5gdegvo              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  z6h6lye              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ioxf5nu              ^[email protected]+pic~python+shared build_system=autotools arch=linux-rhel9-x86_64
[+]  xifqfag              ^[email protected]+shared build_system=makefile fetcher=curl arch=linux-rhel9-x86_64
[+]  vlldn6s                  ^[email protected] build_system=makefile patches:=881d2ed,f6f6236 arch=linux-rhel9-x86_64
[+]  xgueodv              ^[email protected]+re2c build_system=generic arch=linux-rhel9-x86_64
[+]  uvdcuym                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  vjdufcl              ^[email protected] build_system=perl arch=linux-rhel9-x86_64
[+]  ahcjsid              ^[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix+tki
nter+uuid+zlib build_system=generic patches:=b0615b2,ebdca64,f2fd060 arch=linux-rhel9-x86_64[+]  ry36jqm                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  gqwbv5x                  ^[email protected]+xft+xss build_system=autotools arch=linux-rhel9-x86_64
[+]  ognvtny                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  3l24tyc                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  go3r3r5                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  zepuqrb                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  y3mmezm                              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  rfrcg3q                              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  lmqj2yq                              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  dmhb2bo                              ^[email protected]+bz2+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+s
sl~tkinter+uuid+zlib build_system=generic arch=linux-rhel9-x86_64
[+]  sjk36iz                              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ddfxe7c                                  ^[email protected] build_system=generic arch=linux-rhel9-x86_64
[+]  bdg5por                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  cfybdyc                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ua6jcb3                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  7idotwx                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  gjrqcep                          ^[email protected]~pic build_system=autotools arch=linux-rhel9-x86_64
[+]  kkobqfq                              ^[email protected] build_system=autotools fonts:=encodings,font-adobe-100dpi,font-adobe-75dpi,font-adobe-utopia-100d
pi,font-adobe-utopia-75dpi,font-adobe-utopia-type1,font-alias,font-arabic-misc,font-bh-100dpi,font-bh-75dpi,font-bh-lucidatypewriter-100dpi,font-bh-lucidaty
pewriter-75dpi,font-bh-type1,font-bitstream-100dpi,font-bitstream-75dpi,font-bitstream-speedo,font-bitstream-type1,font-cronyx-cyrillic,font-cursor-misc,fon
t-daewoo-misc,font-dec-misc,font-ibm-type1,font-isas-misc,font-jis-misc,font-micro-misc,font-misc-cyrillic,font-misc-ethiopic,font-misc-meltho,font-misc-mis
c,font-mutt-misc,font-schumacher-misc,font-screen-cyrillic,font-sun-misc,font-winitzki-cyrillic,font-xfree86-type1 arch=linux-rhel9-x86_64
[+]  77c2wy2                                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  wu67t5m                                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  e2bv33h                                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  n5whxrr                                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ktbybpl                                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  pu25o7s                                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  grjt4p5                              ^[email protected] build_system=autotools patches:=3dd36db arch=linux-rhel9-x86_64
[+]  epmuqik                          ^[email protected]+pic+shared build_system=autotools arch=linux-rhel9-x86_64
[+]  mb73in5                              ^[email protected]~ipo~pic build_system=cmake build_type=Release generator=make libs:=shared,static arch=linux-rhel9-x
86_64
[+]  ack7mn3                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  w6u3gos                              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  4k65q6x                      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  napo7mn                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  ysqz6ni                          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  zvdjy5l              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  slk6aww                  ^[email protected]~jit+multibyte build_system=autotools arch=linux-rhel9-x86_64
[+]  kcg7tmr          ^[email protected] build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  i77pfnw          ^[email protected] build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  pwi5kul              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  mbaxaiw          ^[email protected]+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rhel9-x86_64
+]  kvg6u4e              ^[email protected]+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc arch=linux-rhel9-x86_64
[+]  iqfdyma          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  d2lbbjl      ^[email protected] build_system=generic arch=linux-rhel9-x86_64_v2
[e]  p3mo2gr      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  hndzowd      ^[email protected]~guile build_system=generic arch=linux-rhel9-x86_64
[+]  p2vc4ib      ^[email protected]+gcs+libcurl+libdeflate+pic~plugins+s3 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  r6a272h      ^[email protected]~ipo build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  rub5qb3          ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  6tpctdc      ^[email protected]~ipo build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64
[+]  e2ax64z          ^[email protected]~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  23ctxtu              ^[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux
-rhel9-x86_64
[+]  cc5p5kr                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  7fa3xqy          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  domncrg      ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  67eru3s      ^[email protected]+external-blas~ipo+lapacke+pic+shared~xblas build_system=cmake build_type=Release generator=make patches:=3059ebf,b1a
f8b6,e318340 arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  urlt355      ^[email protected]~bignuma~consistent_fpcsr+dynamic_dispatch+fortran~ilp64+locking+pic+shared build_system=makefile symbol_suffix=none threa
ds=openmp arch=linux-rhel9-x86_64_v2 %c,cxx,[email protected]
[+]  nki4so2      ^[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-rhel9-x86_64
[+]  w5vxebg          ^ca-certificates-mozilla@2023-05-30 build_system=generic arch=linux-rhel9-x86_64
[+]  7qy4lib      ^[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib
build_system=generic arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  egtdhv7          ^[email protected]+libbsd build_system=autotools arch=linux-rhel9-x86_64
[+]  kniiap3              ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  olgtrui                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  4yjc634          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64
[+]  5wwxeuz          ^[email protected]+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-rhel9-x86_64
[+]  72wkeuw              ^[email protected] build_system=autotools zip=pigz arch=linux-rhel9-x86_64
[+]  zktpnph                  ^[email protected] build_system=makefile arch=linux-rhel9-x86_64
[+]  3vzfw2k          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  wcp6jaz          ^[email protected]~obsolete_api build_system=autotools arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  ip2zpyi              ^[email protected]+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  una2ij3                  ^[email protected]+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc arch=linux-rhel9-x86_64_v2 %c,[email protected]
[+]  v6zm4r6                  ^[email protected]~debug~pic+shared build_system=generic arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  vabdhdq                  ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  7jcobp5                      ^[email protected] build_system=autotools patches:=1ea4349,24f587b,3d9885e,5911a5b,622ba38,6c8adf8,758e2ec,79572ee,a177edc,bbf9
7f1,c7b45ff,e0013d9,e065038 arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  qhi3vr7          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  pbukwvu          ^[email protected] build_system=autotools patches:=bbf97f1 arch=linux-rhel9-x86_64
[+]  xcstec2          ^[email protected] build_system=autotools arch=linux-rhel9-x86_64_v2 %[email protected]
[+]  tbwkmx5      ^[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel9-x86_64
[+]  rzipgyt      ^[email protected]+optimize+pic+shared build_system=makefile arch=linux-rhel9-x86_64
[+]  sbvnnkk      ^[email protected]+programs build_system=makefile compression:=none libs:=shared,static arch=linux-rhel9-x86_64

Error message

Here's an excerpt, see full details in attached error logs

Error message [...] project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `cswap_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `scnrm2_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `sgbmv_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `drot_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `ztpmv_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `ztrsv_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `chemm_64_' /project/apps/apps_rhel9/spack/opt/spack/linux-x86_64/binutils-2.44-ncbmob4vav5peavjl3znop3sycayiwi3/bin/ld: /project/apps/apps_rhel9/spack/opt/spack/linux- x86_64_v2/netlib-lapack-3.12.1-67eru3smnwefee4ilebx7cqhj2yrvhnv/lib64/liblapack.so: undefined reference to `dcopy_64_' [...]

Information on your system

spack debug report
* **Spack:** 1.0.2 (https://github.com/spack/spack/commit/734c5db2121b01c373eed6538e452f18887e9e44)
* **Builtin repo:** https://github.com/spack/spack-packages/commit/61e3ec212c74ed8f817f9ad345404a094412abf8
* **Python:** 3.9.18
* **Platform:** linux-rhel9-sapphirerapids

Nothing too special custom, just a few externals defined like tar, cmake and some default variants for CUDA.

Additional information

@teaguesterling

Itseems the lapack regenie is picking up is not ilp64? I don't see any variants in netlib-lapack to specify this.

I tried removing the netlib-lapack dependency and force Spack to use openblas +ilp64 in the hope that would provide a proper lapack implementation, but it seems regenie needs a couple of patches in the CMakeLists.txt to have it pick OpenBLAS up as a valid lapack implementation.

spack-build-01-cmake-out.txt
spack-build-02-build-out.txt
spack-build-env.txt
spack-build-env-mods.txt
spack-build-out.txt

General information

  • I have run spack debug report and 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions