Skip to content

Installation issue: intel-oneapi-mpi is incomplete #20725

@rscohn2

Description

@rscohn2

Steps to reproduce the issue

$ (spack) rscohn2@rscohn1-MOBL:work$ spack install hdf5%[email protected] ^intel-oneapi-mpi
[+] /home/rscohn2/local/Projects/spack/work/opt/spack/linux-ubuntu20.04-skylake/intel-2021.1/intel-oneapi-mpi-2021.1.1-4ipltnk6vi7vm\
oezshrfaysyuaii6ip2
[+] /home/rscohn2/local/Projects/spack/work/opt/spack/linux-ubuntu20.04-skylake/intel-2021.1/zlib-1.2.11-zkxwt5sqzpfpsitx65hqveu3lzw\
rmg5u
==> Installing hdf5-1.10.7-ytdsc3yfdrwemyaaajntq4vnnoyzvdx2
==> No binary for hdf5-1.10.7-ytdsc3yfdrwemyaaajntq4vnnoyzvdx2 found: installing from source
==> Fetching https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/_source-cache/archive/7a/7a1a0a54371275ce2dfc5cd093775bb025c365846\
512961e7e5ceaecb437ef15.tar.gz
############################################################################################################################# 100.0%
==> hdf5: Executing phase: 'autoreconf'
==> hdf5: Executing phase: 'configure'
==> Error: AttributeError: 'Spec' object has no attribute 'mpicc'

/home/rscohn2/local/Projects/spack/work/var/spack/repos/builtin/packages/hdf5/package.py:303, in configure_args:
        300            # interface. Since they are still accessible via the C interface,
        301            # this is not actually a problem.
        302            extra_args += ['--enable-parallel',
  >>    303                           'CC=%s' % self.spec['mpi'].mpicc]
        304
        305            if '+cxx' in self.spec:
        306                extra_args.append('CXX=%s' % self.spec['mpi'].mpicxx)

See build log for details:
  /tmp/rscohn2/spack-stage/spack-stage-hdf5-1.10.7-ytdsc3yfdrwemyaaajntq4vnnoyzvdx2/spack-build-out.txt

(spack) rscohn2@rscohn1-MOBL:work$
...

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