|
[Sponsors] |
December 9, 2012, 17:25 |
pyFoamPlotRunner on network
|
#1 |
New Member
anonymous
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
I have used succesfully pyFoam on a single node multi core hardware.
Recently I extended to a small cluster with 3 nodes (8 cores + 12 cores +12 cores with in total 32 cores) On this 3 node configuration I`m able to run succesfully a parallel job under mpi. Here is an example how I can succesfully start a parallel pimpleFoam run on all nodes: mpirun --hostfile hosts -np 32 pimpleFoam - parallel In order to plot on the fly residuals, I used to apply pyFoam. On one node this is working well. Example for the corresponding job (the first node has 8 cores listed in hosts): pyFoamPlotter.py --machinefile=hosts --proc=8 --progress pimpleFoam Unfortunately this is not working if I start it on all 3 nodes: pyFoamPlotter.py --machinefile=hosts --proc=32 --progress pimpleFoam The general log file in the ~/.pyfoam/log directory contains the following warning: WARNING Not deregistering, because it seems we were not registered in the first place - in FoamServer.py:511 What is going wrong? I thouht I have defined all required paths on all nodes ... Any idea? Thank`s a lot for your support. |
|
December 11, 2012, 13:39 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
@pyFoamPlotter.py: you mean pyFoamPlotRunner.py, right? Anyway: that happens after you start the run on the cluster (as I said: the log-entry is not the problem)? BTW: Usually if you specify a machinefile then PyFoam should calculate the -np automatically For calculations on a cluster I usually recommend to write output to a logfile (either with pyFoamRunner.py or a simple redirect) and then using pyFoamPlotWatcher.py on that output. That way the running of the solver is detached from the display
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 12, 2012, 16:28 |
|
#3 |
New Member
anonymous
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
@pyFoamPlotter.py: you mean pyFoamPlotRunner.py, right?
Off course, a typo. I mean pyFoamPlotRunner.py as stated in the title of the thread. I checked your proposal and this works fine on the fly when I start "pyFoamPlotWatcher.py logfile" on a second terminal accessing the corresponding logfile. Thank's a lot!!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reactor network pratical questions | Paulo SPS | FLUENT | 0 | October 10, 2017 04:55 |
How to install OpenFoam 2.3.0 without network | killsecond | OpenFOAM Installation | 4 | May 16, 2014 12:07 |
IcePak network objects in parallel solver | Alexey | FLUENT | 1 | December 25, 2013 09:32 |
48 Core Cluster - GigE Network | ronaldalau | Hardware | 2 | September 9, 2011 14:50 |
uptodate water distribution network | fredius,magige,tanzanian,(e.a) | Main CFD Forum | 0 | January 27, 2002 08:10 |