First Parallel Run - need some help
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 :D 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!!! |
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 |
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 :D:D:D:D |
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 |
All times are GMT -4. The time now is 12:05. |