Skip to content

scotch does not depend on intelmpi #2978

@DaanVanVugt

Description

@DaanVanVugt

Hi,

I'm trying to install an intelmpi version of scotch (just installed an openmpi version) with
spack spec scotch+esmumps+mpi ^intelmpi which fails with ==> Error: scotch does not depend on intelmpi , while the openmpi version gives

$ spack spec scotch+esmumps+mpi ^openmpi
Input spec
--------------------------------
scotch+esmumps+mpi
    ^openmpi

Normalized
--------------------------------
scotch+esmumps+mpi
    ^bison
        ^[email protected]:
    ^flex@:2.6.1
        ^[email protected]:
        ^help2man
    ^openmpi
        ^hwloc
            ^libpciaccess
                ^libtool
                ^[email protected]:
                ^util-macros

Concretized
--------------------------------
[email protected]%[email protected]+compression+esmumps+metis+mpi+shared arch=linux-centos7-x86_64 
    ^[email protected]%[email protected] arch=linux-centos7-x86_64 
    ^[email protected]%[email protected] arch=linux-centos7-x86_64 
    ^[email protected]%[email protected]~java~mxm~pmi~psm~psm2~slurm~sqlite3~thread_multiple~tm~verbs+vt arch=linux-centos7-x86_64 
    ^[email protected]%[email protected]+pic+shared arch=linux-centos7-x86_64 

I do not understand why I cannot build with intelmpi (and intel compilers) here.
Relevant part of packages.yaml:

packages:
  openmpi:
    modules:
      [email protected]%[email protected]: openmpi/1-10.3--gnu--6.1.0
    buildable: False
  intelmpi:
    modules:
      [email protected]%[email protected]: intelmpi/2017--binary
    buildable: False
  zlib:
    modules:
      [email protected]%[email protected]: zlib/1.2.8--gnu--6.1.0
    buildable: False
  all:
    providers:
      mpi: [openmpi, intelmpi]

I have one guess: is this happening because zlib is only available in a gcc version?
Then I would find this to be a very cryptic error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions