Comments (4)
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.
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hpl-gpu.