Giter VIP home page Giter VIP logo

Comments (4)

yqin avatar yqin commented on August 19, 2024

I think the issue is that hpl-gpu does not accept the command line option "-O" to adjust the backend dynamically. So you will have to build a separate version of hpl-gpu using the cpu backend, then run the cpu version on cpu nodes and the gpu version on gpu nodes.

from hpl-gpu.

davidrohr avatar davidrohr commented on August 19, 2024

MIght be, or you can hack the code to load different backends on different nodes. This running scenario was foreseen, but never fully tested.

from hpl-gpu.

alansill avatar alansill commented on August 19, 2024

Refreshing this issue to ask about current best practices for running on a heterogeneous (some pure CPU nodes + some nodes with GPUs) setup. Can you describe further the "hack the code to load different backends on different nodes" approach you mentioned in the comment of Jan. 6?

from hpl-gpu.

davidrohr avatar davidrohr commented on August 19, 2024

Not sure if it will start if the CUDA backend is compiled in and you try to run on a pure CPU node. Might depend on the availability of CUDA kernel module / drivers / runtime on the node. Would need to be tested.

What I meant is: You can compile twice, with INCLDUE_CUDA enabled and disabled in config_options.mak. Then, you distribute the one with enabled to the GPU nodes, and the one with disabled to the CPU nodes. Then you use mpi to start everything, but you have to start different binaries depending on the node type. Finally, there is a command line option to select the backend, don't remember which one. So obviously you must make sure that each node gets the correct command line option. The easiest hack is probably not to use a command line option at all but hack the code and include that option in the binary.

from hpl-gpu.

Related Issues (5)

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.