Skip to content
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

add two scripts for easier monitoring status of crab jobs #146

Open
wants to merge 3 commits into
base: UL_master
Choose a base branch
from

Conversation

LukaLambrecht
Copy link

@LukaLambrecht LukaLambrecht commented Jul 27, 2022

Adding two scripts in heavyNeutrino/multilep/test/scripts:

  • monitorCrabJobs.py
  • monitorCrabJobsAuto.py

These are essentially wrappers around the 'crab status' command.
In more detail:
monitorCrabJobs.py loops over all samples in a crab log directory, runs the crab status command on each of them, and puts the resulting status information in a html page (credits to Kirill) that can be watched on your iihe home web page for a nice overview of how your samples are doing. There is also an option for resubmitting failed jobs. There are detailed instructions on how to use this script in the comments at the top of this file.
monitorCrabJobsAuto.py is a small extension that runs monitorCrabJobs.py repeatedly in the background. Useful for staying up to date with the status or automatic repeated resubmission of failed jobs. There are detailed instructions on how to use this script in the comments at the top of this file.

The usual tests to check if anything in the output changed are currently running,
but nothing should have changed since the scripts do not interfere with the multilep.py workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant