Skip to content

Installation issue: Gromacs #40983

@gabrielctn

Description

@gabrielctn

Steps to reproduce the issue

$ spack spec -l [email protected]+cuda~mpi~shared cuda_arch=61,70,75,80,86 ^[email protected] ^intel-oneapi-mkl
Input spec
--------------------------------
 -   [email protected]+cuda~mpi~shared cuda_arch=61,70,75,80,86
 -       ^[email protected]
 -       ^intel-oneapi-mkl

Concretized
--------------------------------
 -   vs2oajd  [email protected]%[email protected]~cp2k+cuda~cycle_subcounters~double+hwloc~intel_provided_gcc~ipo~mdrun_only~mpi~nosuffix~opencl+openmp~plumed~relaxed_double_precision~shared~sycl build_system=cmake build_type=Release cuda_arch=61,70,75,80,86 generator=make openmp_max_threads=none arch=linux-ubuntu22.04-x86_64
[+]  chmsw57      ^[email protected]%[email protected]~doc+ncurses+ownlibs build_system=generic build_type=Release arch=linux-ubuntu22.04-x86_64
[+]  xuchgfp          ^[email protected]%[email protected]~gssapi~ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=openssl arch=linux-ubuntu22.04-x86_64
[+]  x4spyuy              ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  5s77zdm              ^[email protected]%[email protected]~docs+shared build_system=generic certs=mozilla arch=linux-ubuntu22.04-x86_64
[+]  wyotaab                  ^ca-certificates-mozilla@2023-05-30%[email protected] build_system=generic arch=linux-ubuntu22.04-x86_64
[+]  absc2lw                  ^[email protected]%[email protected]+cpanm+opcode+open+shared+threads build_system=generic patches=714e4d1 arch=linux-ubuntu22.04-x86_64
[+]  wu2onzy                      ^[email protected]%[email protected]+cxx~docs+stl build_system=autotools patches=26090f4,b231fcc arch=linux-ubuntu22.04-x86_64
[+]  pi46mvg                      ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=linux-ubuntu22.04-x86_64
[+]  b5z5cg7                      ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  lqbchac                          ^[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=linux-ubuntu22.04-x86_64
[+]  2qhma5e          ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  ggryydn          ^[email protected]%[email protected]+compat+opt build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  5oi447c      ^[email protected]%[email protected]~allow-unsupported-compilers~dev build_system=generic arch=linux-ubuntu22.04-x86_64
[+]  qadf6ld          ^[email protected]%[email protected]+pic~python+shared build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  d7jhjjz              ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64
[+]  wwnvb37              ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64
[+]  bkojiq3      ^[email protected]%[email protected]~guile build_system=generic arch=linux-ubuntu22.04-x86_64
[+]  nh6b7y5      ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl+pci~rocm build_system=autotools libs=shared,static arch=linux-ubuntu22.04-x86_64
[+]  ntt7gqa          ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  tr2m354              ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  k7unfrn                  ^[email protected]%[email protected]+sigsegv build_system=autotools patches=9dc5fbd,bfdffa7 arch=linux-ubuntu22.04-x86_64
[+]  vdxeuyz                      ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  nq5wt5g                      ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  6n67jmh              ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  3t7cn7m          ^[email protected]%[email protected] build_system=autotools arch=linux-ubuntu22.04-x86_64
[+]  mlikjsa      ^[email protected]%[email protected]~cluster+envmods~ilp64~shared build_system=generic mpi_family=none threads=openmp arch=linux-ubuntu22.04-x86_64
[+]  pksgrqf          ^[email protected]%[email protected]~ipo~shared+tm build_system=cmake build_type=Release cxxstd=default generator=make patches=91755c6 arch=linux-ubuntu22.04-x86_64

Error message

Error message
==> Error: AttributeError: 'IntelOneApiStaticLibraryList' object has no attribute 'joined'

The 'gromacs' package cannot find an attribute while trying to build from sources. This might be due to a change in Spack's package format to support multiple build-systems for a single package. You can fix this by updating the build recipe, and you can also report the issue as a bug. More information at https://spack.readthedocs.io/en/latest/packaging_guide.html#installation-procedure

/root/admin/scripts/spack/var/spack/repos/builtin/packages/gromacs/package.py:497, in cmake_args:
        494
        495        options.append("-DGMX_EXTERNAL_LAPACK:BOOL=ON")
        496        if self.spec["lapack"].libs:
  >>    497            options.append("-DGMX_LAPACK_USER={0}".format(self.spec["lapack"].libs.joined(";")))
        498
        499        options.append("-DGMX_EXTERNAL_BLAS:BOOL=ON")
        500        if self.spec["blas"].libs:

Information on your system

  • Spack: 0.21.0.dev0 (36a5b44)
  • Python: 3.10.12
  • Platform: linux-ubuntu22.04-skylake_avx512
  • Concretizer: clingo

Additional information

spack-build-out.txt
spack-build-env.txt

@danielahlin @eirrgang @junghans @haampie

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