Comments (3)
Hi @lwan86. You likely just need to remove the SCR_FINALIZE_CALLED condition from the halt file or just delete the halt file. You can do that by running the following command:
scr_halt --remove
This is behavior is confusing at first, but it's actually by design. We use the call to SCR_Finalize() as the way for the application to signal that it has completed. Without such a signal, the SCR library and its associated scripting would assume the job ended unexpectedly and continue to restart it forever. SCR_Finalize acts as a break to the infinite loop. It does this by recording the fact that SCR_Finalize was called in the halt file. If the library detects this condition in the halt file, it will not restart the application.
Although this is by design, it does lead to lots of confusion. I'll keep this ticket open as a reminder to revisit this to improve things.
from scr.
Thanks for your suggestion, @adammoody! I deleted the halt.scr file directly and it works now.
from scr.
Due to massive confusion over this "feature", we've disabled SCR_Init from bailing if SCR_FINALIZE_CALLED is set in the halt file. We'll assume the job was restarted intentionally in this case. The fix is available starting with commit bc040fe.
from scr.
Related Issues (20)
- nnf-dm - Add configuration option for DM server socket name
- nnf-dm - Create cmake install for NNFDM client api HOT 3
- flock failure in /autofs on ORNL Crusher
- Full static builds of components failing HOT 2
- Update minimum cmake version to 3.14.5
- Investigate fire-and-forget mode for async flush
- Restart with a different number of ranks
- SW4: fetch is failing to find files and/or add them to AXL for transfer
- Request to direct SCR log messages to stderr or a custom file descriptor
- SW4: error when deleting a directory from the parallel file system
- flux: test scalable restart correctness and performance HOT 1
- python: refresh scripts to be more pythonic HOT 1
- python: improve integration with user job batch scripts
- move commands from /bin to /libexec HOT 1
- scripts: improve job launcher interface
- scripts: query environment to determine auto resource manager and job launcher
- Using SCR bootstrap in an external build.
- SCR v3.1 Release Notes HOT 3
- SCR release testing for v3.1 HOT 7
- Create docs for python interface
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 scr.