E4S-Project / e4s

E4S for Spack
https://e4s.readthedocs.io
MIT License
30 stars 13 forks source link

[support]: strumpack - spack test failure #113

Closed shahzebsiddiqui closed 1 year ago

shahzebsiddiqui commented 1 year ago

Name of Software

strumpack

URL for Software

No response

Contact Details

shahzebsiddiqui@lbl.gov

HPC System

Perlmutter

Request Description

@jscook2345 tested strumpack in https://github.com/buildtesters/buildtest-nersc/issues/113#issuecomment-1232103279 based on the error we are still getting same issue i just tested this again and it depends on slurm so this is not feasible test.

Strumpack team should consider removing this test. This test is not going to work at any site it has a hard dependency on slurm and not all sites will have slurm.

 ~/ spack test run strumpack
==> Spack test zbq5hoibe3rbkmugpckknr2xurrpwsby
==> Testing package strumpack-6.3.1-5yz6t22
==> Error: TestFailure: 1 tests failed.

Command exited with status 1:
    '/usr/bin/srun' '-n' '1' 'test_sparse_mpi' '../examples/sparse/data/pde900.mtx'
srun: error: Job request does not match any supported policy.
srun: error: Unable to allocate resources: Unspecified error

1 error found in test log:
     108    ==> [2023-01-31-08:19:06.026592] '/usr/bin/srun' '-n' '1' 'test_sparse_mpi' '../examples/sparse/data/pde900.mtx'
     109    srun: error: Job request does not match any supported policy.
     110    srun: error: Unable to allocate resources: Unspecified error
     111    FAILED: Command exited with status 1:
     112        '/usr/bin/srun' '-n' '1' 'test_sparse_mpi' '../examples/sparse/data/pde900.mtx'
     113    srun: error: Job request does not match any supported policy.
  >> 114    srun: error: Unable to allocate resources: Unspecified error
     115
     116      File "/global/common/software/spackecp/perlmutter/e4s-22.05/78535/spack/bin/spack", line 98, in <module>
     117        sys.exit(spack.main.main())
     118      File "/global/common/software/spackecp/perlmutter/e4s-22.05/78535/spack/lib/spack/spack/main.py", line 910, in main
     119        return _main(argv)
     120      File "/global/common/software/spackecp/perlmutter/e4s-22.05/78535/spack/lib/spack/spack/main.py", line 865, in _main

/global/common/software/spackecp/perlmutter/e4s-22.05/78535/spack/lib/spack/spack/build_environment.py:1076, in _setup_pkg_and_run:
       1073        tb_string = traceback.format_exc()
       1074
       1075        # build up some context from the offending package so we can
  >>   1076        # show that, too.
       1077        package_context = get_package_context(tb)
       1078
       1079        logfile = None

See test log for details:
  /global/homes/s/siddiq90/.spack/test/zbq5hoibe3rbkmugpckknr2xurrpwsby/strumpack-6.3.1-5yz6t22-test-out.txt

======================== 1 failed, 0 passed of 1 specs =========================
==> Error: 1 test(s) in the suite failed.

Relevant log output

No response

Reproduce Bug

1. ml e4s/22.05
2. spack env activate -V gcc
3. spack load strumpack
4. spack test run strumpack
shahzebsiddiqui commented 1 year ago

@pghysels looping you in. Please remove this test or change the test to something else, perhaps a serial compilation that can just work without having a dependency on srun.

wspear commented 1 year ago

Support for spack test issues should be handled on the spack repository tracker. The relevant issue is here: https://github.com/spack/spack/issues/35264