mochi-hpc-experiments / mochi-tests

Test cases for the Mochi project.
Other
0 stars 6 forks source link

mochi-tests should not require pmix and sds-mpi to build for most cases. #24

Open DonaldKruse opened 3 years ago

DonaldKruse commented 3 years ago

In order to correctly build the Mochi tests, I had to put +mpi and +pmix in my spack.yaml file. I don't think this is required for most mochi-tests builds. My current spack.yaml file that lets me build mochi-tests is

  specs:
  - mercury@master %gcc@7.3.1
  - mochi-margo@master %gcc@7.3.1
  - mochi-ssg +mpi +pmix #@master %gcc@7.3.1
  - mochi-sdskv @master +leveldb ^leveldb@1.22
  concretization: together
  packages:
    all:
      compiler: [gcc@7.3.1]
      providers:
        mpi: [spectrum-mpi]
        pkgconfig: [pkg-config]
      buildable: true
      version: []
      target: []
    mercury:
      variants: ~boostsys
      buildable: true
      version: []
      target: []
      providers: {}
      compiler: []
    libfabric:
      variants: fabrics=verbs,rxm,mrail
      buildable: true
      version: []
      target: []
      providers: {}
      compiler: []
  view: true
carns commented 3 years ago

Thanks @DonaldKruse . Any chance you could confirm if +pmix is needed, or if it is just +mpi?

I understand why +mpi would be needed; the margo benchmarks in mochi-test expect to be able to bootstrap ssg out of an mpi program. We can clarify that as part of the fix to #23 , but I'm not sure why it would require +pmix.