GithubHelp home page GithubHelp logo

Comments (5)

jeanbez avatar jeanbez commented on August 31, 2024

Hi! h5bench benchmark and kernels require parallel HDF5 support.

from h5bench.

candiceT233 avatar candiceT233 commented on August 31, 2024

Hi! h5bench benchmark and kernels require parallel HDF5 support.

@jeanbez Thank you. I am doing a research project and I want to run the H5Bench with the Hermes VFD.
Currently, Hermes only supports sequential HDF5.
I'd like to know if it's doable, with not too many code modification on the h5bench_read.c and h5bench_write.c files, I can compile H5Bench and run it with sequential the HDF5?

from h5bench.

jeanbez avatar jeanbez commented on August 31, 2024

It should be doable, but there will be quite some code changes I would say. You would have to drop all MPI-related functions and adapt the problem accordingly.

from h5bench.

sbyna avatar sbyna commented on August 31, 2024

Is there a specific pattern of h5bench you are trying to use?

Instead of trying to convert h5bench to a sequential version, it may be good to use some existing hdf5 sequential examples.
Some of them are available at https://github.com/HDFGroup/hdf5/tree/develop/examples
https://github.com/HDFGroup/hdf5/blob/develop/examples/h5_select.c may be something to define a hyperslab and read, which can be modified to mimic patterns for reading full dataset or a subset of a dataset.

from h5bench.

candiceT233 avatar candiceT233 commented on August 31, 2024

Thank you for the help.
I can successfully compile and run the h5bench_read.cc and h5bench_write.cc code with sequential HDF5.
What I did is comment out all the MPI-related commands, and set the below variables:

NUM_RANKS = 1
TOTAL_PARTICLES = NUM_PARTICLES

and change H5Pset_fapl_mpio(fapl, comm, info) to H5Pset_fapl_sec2(fapl).

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.