View Issue Details

IDProjectCategoryView StatusLast Update
0002667OpenFOAM[All Projects] Bugpublic2017-08-17 14:55
ReporterykananiAssigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSSUSE LinuxOS Version(please specify)
Product Version5.0 
Fixed in Version5.x 
Summary0002667: purgeWrite does not work in the collated file format
DescriptionWhen the collated file format is used in the parallel simulations, the purgeWrite option does not work properly since it is trying to remove folder pathToCase/processor0/Timefolder

instead of
pathToCase/processors/Timefolder

The warning is:
--> FOAM Warning :
    From function bool Foam::rmDir(const Foam::fileName&)
    in file POSIX.C at line 1027

stating that it cannot open directory [pathTocase]/processor0/0.3
Steps To Reproduce-setting collated file format in controlDict of the cavity case:

 OptimisationSwitches
 {
     fileHandler collated;
     maxThreadFileBufferSize 0;
 }

-setting purgeWrite to 2
-run in parallel
TagsCollated, Parallel I/O

Activities

henry

2017-08-17 14:55

manager   ~0008599

Resolved in OpenFOAM-5.x by commit 3fe7aa77e620c2d2ff973d280a433a042ea43345

Resolved in OpenFOAM-dev by commit 5bea9ad62fddaa28107f7dd6d96bdac9e57deaa5

Issue History

Date Modified Username Field Change
2017-08-16 20:30 ykanani New Issue
2017-08-16 20:30 ykanani Tag Attached: Collated
2017-08-16 20:30 ykanani Tag Attached: Parallel I/O
2017-08-17 14:55 henry Assigned To => henry
2017-08-17 14:55 henry Status new => resolved
2017-08-17 14:55 henry Resolution open => fixed
2017-08-17 14:55 henry Fixed in Version => 5.x
2017-08-17 14:55 henry Note Added: 0008599