Fatal IO Error about "Sout"
When I run my case, I got the error informations as follows:
--> FOAM FATAL IO ERROR
error in IOstream "Sout" for operation Ostream& operator<<(Ostream&, const word&)
file: Sout at line 21747
From function IOstream::check(const char*) const
in file db/IOstreams/IOstreams/IOstream.C at line 94.
What's the matter with it? Please help me out. Thanks.
I can not even recompile my solver in the "Debug" option too. Tears :(, what I can do for the code. Please help.
I got the same problem. Does anyone know what 's problem?
I got the same problem as well, any one has any suggestions?
I truly appreciate it.
--> FOAM FATAL IO ERROR: error in IOstream "Sout" for operation Ostream& operator<<(
Did any one of you get th solution for this problem as I am also facing the same issue.
I am using OF 1.7.1.
In the start simulation runs properly and then it stops giving the error.:confused:
Suggestions & Comments are wellcomed.
i got the same issue. think it was due to me writing out far too much to the log file. Got the error when my log file was about 40GB in size :P Reduced the amount of data written to log file and re-ran run from latest time. works fine now.
Therefore i think it may be that you're simply running out of disk space.
How to reduce log.file size ?
Hi Josefine and All,
How do you reduce the amount of data written to the log.file ? Is there an option I could include as "> log.solver XX XX " to write several files at a given size of the current log.file ?
Thank you very much,
write to multiple log files
I remember finding a script some time ago on the forums which partially addressed this issue. I modified the perl script somewhat to write to multiple files.
Copy the attached text file "betaLogger" into your case folder (i.e. into the folder containing your 0,constant, and system folders)
Open terminal at that location and run chmod +x betaLogger (to make the file executable)
Whereas you used to run your case with solver > log you will now run your case with:
solver | ./betaLogger 1000 > log
where 1000 signifies the maximum number of lines you wish to allow per file.
myCompressibleTwoPhaseEulerFoam | ./betaLogger 1000 log
Let me know if this works
All the best
Hi Josefine !
thank you very much ! In the moment I don't need this because I restarted the simmulation with a new mesh and the problem didn't appear this time. But thank you anyway I'll keep the script for the time that I really need it ;)
|All times are GMT -4. The time now is 08:43.|