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  regenie@4.1~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,fortran=gcc@14.3.0
[+]  esp3ue5      ^bgen@1.1.7~bundled-deps~full-source+headers+libs build_system=waf patches:=558a77a arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@14.3.0
[+]  3nlyu5q          ^fossil@2.18 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@14.3.0
[+]  xsgptvg      ^boost@1.77.0+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          ^gcc-runtime@14.2.0 build_system=generic arch=linux-rhel9-x86_64
[+]  tykyubw          ^icu4c@74.2 build_system=autotools cxxstd=17 arch=linux-rhel9-x86_64                                                                  [+]  mytbkzi              ^autoconf@2.72 build_system=autotools arch=linux-rhel9-x86_64
[+]  ediyz7b              ^automake@1.16.5 build_system=autotools arch=linux-rhel9-x86_64
[+]  g5zqcmk              ^python@3.9.19+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                  ^libxcrypt@4.4.35~obsolete_api build_system=autotools patches:=4885da3 arch=linux-rhel9-x86_64
[+]  fjbx6tx                  ^openssl@3.4.0~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                  ^sqlite@3.46.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel9-x86_64
[+]  6o5fbrs                  ^util-linux-uuid@2.40.2 build_system=autotools arch=linux-rhel9-x86_64
[+]  maltsdt          ^xz@5.4.6~pic build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  rvlvqxx      ^bzip2@1.0.8~debug~pic+shared build_system=generic arch=linux-rhel9-x86_64
[+]  hwvg6po          ^diffutils@3.10 build_system=autotools arch=linux-rhel9-x86_64
[+]  zgpulce          ^gcc-runtime@11.4.1 build_system=generic arch=linux-rhel9-x86_64
[e]  pdpia3h          ^glibc@2.34 build_system=autotools arch=linux-rhel9-x86_64
[+]  mxqgfw5      ^cmake@3.30.5~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  il3bofi          ^curl@8.10.1~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux-rhe
l9-x86_64
[+]  lamcu7g              ^nghttp2@1.63.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  5edr7zo              ^pkgconf@2.2.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  afpe6py          ^ncurses@6.5~symlinks+termlib abi=none build_system=autotools patches:=7a351bc arch=linux-rhel9-x86_64
[+]  sj7jixg      ^compiler-wrapper@1.0 build_system=generic arch=linux-rhel9-x86_64_v2                                                                     [+]  7ippftm      ^cxxopts@3.3.1~ipo~unicode build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64_v2 %cxx=gcc@11.4.1
[e]  rvqnts3          ^cmake@3.26.5~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892,fdea723 arch=linux-rhel9-x86_64_v2
[e]  t7ud456          ^gcc@11.4.1~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c+
+,fortran' arch=linux-rhel9-x86_64_v2
[+]  v7kewl6          ^gcc-runtime@11.4.1 build_system=generic arch=linux-rhel9-x86_64_v2
[e]  rmo2ams          ^gmake@4.3~guile build_system=generic patches:=599f134 arch=linux-rhel9-x86_64_v2
[+]  ib3pypg      ^eigen@3.4.0~ipo~nightly~rocm build_system=cmake build_type=RelWithDebInfo generator=make arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[-]  rkfxhau          ^cmake@3.31.8~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[+]  2zieoo7              ^curl@8.11.1~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux
-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[+]  lkv44gc                  ^nghttp2@1.65.0 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[-]  3ovyqky                      ^diffutils@3.10 build_system=autotools arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  ajyots3                          ^libiconv@1.18 build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  afhcnu2                  ^openssl@3.4.1~docs+shared build_system=generic certs=mozilla arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[-]  3y2ymm7                      ^ca-certificates-mozilla@2025-05-20 build_system=generic arch=linux-rhel9-x86_64_v2
[+]  oscvcn3              ^ncurses@6.5~symlinks+termlib abi=none build_system=autotools patches:=7a351bc arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[-]  2i7bcsl          ^compiler-wrapper@1.0 build_system=generic arch=linux-rhel9-x86_64_v2
[e]  uqqzptx          ^gcc@11.4.1~binutils+bootstrap~graphite~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c+
+,fortran' arch=linux-rhel9-x86_64_v2
[+]  5zzqbzw          ^gcc-runtime@11.4.1 build_system=generic arch=linux-rhel9-x86_64_v2
[-]  cromgfx          ^gmake@4.4.1~guile build_system=generic arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  ezm55ut      ^gcc@14.3.0+binutils+bootstrap~graphite~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c
++,fortran' arch=linux-rhel9-x86_64 %c,cxx=clang@17.0.6
[+]  ncbmob4          ^binutils@2.44~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,cxx=clang@17.0.6
[-]  eiyisjk          ^compiler-wrapper@1.0 build_system=generic arch=linux-rhel9-sapphirerapids
[+]  j7mptzm          ^gawk@5.3.1~nls build_system=autotools arch=linux-rhel9-x86_64
[+]  cu7aana              ^libsigsegv@2.14 build_system=autotools arch=linux-rhel9-x86_64
[+]  jdcmdgw          ^gmp@6.3.0+cxx build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  ckziuro              ^m4@1.4.19+sigsegv build_system=autotools patches:=9dc5fbd,bfdffa7 arch=linux-rhel9-x86_64
[+]  yp7mgad          ^libtool@2.4.7 build_system=autotools arch=linux-rhel9-x86_64
[+]  nanxnwm              ^findutils@4.9.0 build_system=autotools patches:=440b954 arch=linux-rhel9-x86_64
[+]  4tdthsj          ^llvm@17.0.6+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              ^binutils@2.43.1~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              ^hwloc@2.11.1~cairo~cuda~gl~libudev+libxml2~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs:=shared,static arch
=linux-rhel9-x86_64
[+]  y2s3j7p                  ^libpciaccess@0.17 build_system=autotools arch=linux-rhel9-x86_64
[+]  3qc3ntb                      ^util-macros@1.20.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  5gdegvo              ^libedit@3.1-20240808 build_system=autotools arch=linux-rhel9-x86_64
[+]  z6h6lye              ^libffi@3.4.6 build_system=autotools arch=linux-rhel9-x86_64
[+]  ioxf5nu              ^libxml2@2.13.4+pic~python+shared build_system=autotools arch=linux-rhel9-x86_64
[+]  xifqfag              ^lua@5.3.6+shared build_system=makefile fetcher=curl arch=linux-rhel9-x86_64
[+]  vlldn6s                  ^unzip@6.0 build_system=makefile patches:=881d2ed,f6f6236 arch=linux-rhel9-x86_64
[+]  xgueodv              ^ninja@1.12.1+re2c build_system=generic arch=linux-rhel9-x86_64
[+]  uvdcuym                  ^re2c@3.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  vjdufcl              ^perl-data-dumper@2.173 build_system=perl arch=linux-rhel9-x86_64
[+]  ahcjsid              ^python@3.11.9+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                  ^tcl@8.6.12 build_system=autotools arch=linux-rhel9-x86_64
[+]  gqwbv5x                  ^tk@8.6.11+xft+xss build_system=autotools arch=linux-rhel9-x86_64
[+]  ognvtny                      ^libx11@1.8.10 build_system=autotools arch=linux-rhel9-x86_64
[+]  3l24tyc                          ^inputproto@2.3.2 build_system=autotools arch=linux-rhel9-x86_64
[+]  go3r3r5                          ^kbproto@1.0.7 build_system=autotools arch=linux-rhel9-x86_64
[+]  zepuqrb                          ^libxcb@1.17.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  y3mmezm                              ^libpthread-stubs@0.5 build_system=autotools arch=linux-rhel9-x86_64
[+]  rfrcg3q                              ^libxau@1.0.11 build_system=autotools arch=linux-rhel9-x86_64
[+]  lmqj2yq                              ^libxdmcp@1.1.5 build_system=autotools arch=linux-rhel9-x86_64
[+]  dmhb2bo                              ^python@3.13.0+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                              ^xcb-proto@1.17.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  ddfxe7c                                  ^python-venv@1.0 build_system=generic arch=linux-rhel9-x86_64
[+]  bdg5por                          ^xextproto@7.3.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  cfybdyc                          ^xproto@7.0.31 build_system=autotools arch=linux-rhel9-x86_64
[+]  ua6jcb3                          ^xtrans@1.5.2 build_system=autotools arch=linux-rhel9-x86_64
[+]  7idotwx                      ^libxft@2.3.8 build_system=autotools arch=linux-rhel9-x86_64
[+]  gjrqcep                          ^fontconfig@2.15.0~pic build_system=autotools arch=linux-rhel9-x86_64
[+]  kkobqfq                              ^font-util@1.4.1 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                                  ^bdftopcf@1.1.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  wu67t5m                                      ^fontsproto@2.1.3 build_system=autotools arch=linux-rhel9-x86_64
[+]  e2bv33h                                      ^libxfont@1.5.4 build_system=autotools arch=linux-rhel9-x86_64
[+]  n5whxrr                                  ^mkfontdir@1.0.7 build_system=autotools arch=linux-rhel9-x86_64
[+]  ktbybpl                                  ^mkfontscale@1.2.3 build_system=autotools arch=linux-rhel9-x86_64
[+]  pu25o7s                                      ^libfontenc@1.1.8 build_system=autotools arch=linux-rhel9-x86_64
[+]  grjt4p5                              ^gperf@3.1 build_system=autotools patches:=3dd36db arch=linux-rhel9-x86_64
[+]  epmuqik                          ^freetype@2.13.2+pic+shared build_system=autotools arch=linux-rhel9-x86_64
[+]  mb73in5                              ^libpng@1.6.39~ipo~pic build_system=cmake build_type=Release generator=make libs:=shared,static arch=linux-rhel9-x
86_64
[+]  ack7mn3                          ^libxrender@0.9.11 build_system=autotools arch=linux-rhel9-x86_64
[+]  w6u3gos                              ^renderproto@0.11.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  4k65q6x                      ^libxscrnsaver@1.2.4 build_system=autotools arch=linux-rhel9-x86_64
[+]  napo7mn                          ^libxext@1.3.6 build_system=autotools arch=linux-rhel9-x86_64
[+]  ysqz6ni                          ^scrnsaverproto@1.2.2 build_system=autotools arch=linux-rhel9-x86_64
[+]  zvdjy5l              ^swig@4.1.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  slk6aww                  ^pcre2@10.44~jit+multibyte build_system=autotools arch=linux-rhel9-x86_64
[+]  kcg7tmr          ^mpc@1.3.1 build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  i77pfnw          ^mpfr@4.2.1 build_system=autotools libs:=shared,static arch=linux-rhel9-x86_64
[+]  pwi5kul              ^autoconf-archive@2023.02.20 build_system=autotools arch=linux-rhel9-x86_64
[+]  mbaxaiw          ^perl@5.40.0+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rhel9-x86_64
+]  kvg6u4e              ^berkeley-db@18.1.40+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc arch=linux-rhel9-x86_64
[+]  iqfdyma          ^texinfo@7.1 build_system=autotools arch=linux-rhel9-x86_64
[+]  d2lbbjl      ^gcc-runtime@14.3.0 build_system=generic arch=linux-rhel9-x86_64_v2
[e]  p3mo2gr      ^glibc@2.34 build_system=autotools arch=linux-rhel9-x86_64
[+]  hndzowd      ^gmake@4.4.1~guile build_system=generic arch=linux-rhel9-x86_64
[+]  p2vc4ib      ^htslib@1.22.1+gcs+libcurl+libdeflate+pic~plugins+s3 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@14.3.0
[+]  r6a272h      ^lbfgspp@0.3.0~ipo build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64_v2 %cxx=gcc@14.3.0
[+]  rub5qb3          ^cmake@3.30.5~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  6tpctdc      ^libdeflate@1.18~ipo build_system=cmake build_type=Release generator=make arch=linux-rhel9-x86_64
[+]  e2ax64z          ^cmake@3.30.5~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release patches:=dbc3892 arch=linux-rhel9-x86_64
[+]  23ctxtu              ^curl@8.10.1~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl arch=linux
-rhel9-x86_64
[+]  cc5p5kr                  ^nghttp2@1.63.0 build_system=autotools arch=linux-rhel9-x86_64
[+]  7fa3xqy          ^gzip@1.13 build_system=autotools arch=linux-rhel9-x86_64
[+]  domncrg      ^lzma@4.32.7 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@14.3.0
[+]  67eru3s      ^netlib-lapack@3.12.1+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,fortran=gcc@14.3.0
[+]  urlt355      ^openblas@0.3.30~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,fortran=gcc@14.3.0
[+]  nki4so2      ^openssl@3.4.0~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      ^python@3.12.12+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,cxx=clang@17.0.6
[+]  egtdhv7          ^expat@2.6.4+libbsd build_system=autotools arch=linux-rhel9-x86_64
[+]  kniiap3              ^libbsd@0.12.2 build_system=autotools arch=linux-rhel9-x86_64
[+]  olgtrui                  ^libmd@1.0.4 build_system=autotools arch=linux-rhel9-x86_64
[+]  4yjc634          ^gdbm@1.23 build_system=autotools arch=linux-rhel9-x86_64
[+]  5wwxeuz          ^gettext@0.22.5+bzip2+curses+git~libunistring+libxml2+pic+shared+tar+xz build_system=autotools arch=linux-rhel9-x86_64
[+]  72wkeuw              ^tar@1.34 build_system=autotools zip=pigz arch=linux-rhel9-x86_64
[+]  zktpnph                  ^pigz@2.8 build_system=makefile arch=linux-rhel9-x86_64
[+]  3vzfw2k          ^libffi@3.4.8 build_system=autotools arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[+]  wcp6jaz          ^libxcrypt@4.4.38~obsolete_api build_system=autotools arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  ip2zpyi              ^perl@5.40.0+cpanm+opcode+open+shared+threads build_system=generic arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  una2ij3                  ^berkeley-db@18.1.40+cxx~docs+stl build_system=autotools patches:=26090f4,b231fcc arch=linux-rhel9-x86_64_v2 %c,cxx=gcc@11.4.1
[+]  v6zm4r6                  ^bzip2@1.0.8~debug~pic+shared build_system=generic arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  vabdhdq                  ^gdbm@1.23 build_system=autotools arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  7jcobp5                      ^readline@8.2 build_system=autotools patches:=1ea4349,24f587b,3d9885e,5911a5b,622ba38,6c8adf8,758e2ec,79572ee,a177edc,bbf9
7f1,c7b45ff,e0013d9,e065038 arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  qhi3vr7          ^pkgconf@2.3.0 build_system=autotools arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  pbukwvu          ^readline@8.2 build_system=autotools patches:=bbf97f1 arch=linux-rhel9-x86_64
[+]  xcstec2          ^util-linux-uuid@2.41 build_system=autotools arch=linux-rhel9-x86_64_v2 %c=gcc@11.4.1
[+]  tbwkmx5      ^sqlite@3.46.0+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=linux-rhel9-x86_64
[+]  rzipgyt      ^zlib@1.3.1+optimize+pic+shared build_system=makefile arch=linux-rhel9-x86_64
[+]  sbvnnkk      ^zstd@1.5.6+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