-
Notifications
You must be signed in to change notification settings - Fork 167
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
Split clean-up into separate job #1906
Split clean-up into separate job #1906
Commits on Oct 19, 2023
-
Split clean-up into separate job
Moves the clean-up that was previously done in the archive jobs into their own separate job. It is mostly a copy of what existed in the archive scripts, except some adjustments to account for ensemble members in the same job as the deterministic and some others for shellcheck compliance/other standard code improvements. Some settings used by both jobs were elevated to `config.base`. Others only needed for cleanup were moved to the new config for that job. Resolves NOAA-EMC#583
Configuration menu - View commit details
-
Copy full SHA for 9ddb598 - Browse repository at this point
Copy the full SHA 9ddb598View commit details -
Configuration menu - View commit details
-
Copy full SHA for e228a07 - Browse repository at this point
Copy the full SHA e228a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for e00984b - Browse repository at this point
Copy the full SHA e00984bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 017efe9 - Browse repository at this point
Copy the full SHA 017efe9View commit details -
Rename control variable for cleaning up COM
Since clean-up is no longer part of the archive job, the name of the variable that controls whether COM is cleaned up is renamed. Since the clean-up job does very little if this is NO, in the future may want to just not run this job in that situation. Refs NOAA-EMC#583
Configuration menu - View commit details
-
Copy full SHA for f1e9523 - Browse repository at this point
Copy the full SHA f1e9523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58ccf10 - Browse repository at this point
Copy the full SHA 58ccf10View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1ca1ac - Browse repository at this point
Copy the full SHA e1ca1acView commit details -
The old cleanup script was more convoluted than it needed to be. The script has been streamlined quite a bit and now works properly. Instead of going through every COM template, `COM_TOP is used along with find to get everything at once (well, a few passes of find are needed to deal with regular files, symlinks, and then directories). Refs NOAA-EMC#583 Resolves NOAA-EMC#1872
Configuration menu - View commit details
-
Copy full SHA for 8df75c6 - Browse repository at this point
Copy the full SHA 8df75c6View commit details -
Fix error in rerunning a failed ensemble member
When trying to rerun a failed ensemble member, the script would fail due to `set -u` when grep returned non-zero for not being able to find `PASS` in the group status file. This is resolved by turning it off and then back on.
Configuration menu - View commit details
-
Copy full SHA for b038580 - Browse repository at this point
Copy the full SHA b038580View commit details -
The streamlining of the cleanup script resulted in enkf not being cleaned up. Script not runs for `$RUN` and `enkf${RUN}`. Since the existence of the directory is checked before trying to clean up, it doesn't matter if `enkf${RUN}` is not a valid `$RUN` for the experiment. Refs NOAA-EMC#583
Configuration menu - View commit details
-
Copy full SHA for 4539f49 - Browse repository at this point
Copy the full SHA 4539f49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 275ed9b - Browse repository at this point
Copy the full SHA 275ed9bView commit details -
Add wildcards to cleanup excludes
The `-name` option to find works differently than `grep`, so wild- cards need to be added to make sure files to exclude are matched properly.
Configuration menu - View commit details
-
Copy full SHA for 986b5a9 - Browse repository at this point
Copy the full SHA 986b5a9View commit details -
Split cleanup for enkf off into it's own rocoto job to make the script cleaner. This eliminates the need to loop over RUNs and avoids the unnecessary check of non-existent RUNs. Refs NOAA-EMC#583
Configuration menu - View commit details
-
Copy full SHA for 69d24d6 - Browse repository at this point
Copy the full SHA 69d24d6View commit details -
Use different exclude lists for cleanup
Changes the exclude list into a configurable variable as a comma- separated string. This allows for the use of different strings for ensemble and deterministic. Refs NOAA-EMC#583 Refs NOAA-EMC#1872
Configuration menu - View commit details
-
Copy full SHA for 88d9b11 - Browse repository at this point
Copy the full SHA 88d9b11View commit details