CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Trouble with header in owner file when running pimpleFoam in parallel on Slurm

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2021, 16:56
Default Trouble with header in owner file when running pimpleFoam in parallel on Slurm
  #1
New Member
 
Sander Holum
Join Date: Mar 2021
Posts: 3
Rep Power: 5
Sanderho is on a distinguished road
Hi,

I get this error code when running pimpleFoam in parallel on a Slurm cluster:

--> FOAM FATAL IO ERROR:
problem while reading header for object owner

file: /cluster/work/users/sanderho/5_periods_saga/processor93/49608/polyMesh/owner at line 0.
From function static Foam::autoPtr<Foam::ISstream> Foam::fileOperations::masterUncollatedFileOperatio n::read(Foam::IOobject&, Foam::label, bool, const fileNameList&, const boolList&)
in file global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C at line 725.

FOAM parallel run exiting

The owner files all give this error (see attached text file with only the header as the full file is too big). Does anyone what the error is and how to fix it?

Best regards

Sander Holum
Attached Files
File Type: txt Owner_header.txt (696 Bytes, 5 views)
Sanderho is offline   Reply With Quote

Old   March 31, 2021, 02:43
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
Quote:
Originally Posted by Sanderho View Post
Hi,

I get this error code when running pimpleFoam in parallel on a Slurm cluster:

--> FOAM FATAL IO ERROR:
problem while reading header for object owner

file: /cluster/work/users/sanderho/5_periods_saga/processor93/49608/polyMesh/owner at line 0.
From function static Foam::autoPtr<Foam::ISstream> Foam::fileOperations::masterUncollatedFileOperatio n::read(Foam::IOobject&, Foam::label, bool, const fileNameList&, const boolList&)
in file global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C at line 725.

FOAM parallel run exiting

The owner files all give this error (see attached text file with only the header as the full file is too big). Does anyone what the error is and how to fix it?

Best regards

Sander Holum
i checked the txt.-file.

1. there is no content? why? did you delete it?

2. the format is binary. i also had difficulties with binary files. did you import the mesh from another meshing software? if so, try to change it to ascii.
geth03 is offline   Reply With Quote

Old   March 31, 2021, 05:29
Default
  #3
New Member
 
Sander Holum
Join Date: Mar 2021
Posts: 3
Rep Power: 5
Sanderho is on a distinguished road
1. The txt.-file was a large binary file, so I only attached the header of the file as that was were the error message referenced.

2. The mesh is imported as a fluent input file which is converted to OpenFOAM by using fluentMeshToFoam

However I found out that this error was most likely caused by taking the intial condition from a simulation using mpirun, while on this cluster one has to use srun for parallel computing. The mpirun run was also using OpenFOAM 7 while only OpenFOAM 6 is available on the srun cluster. This has caused some other incompatibility issues. Still working on these compability issues, so might update this post later.

Thanks for the help!
Sanderho is offline   Reply With Quote

Old   March 31, 2021, 06:44
Default
  #4
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
i use fluent for meshing, and when i export the mesh as binary data openfoam does not work properly. so i changed the export format in the settings.
geth03 is offline   Reply With Quote

Old   March 31, 2021, 06:46
Default
  #5
New Member
 
Sander Holum
Join Date: Mar 2021
Posts: 3
Rep Power: 5
Sanderho is on a distinguished road
I also have the mesh from fluent exported as ascii. However the simulation runs fine on one proscessor, it is the parallel run which does not work
Sanderho is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 16:18
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23


All times are GMT -4. The time now is 01:32.