View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001656 | OpenFOAM | Bug | public | 2015-04-16 12:47 | 2015-06-15 18:39 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 13.1 |
Summary | 0001656: The command runTime.writeAndEnd() does not work fine in parallel. | ||||
Description | The function writeAndEnd() from the class Time works fine in serial mode but in parallel it just outputs the results for one processor and can not finalize and terminate the job. | ||||
Tags | No tags attached. | ||||
|
I am unable to reproduce this problem, writeAndEnd() runs fine for me. I simply added it to icoFoam and ran the cavity case in parallel and the first time-step was written out as expected. Could you provide details of how to reproduce the problem? |
|
Actually I wrote some lines of code to calculate the changes of a quantity between two periods of a periodic problem and put a condition that if this relative changes be smaller than a prescribed value, terminate the run and output the last time step's results with the function writeAndEnd(). It works fine and outputs all the results till the end when reach the minimum relative change and the function tries to write the results for the last time step. As I said before at this point it outputs the results just for one processor and is unable to continue writing for others and can not terminate the run so always wastes the resources of the cluster! I Should mention that I am working on the twoLiquidMixingFoam solver. |
|
I am still unable to reproduce the problem. The writeAndEnd() appears to be correct and operates as expected for the cases I have tried is serial and parallel. Can you provide a small application and case which reproduces the problem? |
|
Orphaned report |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-04-16 12:47 |
|
New Issue | |
2015-04-17 20:11 | henry | Note Added: 0004620 | |
2015-04-23 10:28 |
|
Note Added: 0004645 | |
2015-04-23 10:33 | henry | Note Added: 0004646 | |
2015-06-15 18:39 | henry | Note Added: 0004936 | |
2015-06-15 18:39 | henry | Status | new => closed |
2015-06-15 18:39 | henry | Assigned To | => henry |
2015-06-15 18:39 | henry | Resolution | open => fixed |