Skip to content

Installation issue: visit-silo, an issue maybe with silo : "Unable to recursively locate silo libraries" #3811

@cessenat

Description

@cessenat

Steps to reproduce the issue

$ spack spec -I visit-silo  ^visit@3.2.2
-   visit-silo@3.1.4~ipo build_system=cmake build_type=Release generator=make platform=linux os=ubuntu20.04 target=zen2 %c,cxx,fortran=oneapi@2025.2.1
[e]      ^cmake@3.16.3~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=ubuntu20.04 target=x86_64 
[+]      ^compiler-wrapper@1.0 build_system=generic platform=linux os=ubuntu20.04 target=zen2 
[e]      ^glibc@2.31 build_system=autotools platform=linux os=ubuntu20.04 target=x86_64 
[e]      ^gmake@4.2.1~guile build_system=generic platform=linux os=ubuntu20.04 target=x86_64 
[e]      ^intel-oneapi-compilers@2025.2.1~amd+envmods~nvidia build_system=generic platform=linux os=ubuntu20.04 target=x86_64 
[+]      ^intel-oneapi-runtime@2025.2.1 build_system=generic platform=linux os=ubuntu20.04 target=zen2 
[+]          ^gcc-runtime@9.4.0 build_system=generic platform=linux os=ubuntu20.04 target=zen2 
[+]      ^silo@4.12.0+fortran~fpzip+hdf5~hzip~ipo+pic+python+shared~silex+zfp build_system=cmake build_type=Release generator=make license=bsdonly patches:=4626644 platform=linux os=ubuntu20.04 target=zen2 %c,cxx=gcc@9.4.0 %fortran=oneapi@2025.2.1
[e]          ^gcc@9.4.0+binutils+bootstrap~graphite+libsanitizer~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=ubuntu20.04 target=x86_64 
[+]          ^hdf5@1.14.6~cxx~fortran~hl~ipo~java~map~mpi+shared~szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make platform=linux os=ubuntu20.04 target=zen2 %c=gcc@9.4.0
[+]              ^cmake@3.31.11~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=ubuntu20.04 target=zen2 %c,cxx=oneapi@2025.2.1
[e]                  ^curl@7.68.0+gssapi+ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs:=shared,static tls:=openssl platform=linux os=ubuntu20.04 target=x86_64 
[e]              ^pkg-config@0.29.1+internal_glib build_system=autotools platform=linux os=ubuntu20.04 target=x86_64 
[e]          ^perl@5.30.0~cpanm+opcode+open+shared+threads build_system=generic platform=linux os=ubuntu20.04 target=x86_64 
[e]          ^python@2.7.18+bz2+crypt+ctypes+dbm~debug+libxml2~lzma~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~static~tests~tkinter+uuid+zlib build_system=generic platform=linux os=ubuntu20.04 target=x86_64 
[+]          ^readline@8.3 build_system=autotools patches:=21f0a03 platform=linux os=ubuntu20.04 target=zen2 %c=oneapi@2025.2.1
[+]              ^ncurses@6.6~symlinks+termlib abi=none build_system=autotools patches:=7a351bc platform=linux os=ubuntu20.04 target=zen2 %c,cxx=gcc@9.4.0
[e]          ^zlib@1.2.11+optimize+pic+shared build_system=makefile platform=linux os=ubuntu20.04 target=x86_64 
[e]      ^visit@3.2.2+adios2+conduit+gui+hdf5+mfem+mpi+netcdf+plugins+python+silo~vtkm build_system=cmake build_type=Release generator=ninja platform=linux os=ubuntu20.04 target=x86_64 

Error message

Error message
$ spack install visit-silo ^visit@3.2.2
[+] /opt/visit (external visit-3.2.2-cxp77evsyrtzg6n5tsyhpvtyhqfhloq5)
[+] /usr (external glibc-2.31-nm2n32h34mhcte6fm3s4fjjnnrdyqcvz)
[+] /usr (external pkg-config-0.29.1-mkqy4xgztmevc7uifkmu66aansxc3mai)
[+] /usr (external zlib-1.2.11-qnfvvtjmb6izkwqhocstwpi5wzw755pq)
[+] /usr (external python-2.7.18-addaen4e4aw7cwg3l2iiwuo6lzjxtbrb)
[+] /usr (external cmake-3.16.3-6cfzxvzucfowtgce4m3vzvtsnqv6hbbl)
[+] /opt/intel/oneapi (external intel-oneapi-compilers-2025.2.1-lwgafcfwng3jahdjpoalgl7cngtasdci)
[+] /dev/shm/spack/opt/spack/linux-zen2/compiler-wrapper-1.0-izibsbjo4x6egklsqksdzodqtli6ycst
[+] /usr (external gmake-4.2.1-f2yekiyybnro7lfgdzgrgc6pvsvobx2p)
[+] /dev/shm/spack/opt/spack/linux-zen2/gcc-runtime-9.4.0-6ikz44k5yqpog7jnr6mahnvvr62qwbgq
[+] /dev/shm/spack/opt/spack/linux-zen2/ncurses-6.6-vc7snsalcjkbpfu76jsjijvh32lxdbsh
[+] /dev/shm/spack/opt/spack/linux-zen2/hdf5-1.14.6-rjnnz5ac4xlvszaouukjhw3wt3e37vuk
[+] /dev/shm/spack/opt/spack/linux-zen2/intel-oneapi-runtime-2025.2.1-brjdi3uym7rnstvacgmopvgpqlwn7p53
[+] /dev/shm/spack/opt/spack/linux-zen2/readline-8.3-b5i7lmtlaa2jugmjllinszcvb4iu6fzs
[+] /dev/shm/spack/opt/spack/linux-zen2/silo-4.12.0-jwkt6dhioca5yxktxnf6ftfv6kv5i2yo
==> No binary for visit-silo-3.1.4-t6wf5j2gv4tnyctsmozuwyf6mmjbz5tx found: installing from source
==> Installing visit-silo-3.1.4-t6wf5j2gv4tnyctsmozuwyf6mmjbz5tx [16/16]
==> Warning: Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors
    [100%]  160.04 MB @    3.0 MB/s
==> No patches needed for visit-silo
==> visit-silo: Executing phase: 'cmake'
==> Error: NoLibrariesError: Unable to recursively locate silo libraries in /dev/shm/spack/opt/spack/linux-zen2/silo-4.12.0-jwkt6dhioca5yxktxnf6ftfv6kv5i2yo

/dev/shm/spack/.spack/package_repos/fncqgg4/repos/spack_repo/builtin/packages/visit_silo/package.py:107, in cmake_args:
        104        args = [
        105            "-DSILO_INCLUDE_DIR=" + silo.prefix.include,
        106            "-DSILO_LIBRARY_DIR=" + silo.prefix.lib,
  >>    107            "-DSILO_LIB=" + silo.libs.link_flags,
        108        ]
        109        return args

See build log for details:
  /tmp/cessenat/spack-stage/spack-stage-visit-silo-3.1.4-t6wf5j2gv4tnyctsmozuwyf6mmjbz5tx/spack-build-out.txt


Information on your system

$ spack debug report

packages.yaml:

packages:
  visit:
    externals:
    - spec: visit@3.2.2
      prefix: /opt/visit

Additional information

$ spack maintainers visit-silo
@cessenat @cyrush
$ spack maintainers silo
@markcmiller86 @patrickb314

spack-build-env.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