Comments (9)
@mathrack Can you verify the changes you recommended ? It will be a great help.
if (adios2_restart_initialised) then
! First, rename old checkpoint in case of error
!call rename(resfile, resfile_old) !L255
end if
end if
! Validate restart file then remove old file and update restart.info
if (.true.) then !L318
!call delete_filedir(resfile_old) !L319
! Write info file for restart - Kay Schäfer
from incompact3d.
Hello,
This is probably related to some subroutines associated with the "validation" of restart files. Try to avoid the subroutines rename
and delete_filedir
, they are moving or deleting stuff and this might cause your issue.
I would suggest to modify the file tools.f90
as follows :
- Comment the call to
rename
here https://github.com/xcompact3d/Incompact3d/blob/master/src/tools.f90#L255 - Replace the if condition returned by
validate_restart
with.true.
https://github.com/xcompact3d/Incompact3d/blob/master/src/tools.f90#L318 - Comment the call to
delete_filedir
here https://github.com/xcompact3d/Incompact3d/blob/master/src/tools.f90#L319
Cheers,
Mathrack
from incompact3d.
@pbartholomew08 if it is important to keep this validation step, we could make it optional
from incompact3d.
Okay I will check whether the issue is being resolved by the method. Thanks for the help !
from incompact3d.
@mathrack Thanks, I think the solution is working. My simulation is running for past 9 hrs without terminating. I will let you know the final results.
from incompact3d.
Thank you for the update
from incompact3d.
@mathrack The 48hrs of simulation has completed without terminating. Thanks for the tip ! Great help. I think we can close the issue.
from incompact3d.
Thank you for the feedback. I will re-open. I think the issue should remain open until we have made the verification of restart files optional.
Switching from bug to enhancement because this was not reported by other users.
from incompact3d.
Sure, thanks !
from incompact3d.
Related Issues (20)
- Implementation of the periodic 2d hill case as a ready-to-run simulation
- Error while compiling Xcompact3D in HPC HOT 9
- The simulation terminates automatically without any divergence. HOT 13
- A small typo in the code HOT 1
- Issues with dynamic Smagorinsky model HOT 1
- Unable to read epsilon function from a dat.file
- Error while creating custom geometry in BC-Cylinder.f90 HOT 5
- Typo in init_xcompact3d subroutine HOT 1
- how can we apply velocity in a angular way i.e in a inclined direction in inflow? HOT 2
- BC-Pipe-flow.f90 not included in src/CMakeLists.txt HOT 3
- Include the CMake build in the CI
- Incorrect boundary conditions for immersed solids in z direction HOT 2
- compile error with ADIOS2 support on HOT 3
- Requirement for a proper documentation of the software.
- build problem HOT 1
- runtime error with Intel ifx compiler HOT 4
- Using Periodic B.C. with Alternating Forcing Direction IBM gives error HOT 3
- Fortran format not wide enough to display output HOT 1
- Potential issue with CMake 3.22.5 / GNU 12.3.0 / OpenMPI 5.0.3 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incompact3d.