-
Notifications
You must be signed in to change notification settings - Fork 15
Hot-fix for loadOrbitalsFromRestartFile
#245
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
Conversation
|
The fix is to actually not create orbital extrapolation_ since it is not used at all! Remove the code "if (flag_extrapolated_data){ ...}" |
At least with carbyne example, I see When |
Indeed, but if you delete the object you created right after, why create it in the first place? Creating it is necessary for extrapolation, but then should be deleted later. On top of that, I don't see how we would use extrapolation with ROM... |
This is following the loading procedure in
This routine is added to |
|
As it is in this PR, the code between if(){...} does the following: creates an object, set it up, then delete it. It is not affecting which dataset is read. |
|
As far as I understand, |
|
Well, it is correct. But we need to discuss what you want with it. In addition, if you really wanted to use them for extrapolation, you would need to keep that object orbital_extrapol_ and use it later, not destroy it. |
|
Removed the part that uses the extrapolation and enforced to not use the extrapolation. |
When ROM workflow is collecting restart files, orbital extrapolation is only created and not deleted after use, which causes a memory allocation problem. fixing this now.