|
[Sponsors] |
February 4, 2008, 20:49 |
I'm just learning how to run i
|
#1 |
Member
Andrew Burns
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
I'm just learning how to run in parallel. So far I haven't been able to run a solution over two machines, however I have run potentialfoam on two cores within one machine.
However during the solution I didn't get any of the text that I would usually get in the console telling me what's going on (current time step, iterations, residuals etc). The cores just loaded up for a few minutes and then dropped back to 0 when the solution was done, good for a start but I'd really like to be able to read what's going on while it happens. The command I used to execute the solution was: mpirun -hostfile <machines> <root> <case> -parallel > log & I assume it has something to do with the > log & part but I don't know what options for this there are. |
|
February 4, 2008, 20:59 |
> log & means that you are wri
|
#2 |
New Member
Martin Karlsson
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 13
Rep Power: 17 |
> log & means that you are writting the output to the file 'log'.
Type tail -f log to read this file during the simulation. Regards, Martin |
|
February 4, 2008, 21:02 |
Thanks for the very rapid repl
|
#3 |
Member
Andrew Burns
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
Thanks for the very rapid reply, I'll give this a shot!
|
|
February 4, 2008, 23:19 |
Andrew,
I had a lot of tro
|
#4 |
Senior Member
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17 |
Andrew,
I had a lot of trouble with getting openMPI running across our network myself. The symptoms would involve starting a parallel program and then the machine would just sit and hang there. There's a debug switch with mpirun that will give you a very verbose output to help you spot what's going on. For me, it turns out that openMPI is very peculiar about how the network should be set up. That is, if you have firewalls on either machine, it'll probably hang it up. An easy test would be to disable the firewalls and then try a parallel run to see if that's the problem. Otherwise, the openMPI website is probably the best place to get support. There are some "hello world" programs that let you test mpirun so you can isolate it from OpenFOAM as well. Good luck, Mike J. |
|
February 4, 2008, 23:53 |
Thanks for the tips, I'm affra
|
#5 |
Member
Andrew Burns
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
Thanks for the tips, I'm affraid it will be a fairly difficult/annoying thing to get a parallel run with the current systems that I have. The problem is that they're running on a network I have very little insight into or control over, between different versions of linux (one tcsh shell and one bash shell if this matters).
The current error I'm getting is: orte: command not found And a few others before openmpi drops. |
|
February 5, 2008, 00:07 |
Andrew,
I would recommend
|
#6 |
Senior Member
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17 |
Andrew,
I would recommend finding the "hello world" program in the OpenMPI website. I think you can also find it by googling openMPI and "hello world". you code it and compile it yourself so you can make sure things are installed correctly. It also allows you to isolate it from openFOAM, which I found helpful being new to both, myself. I recommend reading their tutorials as well, they're pretty informative. Good luck, Mike J. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel UDF | Karo | FLUENT | 2 | April 25, 2017 02:36 |
UDF parallel | Lucy | Fluent UDF and Scheme Programming | 3 | May 28, 2013 14:14 |
udf parallel | Phil | FLUENT | 4 | May 28, 2004 20:49 |
cfx parallel | Rao | CFX | 7 | April 17, 2004 00:53 |
Parallel run | Bogdan | Siemens | 2 | June 26, 2002 11:31 |