View Issue Details

IDProjectCategoryView StatusLast Update
0001656OpenFOAMBugpublic2015-06-15 18:39
Reporteruser1123Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformGNU/LinuxOSOpenSuSEOS Version13.1
Summary0001656: The command runTime.writeAndEnd() does not work fine in parallel.
DescriptionThe 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.
TagsNo tags attached.

Activities

henry

2015-04-17 20:11

manager   ~0004620

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?

user1123

2015-04-23 10:28

  ~0004645

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.

henry

2015-04-23 10:33

manager   ~0004646

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?

henry

2015-06-15 18:39

manager   ~0004936

Orphaned report

Issue History

Date Modified Username Field Change
2015-04-16 12:47 user1123 New Issue
2015-04-17 20:11 henry Note Added: 0004620
2015-04-23 10:28 user1123 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