Skip to content

Not a Matrix Market file. Missing banner #29

@Thomas-Ulrich

Description

@Thomas-Ulrich

I m trying to install seissol@1.3.1 with the latest software stack of supermuc NG.

 spack install -j 40 seissol convergence_order=4 dr_quad_rule=dunavant equations=elastic precision=single %oneapi@2025.2.0  ^easi +python

Everything works well until:

==> Installing seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg [58/58]
==> No binary for seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg found: installing from source
==> Using cached archive: /dss/dsshome1/0A/di73yeq4/user_spack/cache/_source-cache/git//SeisSol/SeisSol.git/9d35b989749d031132c8820b45b003ecc00e985a.tar.gz
==> Warning: Using download cache instead of version control
  The required sources are normally checked out from a version control system, but have been archived in download cache: file:///dss/dsshome1/0A/di73yeq4/user_spack/cache/_source-cache/git//SeisSol/SeisSol.git/9d35b989749d031132c8820b45b003ecc00e985a.tar.gz. Spack lacks a tree hash to verify the integrity of this archive. Make sure your download cache is in a secure location.
==> No patches needed for seissol
==> seissol: Executing phase: 'cmake'
==> seissol: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 2:
    '/dss/lrzsys/sys/spack/release/sles15.3/24.5.0/opt/skylake_avx512/gmake/4.4.1-gcc-td6dody/bin/make' '-j40'

3 errors found in build log:
     165      File "/hppfs/scratch/0A/di73yeq4/tmp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-src/generated_code/yateto/codegen/gemm/gemmgen.py", line 231, in _callGenerator
     166        raise RuntimeError(f"""GEMM code generator executable "{self._cmd}" failed. Thus, the kernel generation may be incomplete.
     167    RuntimeError: GEMM code generator executable "/hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm.py" failed. Thus, the kernel gen
            eration may be incomplete.
     168    Given command: /hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm.py 16 9 9 32 0 16 1 0 --arch skx --prefetching pfsigonly --outp
            ut_funcname pspammsparse_33f3061583206b1313c415ced24e4498_m16_n9_k9_ldA32_ldB0_ldC16_alpha1_beta0_alignedA1_alignedC1_transAFalse_transBFalse_pfsigonly --output_filename /hppfs/scratch/0A/di73yeq4/t
            mp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-build-3citu4z/src/generated_code/equation-elastic-4-single/subroutine.cpp --precision S --mtx_filename /hppfs/scratch/
            0A/di73yeq4/tmp/tmpfwo8txk3
     169    Stdout: None
     170    Stderr: None
  >> 171    make[2]: *** [CMakeFiles/SeisSol-codegen.dir/build.make:99: src/generated_code/subroutine.h] Error 1
     172    make[2]: Leaving directory '/hppfs/scratch/0A/di73yeq4/tmp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-build-3citu4z'
  >> 173    make[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/SeisSol-codegen.dir/all] Error 2
     174    make[1]: Leaving directory '/hppfs/scratch/0A/di73yeq4/tmp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-build-3citu4z'
  >> 175    make: *** [Makefile:139: all] Error 2

See build log for details:
  /hppfs/scratch/0A/di73yeq4/tmp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-build-out.txt

The command that fails is the following:

di73yeq4@login04:~> /hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm.py 16 9 9 32 0 16 1 0 --arch skx --prefetching pfsigonly --output_funcname pspammsparse_33f3061583206b1313c415ced24e4498_m16_n9_k9_ldA32_ldB0_ldC16_alpha1_beta0_alignedA1_alignedC1_transAFalse_transBFalse_pfsigonly --output_filename /hppfs/scratch/0A/di73yeq4/tmp/build_stage/spack-stage-seissol-1.3.1-3citu4zpo2duvwcw3w4nlypuo63r5cfg/spack-build-3citu4z/src/generated_code/equation-elastic-4-single/subroutine.cpp --precision S --mtx_filename /hppfs/scratch/0A/di73yeq4/tmp/tmpfwo8txk3

Traceback (most recent call last):
  File "/hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm.py", line 5, in <module>
    pspamm.cli.main()
  File "/hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm/cli.py", line 68, in main
    alg = MatMul(**args.__dict__)
  File "/hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm/matmul.py", line 207, in __init__
    bpattern = Matrix.load(bmtx_filename)
  File "/hppfs/work/pn49ha/di73yeq4/user_spack24.5/linux-sles15-skylake_avx512/py-pspamm/develop-oneapi-2025.2.0-a73d4mw/pspamm/cursors/matrix.py", line 87, in load
    m = mmread(filename)
  File "/lrz/sys/spack/release/sles15.3/24.5.0/views/python/3.10.12-extended/lib/python3.10/site-packages/scipy/io/_fast_matrix_market/__init__.py", line 354, in mmread
    cursor, stream_to_close = _get_read_cursor(source)
  File "/lrz/sys/spack/release/sles15.3/24.5.0/views/python/3.10.12-extended/lib/python3.10/site-packages/scipy/io/_fast_matrix_market/__init__.py", line 197, in _get_read_cursor
    return _fmm_core.open_read_file(path, parallelism), ret_stream_to_close
ValueError: Line 1: Not a Matrix Market file. Missing banner.

Should I give a try to the branch 0.3.1?

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