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 crontab capability #110

Merged
merged 10 commits into from
Jun 10, 2024
Merged

Conversation

chan-hoo
Copy link
Collaborator

@chan-hoo chan-hoo commented Jun 7, 2024

Description

  • Add the crontab capability to the workflow.
  • To add the crontab line:
(conda deactivate)
cd parm
./launch_rocoto_wflow.sh add
  • To launch the next tasks without adding the crontab line:
./lauch_rocoto_wflow.sh
  • Once all cycles are complete:
Summary of workflow status:
=====================================================
  2 out of 2 cycles completed.
  Workflow status:  SUCCESS
=====================================================

        Getting crontab content with command:
        =========================================================
          crontab -l
        =========================================================

        Crontab contents:
        =========================================================
          */2 * * * * cd /scratch2/NAGAPE/epic/Chan-hoo.Jeon/landda_test/land-DA_workflow/parm && ./launch_rocoto_wflow.sh >> log.rocoto_launch
        =========================================================

        Crontab contents before delete:
        =========================================================
          */2 * * * * cd /scratch2/NAGAPE/epic/Chan-hoo.Jeon/landda_test/land-DA_workflow/parm && ./launch_rocoto_wflow.sh >> log.rocoto_launch
        =========================================================

        Crontab contents after delete:
        =========================================================

        =========================================================
The crontab line is removed:
  CRONTAB_LINE = "*/2 * * * * cd /scratch2/NAGAPE/epic/Chan-hoo.Jeon/landda_test/land-DA_workflow/parm && ./launch_rocoto_wflow.sh >> log.rocoto_launch"

Anticipated changes to regression tests:

  • Is baseline change expected ?

Subcomponents involved:

  • apply_incr.fd (NOAA-PSL/land-apply_jedi_incr)
  • ufsLand.fd (NOAA-EPIC/ufs-land-driver-emc-dev)
  • ufs_model.fd (ufs-community/ufs-weather-model)
  • vector2tile_converter.fd (NOAA-PSL/land-vector2tile)
  • none

Linked PR's and Issues:

Resolves Issue #99

Testing (for CM's):

  • RDHPCS
    • Hera
    • Orion
    • Jet
    • Gaea
    • Cheyenne
  • CI
    • Completed
  • PW-Clouds
    • AWS
    • AZURE
    • GCP

@chan-hoo chan-hoo linked an issue Jun 7, 2024 that may be closed by this pull request
@chan-hoo
Copy link
Collaborator Author

chan-hoo commented Jun 7, 2024

    Start 1: test_vector2tile
1/7 Test #1: test_vector2tile .................   Passed    9.64 sec
    Start 2: test_create_ens
2/7 Test #2: test_create_ens ..................   Passed   18.27 sec
    Start 3: test_letkfoi_snowda
3/7 Test #3: test_letkfoi_snowda ..............   Passed   76.87 sec
    Start 4: test_apply_jediincr
4/7 Test #4: test_apply_jediincr ..............   Passed    5.28 sec
    Start 5: test_tile2vector
5/7 Test #5: test_tile2vector .................   Passed   18.41 sec
    Start 6: test_land_driver
6/7 Test #6: test_land_driver .................   Passed   11.03 sec
    Start 7: test_ufs_datm_land
7/7 Test #7: test_ufs_datm_land ...............   Passed  533.61 sec

100% tests passed, 0 tests failed out of 7

Total Test time (real) = 673.95 sec

@chan-hoo chan-hoo requested a review from jkbk2004 June 7, 2024 21:32
@chan-hoo
Copy link
Collaborator Author

On Hera:

    Start 1: test_vector2tile
1/7 Test #1: test_vector2tile .................   Passed    3.03 sec
    Start 2: test_create_ens
2/7 Test #2: test_create_ens ..................   Passed    3.20 sec
    Start 3: test_letkfoi_snowda
3/7 Test #3: test_letkfoi_snowda ..............   Passed   18.78 sec
    Start 4: test_apply_jediincr
4/7 Test #4: test_apply_jediincr ..............   Passed    2.18 sec
    Start 5: test_tile2vector
5/7 Test #5: test_tile2vector .................   Passed    2.74 sec
    Start 6: test_land_driver
6/7 Test #6: test_land_driver .................   Passed    9.03 sec
    Start 7: test_ufs_datm_land
7/7 Test #7: test_ufs_datm_land ...............   Passed   50.06 sec

100% tests passed, 0 tests failed out of 7

Total Test time (real) =  89.08 sec

@chan-hoo chan-hoo merged commit ba8f0c9 into ufs-community:develop Jun 10, 2024
2 checks passed
@chan-hoo chan-hoo deleted the feature/crontab branch June 16, 2024 12:53
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.

Crontab capability is necessary for automatic job resubmission
2 participants