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

Enable asynchronous jobs #54

Merged
merged 299 commits into from
Feb 7, 2024
Merged

Enable asynchronous jobs #54

merged 299 commits into from
Feb 7, 2024

Conversation

mjaehn
Copy link
Contributor

@mjaehn mjaehn commented Dec 12, 2023

TODOs:

  • Add a "case logfile", i.e., where the times are logged when a certain job started and finished
  • Print an information whenever a sbatch job is submitted (like it was there previously without --parsable)
  • move logfiles to finished directory
  • check resume
  • Delete wait script and its output file afterwards
  • Enable option to add workflow directly in config.yaml case file
  • make icon-art-oem-test async
  • make icon-art-global async
  • Disentangle prepare_data and add dependencies
  • Create prepare_cosmo and prepare_icon jobs from prepare_data
  • Fix logging times for all jobs
  • Add a -c / --chunk option to run_chain.py to target a specific chunk
  • Make all jobs being called via sbatch
  • Distinguish python and simulation jobs
  • Don't pass logfile and use cfg.logfile instead
  • Error handling in run_chain(): Get exitcodes from cfg.get_job_info()
  • Remove sequential part
  • Adapt Jenkins test scripts

@mjaehn mjaehn added the v3.1 label Dec 12, 2023
@mjaehn
Copy link
Contributor Author

mjaehn commented Dec 15, 2023

launch jenkins

@mjaehn
Copy link
Contributor Author

mjaehn commented Jan 31, 2024

launch jenkins

@mjaehn mjaehn marked this pull request as ready for review January 31, 2024 15:56
@mjaehn mjaehn requested a review from leclairm January 31, 2024 15:56
@mjaehn
Copy link
Contributor Author

mjaehn commented Jan 31, 2024

launch jenkins

Copy link
Contributor

@leclairm leclairm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not check all the jobs, I leave it up to you there.

config.py Outdated Show resolved Hide resolved
config.py Show resolved Hide resolved
jobs/__init__.py Outdated Show resolved Hide resolved
jobs/icon.py Outdated Show resolved Hide resolved
jobs/tools/__init__.py Outdated Show resolved Hide resolved
run_chain.py Outdated Show resolved Hide resolved
@mjaehn mjaehn mentioned this pull request Feb 6, 2024
The create_sbatch_script method is used nowhere else => No need to
seperate generation of job script from its submission
@leclairm
Copy link
Contributor

leclairm commented Feb 6, 2024

Ok, I stop pushing not important stuff now ...

@mjaehn
Copy link
Contributor Author

mjaehn commented Feb 6, 2024

launch jenkins

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