-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flow fails loading and recursively removes EGRID file #5518
Comments
If you're running a fairly recent version of the simulator, this may be unforeseen fallout from some work we did earlier this year. If your casename is What does your
or is it more like
? |
Well, it means that we can't read that file. Are you sure that the file is there. Please take into account that one Linux file names are case sensitive. Maybe the case is different. Also the path specified needs to be relative to the directory where the *.DATA file resides. Can you go to the directory where the *.DATA file is and execute |
Yes, the GDFILE is: GDFILE Yes, the file is there before executing 'flow', and after executing it is deleted in the current directory and directories below. It is not deleted in the directory above. The pruning should just be in the cwd where the results are. I am converting an Eclipse case to OPM and I have the original model stored in a folder called 'Eclipse' in cwd. The EGRID file in this directory is deleted along with the EGRID file in cwd, which is not good. I could try './IVAR_AASEN_2021_REF.EGRID' and see if that helps but it reads the other files fine which are defined in the same way. If it does not work I will make GRDECL files with ZCORN and COORD and let OPM build the grid. |
Just figured out that it treats the EGRID file in cwd as a result file and deletes it before it tries to read it, does that make sense? Solution could then be to have an include directory, above the cwd. |
Okay, understood. Thanks a lot for the information. Just one more thing if you don't mind. Is your
in the same directory as the existing grid file?
If your
You mean something like
? If so, that would definitely do the trick. Another option, if it's possible in your workflow, would be to have the
That would probably not help, because the simulator will prune any (potential) output file, in the same directory as the |
Yes, now it worked with this setup: GDFILE Yes, good idea also with different name. Thanks for your support! |
Yeah... We can solve this particular instance, and I believe it's the most common one as well, by not deleting
I'm more hesitant about the general problem. Our "delete result files on startup" routine uses a regular expression match to identify potential result files and any files matching those will be pruned very early in the simulation process. This behaviour was introduced in PR #5168. I suppose we could defer pruning the result files until after we've loaded the input deck and know all |
Maybe we could add a stamp On the other hand we can recheck which files caused problems. I doubt that it was the EGRID file that caused problems. Must have been something that we read also from during output. |
That would be easy to do for the
Would you care to elaborate a little on this, please? The setup in this case is
in its |
I was not talking about this case. I was talking about why we started removing files. That was because we got:
If we know for what files this can happen for, then we could only delete those. But I guess you were suggesting to not use known output files for input because they will be overwritten. That might cause problems anyway, right? Should we detect this and abort? |
Hello. I joined this conversation because of an error I got when simulating a case. The terminal returned the following message:
What can be the reason for getting this message? There are no output files being used for input. Thanks in advance. |
The most common cause of that diagnostic is running a sequential Flow binary in parallel. Are you running simulations in parallel using |
Quick follow-up: Another potential issue is the simulator expecting an unformatted input file, e.g., in |
When attempting to load EGRID file with the GDFILE keyword, Flow fails with the following error message and recursively deletes the EGRID file:
Error:
An error occurred while creating the reservoir properties
Internal error: Can not open EclFile: IVAR_AASEN_2021_REF.EGRID
Error: Unrecoverable errors while loading input: Can not open EclFile: IVAR_AASEN_2021_REF.EGRID
The text was updated successfully, but these errors were encountered: