- 2,600
- 785
Last edited by a moderator:
The discussion revolves around setting up a Raspberry Pi cluster, exploring various aspects such as configuration, performance considerations, and potential applications. Participants share their experiences with multi-threading, computational fluid dynamics (CFD) calculations, and alternative computing methods like GPU usage.
Participants express a range of views on the effectiveness of multithreading and the use of GPUs, indicating that there is no consensus on the best approach for optimizing performance in Raspberry Pi clusters. The discussion includes both agreement on the challenges faced and differing opinions on potential solutions.
Participants highlight limitations related to existing software compatibility with GPUs and the complexity of transitioning to multi-node systems. The discussion also reflects varying levels of experience with Raspberry Pi setups and computational tasks.
This discussion may be useful for individuals interested in building Raspberry Pi clusters, exploring multi-threading and parallel computing, or those looking for alternatives to traditional single-node setups in computational tasks.
Converting a program that runs in a single process and parallelizing it to take advantage of multiple/many cores has turned out to be a fairly difficult problem. A natural split for many programs is to have user interface stuff in one thread, and calculations in one or more other threads. A problem that arises is trying to keep multiple threads occupied, rather than having some of them idle while others are chugging away. For your situation with CFD calculations that take on the order of months, it really makes sense to split the computations among a bunch of nodes.Dr Transport said:Very true, but in my case, I have machines with ~100 nodes I am using at work and most of the tools developed haven't been upgraded to handle machines of that type.
Sure, but you forget that the codes have to be specifically written or adapted for that. I use a code at work that doesn't have gpu support for some of it's functionality. My computers at home do not have any additional gpu's either, just the graphics capability on the mother board becasue I didn't specifically purchase one.pbuk said:Interesting article, and a Pi cluster is an interesting thing in its own right, but can't you run your CFD computations on a GPU?
Pi without sd card has enough intelligence to reach a tftp server and be directed to a boot directory from which it can load boot files. Ultimately it reaches a point where it can connect to network storage via NFS. Expect a fairly steep learning curve though - there are quite a few 'ingredients' needed to make it all happen!Dr Transport said:Interesting, never thought about net-booting, I might have to investigate that. The SD cards have the operating system o it, so I don't know how to get around that.
The cluster hat is also another interesting find. To be honest, all the sites out there show a system like mine with the hardware and associated fans. I'm not sure which would be better. From a heat standpoint, I can't see the cluster hat handling the heat dissipation as well as individual fans.