- #1
- 2,607
- 804
Last edited by a moderator:
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.
A Raspberry Pi Cluster is a group of Raspberry Pi computers that are connected together in order to work together as a single system. This allows for increased processing power and can be used for various tasks such as data analysis, web hosting, and more.
To setup a Raspberry Pi Cluster, you will need multiple Raspberry Pi computers, a network switch, an ethernet cable, and a power supply for each Pi. You will also need a way to connect to the Pi, such as a keyboard, mouse, and monitor, or through remote access.
The Raspberry Pi computers can be connected together using a network switch and ethernet cables. Each Pi will need to be connected to the switch using an ethernet cable, and the switch will need to be connected to a router or modem for internet access.
After connecting the Pis together, you will need to configure each Pi to work as part of the cluster. This can be done by setting up a master node and multiple slave nodes, and using a clustering software such as Docker or Kubernetes to manage the cluster.
The benefits of setting up a Raspberry Pi Cluster include increased processing power and the ability to handle more complex tasks, cost-effectiveness compared to traditional computing systems, and the ability to learn more about cluster computing and networking.