GithubHelp home page GithubHelp logo

Comments (4)

zhanghb55 avatar zhanghb55 commented on August 31, 2024 1

Upon reading the code, I found that it's not enough to merely duplicate the configuration file. It's essential to validate the configuration file as well. To be precise, the multiplication of 'process-rows' and 'process-columns' should equal the overall process count.

from h5bench.

jeanbez avatar jeanbez commented on August 31, 2024

@zhanghb55, you should not invoke h5bench_hdf5_iotest directly, but rather through the main h5bench executable and configuration file. Regarding the error, the assertion is related to the invalid configuration (pconfig->proc_rows * pconfig->proc_cols == (unsigned)size). You are running with 4 processes (size) but with 100 rows and 200 columns.

from h5bench.

jeanbez avatar jeanbez commented on August 31, 2024

Let me know if that does not work and we can re-open this issue.

from h5bench.

zhanghb55 avatar zhanghb55 commented on August 31, 2024

Unfortunately, despite following your suggested approach, I'm still encountering the same issue as before. My current configuration, which is strictly copied from the repository with the exception of retaining only the metadata test, is as follows:

{
    "mpi": {
        "command": "mpirun",
        "ranks": "4",
        "configuration": "-np 8 --oversubscribe"
    },
    "vol": {
        "library": "/vol-async/src:/hdf5-async-vol-register-install/lib:/argobots/install/lib:/hdf5-install/install:",
        "path": "/vol-async/src",
        "connector": "async under_vol=0;under_info={}"
    },
    "file-system": {
        "lustre": {
            "stripe-size": "1M",
            "stripe-count": "4"
        }
    },
    "directory": "full-teste",
    "benchmarks": [
        {
            "benchmark": "metadata",
            "file": "hdf5_iotest.h5",
            "configuration": {
                "version": "0",
                "steps": "20",
                "arrays": "500",
                "rows": "100",
                "columns": "200",
                "process-rows": "2",
                "process-columns": "2",
                "scaling": "weak",
                "dataset-rank": "4",
                "slowest-dimension": "step",
                "layout": "contiguous",
                "mpi-io": "independent",
                "csv-file": "hdf5_iotest.csv"
            }
        }
    ]
}

The corresponding error is as follows:

$ cat full-teste/a992698e/stderr 
h5bench_hdf5_iotest: /home/zhb/benchmark/h5bench-1.4/metadata_stress/configuration.c:156: validate: Assertion `pconfig->proc_rows * pconfig->proc_cols == (unsigned)size' failed.
[gpu13:225176] *** Process received signal ***
[gpu13:225176] Signal: Aborted (6)
[gpu13:225176] Signal code:  (-6)
[gpu13:225176] [ 0] /lib64/libpthread.so.0(+0xf5d0)[0x2ac25f2245d0]
[gpu13:225176] [ 1] /lib64/libc.so.6(gsignal+0x37)[0x2ac25f467207]
[gpu13:225176] [ 2] /lib64/libc.so.6(abort+0x148)[0x2ac25f4688f8]
[gpu13:225176] [ 3] /lib64/libc.so.6(+0x2f026)[0x2ac25f460026]
[gpu13:225176] [ 4] /lib64/libc.so.6(+0x2f0d2)[0x2ac25f4600d2]
[gpu13:225176] [ 5] /home/zhb/benchmark/h5bench-1.4/install/bin//h5bench_hdf5_iotest[0x404f6a]
[gpu13:225176] [ 6] /home/zhb/benchmark/h5bench-1.4/install/bin//h5bench_hdf5_iotest[0x40244d]
[gpu13:225176] [ 7] /lib64/libc.so.6(__libc_start_main+0xf5)[0x2ac25f4533d5]
[gpu13:225176] [ 8] /home/zhb/benchmark/h5bench-1.4/install/bin//h5bench_hdf5_iotest[0x402259]
[gpu13:225176] *** End of error message ***
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 0 on node gpu13 exited on signal 6 (Aborted).
--------------------------------------------------------------------------

I also attempted using mpi -np 2, but the outcome remained identical.

It appears I may have misunderstood the documentation and your instructions, and I'm at a loss for how to proceed. Could you please provide further assistance?

from h5bench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.