|
[Sponsors] |
June 16, 2011, 07:24 |
First Parallel Run - need some help
|
#1 | |
New Member
Gian Maria Di Stefano
Join Date: Jan 2011
Location: University of Applied Science Manno (CH)
Posts: 10
Rep Power: 15 |
Hello foamers!
I'm a aerodynamic student, and I'm workin on my master thesis project (an heat transfer system). Some days ago I asked your help, and I have solved my problem, thank you Now, my solver run correctly, and I want to perform a non-stationary simulation on a cluster, far away from my office. I can come in the cluster by SSH protocol, so I have load my test case in cluster pc, and I want to perform a parallel run.. I have prepared the file named "decomposeParDict", and put it into my test-case. But now, if I wanto to say to pc what are the processors, how can I proceed? I have read in OpenFOAM guide that lines, but I don't understand: Quote:
How can I find the exact name of "machine" ? Is it a i.p. number? Or something else? Thanks in advance!!! Last edited by Gian Maria; June 16, 2011 at 08:19. |
||
June 17, 2011, 06:12 |
|
#2 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 70
Rep Power: 17 |
Dear Gian Maria,
I think that nobody else than the system administrator of the cluster you wish to use can answer your question. If you are using some large HPC facility, usually instructions are provided to the users. machine refers to the name od the computing nodes that you ask for your job. Usually a proper queueing mechanism is applied to automatically select the available nodes. This is really very dependent on the single cluster installation. Regards, Franco |
|
June 17, 2011, 06:58 |
|
#3 | |||
New Member
Gian Maria Di Stefano
Join Date: Jan 2011
Location: University of Applied Science Manno (CH)
Posts: 10
Rep Power: 15 |
Thank you, Franco, I understood.
So, con you help me a little more? This afternoon I will try to launch my simulation. When I access to my terminal, I can see that: Quote:
When I came in the host computer, I can read Quote:
so hostComputer is the the "machine" that I'm searching for? I know that supercomputer has 16 node, node000, node 001 to node 015. So I must create a file with this content Quote:
Is it correct? Last question: the file above must be called machines.txt or hostComputer.txt ? Thank for all, to everyone would help me |
||||
June 17, 2011, 13:08 |
|
#4 |
Member
Franco Marra
Join Date: Mar 2009
Location: Napoli - Italy
Posts: 70
Rep Power: 17 |
Dear Gian Maria,
no, hostComputer is, much more probably, the hostname of the frontend of the remote cluster. You can use the name you prefer, say machines.txt , for the file where you write the names of the nodes you want to use (node000 etc. each one in a row) . Then you will launch your simulation with the command: Code:
$ mpirun --hostfile machines.txt -np ncores foamExec -parallel Regards, Franco |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel Run on dynamically mounted partition | braennstroem | OpenFOAM Running, Solving & CFD | 14 | October 5, 2010 15:43 |
Unable to run OF in parallel on a multiple-node cluster | quartzian | OpenFOAM | 3 | November 24, 2009 14:37 |
serial run fine, but parallel run diverged | phsieh2005 | OpenFOAM Running, Solving & CFD | 2 | October 6, 2009 09:33 |
Parallel run diverges, serial does not | SammyB | OpenFOAM Running, Solving & CFD | 1 | May 10, 2009 04:28 |
Run in parallel a 2mesh case | cosimobianchini | OpenFOAM Running, Solving & CFD | 2 | January 11, 2007 07:33 |