-
Notifications
You must be signed in to change notification settings - Fork 176
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
Series of small WCOSS2 updates - round 5 #546
Merged
KateFriedman-NOAA
merged 10 commits into
NOAA-EMC:feature/ops-wcoss2
from
KateFriedman-NOAA:feature/ops-wcoss2
Jan 5, 2022
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
88fe04c
Update WAFS tag to gfs_wafs.v6.2.3 in checkout
KateFriedman-NOAA 4423351
workflow_utils update
KateFriedman-NOAA 96ac9ee
Update config.fv3.nco.static for C384/C768 on WCOSS2
KateFriedman-NOAA e58d36a
Update config.resources.nco.static for WCOSS2
KateFriedman-NOAA 4d20ad5
Update WCOSS2 FIX_DIR path
KateFriedman-NOAA 6239494
Remove errant characters in workflow_utils.py
KateFriedman-NOAA 3fce329
Remove other errant text in workflow_utils.py
KateFriedman-NOAA 153a262
Update WAFS tag to gfs_wafs.v6.2.4
KateFriedman-NOAA 521bad7
Cleanup workflow_utils.py tasks/threads section
KateFriedman-NOAA 2d94963
Update runme line in workflow_utils.py
KateFriedman-NOAA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,23 +73,23 @@ elif [ $step = "wavepostsbs" ]; then | |
elif [ $step = "wavepostbndpnt" ]; then | ||
|
||
export wtime_wavepostbndpnt="01:00:00" | ||
export npe_wavepostbndpnt=280 | ||
export npe_wavepostbndpnt=448 | ||
export nth_wavepostbndpnt=1 | ||
export npe_node_wavepostbndpnt=$(echo "$npe_node_max / $nth_wavepostbndpnt" | bc) | ||
export NTASKS=${npe_wavepostbndpnt} | ||
|
||
elif [ $step = "wavepostbndpntbll" ]; then | ||
|
||
export wtime_wavepostbndpntbll="01:00:00" | ||
export npe_wavepostbndpntbll=280 | ||
export npe_wavepostbndpntbll=448 | ||
export nth_wavepostbndpntbll=1 | ||
export npe_node_wavepostbndpntbll=$(echo "$npe_node_max / $nth_wavepostbndpntbll" | bc) | ||
export NTASKS=${npe_wavepostbndpntbll} | ||
|
||
elif [ $step = "wavepostpnt" ]; then | ||
|
||
export wtime_wavepostpnt="01:30:00" | ||
export npe_wavepostpnt=280 | ||
export npe_wavepostpnt=448 | ||
export nth_wavepostpnt=1 | ||
export npe_node_wavepostpnt=$(echo "$npe_node_max / $nth_wavepostpnt" | bc) | ||
export NTASKS=${npe_wavepostpnt} | ||
|
@@ -122,8 +122,9 @@ elif [ $step = "anal" ]; then | |
|
||
export wtime_anal="00:45:00" | ||
export npe_anal=1000 | ||
export nth_anal=4 | ||
export nth_anal=12 | ||
export npe_anal_gfs=1000 | ||
export nth_anal_gfs=12 | ||
if [ $CASE = "C384" ]; then | ||
export npe_anal=160 | ||
export nth_anal=10 | ||
|
@@ -133,6 +134,7 @@ elif [ $step = "anal" ]; then | |
export npe_node_anal=$(echo "$npe_node_max / $nth_anal" | bc) | ||
export nth_cycle=$npe_node_max | ||
export npe_node_cycle=$(echo "$npe_node_max / $nth_cycle" | bc) | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_anal="500GB"; fi | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_anal="3072M"; fi | ||
|
||
elif [ $step = "analcalc" ]; then | ||
|
@@ -152,17 +154,17 @@ elif [ $step = "analdiag" ]; then | |
export nth_analdiag=1 | ||
export npe_node_analdiag=$npe_node_max | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_analdiag="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_analdiag="500GB"; fi | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same question as above. |
||
|
||
elif [ $step = "gldas" ]; then | ||
|
||
export wtime_gldas="00:10:00" | ||
export npe_gldas=96 | ||
export nth_gldas=1 | ||
export npe_node_gldas=$npe_node_max | ||
export npe_gldas=112 | ||
export nth_gldas=4 | ||
export npe_node_gldas=$(echo "$npe_node_max / $nth_gldas" | bc) | ||
export npe_gaussian=96 | ||
export nth_gaussian=1 | ||
export npe_node_gaussian=24 | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export npe_gldas=112 ; fi | ||
export npe_node_gaussian=$(echo "$npe_node_max / $nth_gaussian" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_gldas="3072M"; fi | ||
|
||
elif [ $step = "fcst" ]; then | ||
|
@@ -172,7 +174,10 @@ elif [ $step = "fcst" ]; then | |
export npe_fcst=$(echo "$layout_x * $layout_y * 6" | bc) | ||
export npe_fcst_gfs=$(echo "$layout_x_gfs * $layout_y_gfs * 6" | bc) | ||
export nth_fcst=${nth_fv3:-2} | ||
export nth_fcst_gfs=${nth_fv3_gfs:-2} | ||
export npe_node_fcst=$(echo "$npe_node_max / $nth_fcst" | bc) | ||
export npe_node_fcst_gfs=$(echo "$npe_node_max / $nth_fcst_gfs" | bc) | ||
if [[ "$machine" == "WCOSS2" ]]; then export npe_node_fcst_gfs=24 ; fi | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_fcst="1024M"; fi | ||
|
||
elif [ $step = "post" ]; then | ||
|
@@ -185,6 +190,7 @@ elif [ $step = "post" ]; then | |
export npe_node_dwn=$npe_node_max | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export npe_node_post=28 ; fi | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_post="3072M"; fi | ||
if [[ "$machine" == "WCOSS2" ]]; then export memory_post="100GB"; fi | ||
|
||
elif [ $step = "wafs" ]; then | ||
|
||
|
@@ -263,8 +269,9 @@ elif [ $step = "echgres" ]; then | |
|
||
export wtime_echgres="00:10:00" | ||
export npe_echgres=3 | ||
export nth_echgres=$npe_node_max | ||
export nth_echgres=28 | ||
export npe_node_echgres=1 | ||
export memory_echgres="150GB" | ||
|
||
elif [ $step = "arch" -o $step = "earc" -o $step = "getic" ]; then | ||
|
||
|
@@ -288,10 +295,11 @@ elif [ $step = "eobs" -o $step = "eomg" ]; then | |
elif [ $CASE = "C96" -o $CASE = "C48" ]; then | ||
export npe_eobs=14 | ||
fi | ||
export nth_eobs=2 | ||
export nth_eobs=8 | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export nth_eobs=7; fi | ||
export npe_node_eobs=$(echo "$npe_node_max / $nth_eobs" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_eobs="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_eobs="500GB"; fi | ||
|
||
elif [ $step = "ediag" ]; then | ||
|
||
|
@@ -300,14 +308,16 @@ elif [ $step = "ediag" ]; then | |
export nth_ediag=1 | ||
export npe_node_ediag=$npe_node_max | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_ediag="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_ediag="500GB"; fi | ||
|
||
elif [ $step = "eupd" ]; then | ||
|
||
export wtime_eupd="00:30:00" | ||
if [ $CASE = "C768" ]; then | ||
export npe_eupd=960 | ||
export nth_eupd=6 | ||
export npe_eupd=500 | ||
export nth_eupd=12 | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then | ||
export npe_eupd=960 | ||
export nth_eupd=7 | ||
fi | ||
elif [ $CASE = "C384" ]; then | ||
|
@@ -325,21 +335,21 @@ elif [ $step = "eupd" ]; then | |
export nth_eupd=2 | ||
fi | ||
export npe_node_eupd=$(echo "$npe_node_max / $nth_eupd" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then | ||
export memory_eupd="3072M" | ||
fi | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_eupd="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_eupd="500GB"; fi | ||
|
||
elif [ $step = "ecen" ]; then | ||
|
||
export wtime_ecen="00:10:00" | ||
export npe_ecen=80 | ||
export nth_ecen=6 | ||
export nth_ecen=4 | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export nth_ecen=7; fi | ||
if [ $CASE = "C384" -o $CASE = "C192" -o $CASE = "C96" -o $CASE = "C48" ]; then export nth_ecen=2; fi | ||
export npe_node_ecen=$(echo "$npe_node_max / $nth_ecen" | bc) | ||
export nth_cycle=$nth_ecen | ||
export npe_node_cycle=$(echo "$npe_node_max / $nth_cycle" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_ecen="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_ecen="500GB"; fi | ||
|
||
elif [ $step = "esfc" ]; then | ||
|
||
|
@@ -350,6 +360,7 @@ elif [ $step = "esfc" ]; then | |
export nth_cycle=$nth_esfc | ||
export npe_node_cycle=$(echo "$npe_node_max / $nth_cycle" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_esfc="3072M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_esfc="500GB"; fi | ||
|
||
elif [ $step = "efcs" ]; then | ||
|
||
|
@@ -363,10 +374,11 @@ elif [ $step = "epos" ]; then | |
|
||
export wtime_epos="00:15:00" | ||
export npe_epos=80 | ||
export nth_epos=6 | ||
export nth_epos=4 | ||
if [[ "$machine" = "WCOSS_DELL_P3" ]]; then export nth_epos=7; fi | ||
export npe_node_epos=$(echo "$npe_node_max / $nth_epos" | bc) | ||
if [[ "$machine" == "WCOSS_C" ]]; then export memory_epos="254M"; fi | ||
if [[ "$machine" = "WCOSS2" ]]; then export memory_epos="500GB"; fi | ||
|
||
elif [ $step = "postsnd" ]; then | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed?
The total memory on the WCOSS2 node is 512GB. If this resource request is not passed, does it explicitly request the full memory or does it do some calculation based on the number of cores requested?
@GeorgeVandenberghe-NOAA might know the answer.