|
[Sponsors] |
Parallel cluster solving with OpenFoam? P2P Cluster? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 4, 2010, 12:21 |
Parallel cluster solving with OpenFoam? P2P Cluster?
|
#1 |
New Member
Join Date: Aug 2009
Posts: 12
Rep Power: 17 |
Hi,
I'm new to OpenFoam and to this forum. I worked with ansys' fluent and gambit for some time and encountered openfoam when a pc-pool-neighbour told me about it in university. I had the oportunity to let run some of my models on a fluent cluster system, and now I'm curious to know if and how OpenFoam does this. Is there a cluster available directly in openfoam or does it need another software to do that? the background of my question is if it would be possible to do some kind of distributed cluster where the cluster nodes are connected via the internet. We started a distributed computing project called Constellation, that will be a platform for aerospace related simulations. We are using BOINC as a system, but the connected clients can't connect to each other. All workunits are distributed via a central server, but that would be really slow. I have an idea to connect some clients to one group via p2p or another protocol that they are able to "see" other clients, work together on one workunit without the need to do that via the central server. Of course there will be some issues to solve, but I have some solutions for that as well. The only thing I can't do is to code that. I'm not a programmer. It would be really really great to have such a system, so that we are able to broaden our platform to CFD and other simulations, that need splitted meshes. What do you think? Is that possible? Andreas Hornig -- http://aerospaceresearch.net/constellation/ |
|
December 4, 2010, 12:53 |
|
#2 | |
New Member
Tino
Join Date: Dec 2010
Posts: 3
Rep Power: 14 |
Quote:
|
||
December 4, 2010, 16:58 |
|
#3 |
New Member
Join Date: Aug 2009
Posts: 12
Rep Power: 17 |
And you are a joker, right?
I can code, but I would never ever call myself a programmer, because there are more capable coders out there. And I can rank myself very good . And I'm just asking was OpenFoam is able to do and if my idea is possible to achive. And your answer is not even close to be usefull to it . I still want to know what the rest of you think about it. Best regards, Andreas |
|
December 4, 2010, 17:43 |
|
#4 | |
New Member
Tino
Join Date: Dec 2010
Posts: 3
Rep Power: 14 |
Quote:
|
||
December 4, 2010, 18:51 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
@Tino:
Quote:
Hi Andreas and welcome to the OpenFOAM part of the cfd-online forum! Disclaimer: my experience with clusters is rather limited, but I at least I know the basics So, you want to build a network similar to Folding@home, but for Computational Fluid Dynamics. Theoretically it can be done, but it most likely would be a waste of energy in most CFD related scenarios. "Why?" you ask? Because like Tino implied, CFD problems usually require high speed data communications between each running parallel process, for both bandwidth and latency. The only two scenarios I can see OpenFOAM or any other usual CFD software working properly on slow networks would be:
And just for fun: what if we tried to use smartphones for workers?
But in the end, something like Amazon EC2 would probably still be the greenest+cheapest solution Best regards, Bruno
__________________
|
||
December 4, 2010, 19:23 |
|
#6 |
New Member
Join Date: Aug 2009
Posts: 12
Rep Power: 17 |
Hi Bruno and thanks for this kind invite ,
as you can see I did my previous postings about gambit/fluent and I have some experience with it even with clusters (only using them, not administrating them). That's why I ask how openfoam provides as a cluster system. I haven't used it before, but it will be one of the few software we could usebecause of its licence. And IF openfoam or a side project could provide it's own cluster software we don't have to do that . I'm well aware that internetconnection will be the bottleneck. That's why we want to do that with quality of Service and certain levels the "responsible" person can set. For ecample the person can decide to just use local pcs on a lan, then the overhead would be minimal and the task can be bigger because the mesh data is transfered faster. If he thinks it's a minor task with less needed bandwidth for transfering data he can setthe level to a mixture of local and internet-node or just internet nodes. Then the oberhead will be higher, because any internet-node can "disappear" and another node has to be available fast. So the spare node started the calulation before but wasn't used until the other node isn't there anymore. http://img215.imageshack.us/i/p2pinstantgridboinc.png/ And BOINC is generating a lot of "heat" right now, because ever workunit needs a specific quorum of results to be validated. So there is overhead that can't be avoided, because of validationing reasons. Perhaps we will raise this a little bit , but it would be woth it. Not everyone is able to buy it's own super cluster. Andreas |
|
December 4, 2010, 20:11 |
|
#7 | ||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Andreas,
Quote:
Mmmm... if I'm not mistaken, BOINC is something very similar to the Sun Grid Engine. If this is the case, then it should be possible, since it already has been done various times; for example as you can see this thread: http://www.cfd-online.com/Forums/ope...id-engine.html Quote:
Quote:
Quote:
Indeed! You might be also interested in seeing what other universities are up to in this sector; I suggest that you visit this Extend Project's page: OpenFOAM(R) Clusters - Overview Er, apparently you're already registered there as well and posed the same question Good luck! Best regards, Bruno
__________________
|
|||||
December 5, 2010, 11:36 |
|
#8 | ||||||
New Member
Join Date: Aug 2009
Posts: 12
Rep Power: 17 |
Hi,
Quote:
btw: you can also join me in your bullshit area as well. Quote:
but there is an option to do parallel computation with openfoam, even if it is tricky? My personal worst case would be if I could use openfoam but I need to use another sofware for the cluster and even buy it. I like solutions from one source, because it is made for each other and it helps to find sources for errors, if they occur. Quote:
Quote:
Quote:
Quote:
Andreas |
|||||||
December 5, 2010, 17:06 |
|
#9 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Andreas,
Quote:
If you build OpenFOAM with the default options, it will also build OpenMPI. With the full default OpenFOAM installation in all of the machines or shared among the machines (as long as the OS is compatible among them), it becomes as easy as it is explained here: Running a decomposed case AFAIK, what you don't get with OpenMPI is the Job Scheduler software that clusters usually have. I expect that BOINC will fill in the gap - note: I'm not familiar with the inner workings of BOINC, so I can only assume that it comes with a Job scheduler with it as well. Quote:
Quote:
Don't get me wrong, the fast connection will still be very useful for normal cases, because jobs will take less time to setup in the remote cluster/machine and less time to be delivered back to the user. But for using the Constellation grid to use it as a cluster of clusters for a single CFD simulation, there will be very limited simulations that can take advantage of that. And in those cases, at least in the short time, I think that the resources will be better invested for the normal cases to be sent to the Constellation system, thus releasing, for example, the University clusters/supercomputers, so that the really heavy hitters can take advantage of the spare resources in the University clusters/supercomputers. Best regards, Bruno
__________________
|
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Darcy-Forchheimer law for specifying Porous Zones | Ger_US | OpenFOAM Running, Solving & CFD | 37 | April 10, 2022 04:38 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
solving BFS with rhoTurbFoam in OpenFOAM 1.5 | kiran | OpenFOAM Running, Solving & CFD | 0 | June 11, 2010 01:36 |
Error log | vw.cfd | OpenFOAM | 6 | August 7, 2009 06:44 |
Parallel rasInterFoam | openfoam_user | OpenFOAM Running, Solving & CFD | 4 | November 1, 2008 05:14 |