Structure and components of COMIN directory in NCO mode are modified#440
Conversation
MichaelLueken
left a comment
There was a problem hiding this comment.
@chan-hoo These changes look good to me! Approving.
RatkoVasic-NOAA
left a comment
There was a problem hiding this comment.
Looks good to me.
|
@chan-hoo Thanks, I will run a test case on Hera to verify the directory structure and maybe @MatthewPyle-NOAA too? |
danielabdi-noaa
left a comment
There was a problem hiding this comment.
@chan-hoo I've run one test case on Hera and made sure that the outputs for each cycle are under own subdirectory in COMOUT, so I will approve.
|
The Jenkins CI tests have successfully completed. Merging this work now. |
| if [ "${RUN_ENVIR}" = "nco" ]; then | ||
| rm_vrfy -rf ${extrn_mdl_staging_dir} | ||
| fi | ||
| # |
There was a problem hiding this comment.
@chan-hoo I am having trouble getting community_ensemble_008mems running properly in NCO mode. Here are issues I am observing
- The above piece of code need to go to the bottom
make_ics.shat the very least just like inmake_lbcs.shbecause ifmake_icsfail (which is what is happening), a re-run will not fix it - Removing the
extrn_mdl_staging_diris currently prone to race condition from different ensemble members, so if mem1 deletes it and mem2 hasn't even started runningmake_ics, it will fail - Can you make it work without
for_ics/lbcsappended to the staging directory and also keep the input files in COMIN just in case a re-run is needed?
| done | ||
|
|
||
| # create an intermediate symlink to RESTART | ||
| ln_vrfy -sf "${DATA}/RESTART" "${COMIN}/RESTART" |
There was a problem hiding this comment.
Why is a symlink needed in the COMIN directory now? I think the idea in NCO mode is to keep temporary stuff in DATA so I wonder if this is avoidable.
| ln_vrfy -sf ${COMIN}/RESTART ${DATA}/RESTART | ||
| fi | ||
| fi | ||
| # |
There was a problem hiding this comment.
Same questions as above.
There was a problem hiding this comment.
I see from the PR description that this is for cycled runs and you did this most likely because RESTART is not accessible because it is in forecast directory which has PID attached to it. That is no more the case in PR #443 , which makes the forecast directory accessible to all other tasks by not using PID but another unique ID known to all other tasks. So with this new implementation there is no need to symlink RESTART to COMIN since the forecast directory is accessible still after restart.
DESCRIPTION OF CHANGES:
Type of change
TESTS CONDUCTED:
WE2E tests on WCOSS2:
grid_RRFS_CONUS_25km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
MET_verification
nco_grid_RRFS_CONUS_13km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v16
nco_grid_RRFS_CONUS_3km_ics_FV3GFS_lbcs_FV3GFS_suite_GFS_v15_thompson_mynn_lam3km
nco_grid_RRFS_CONUScompact_25km_ics_HRRR_lbcs_RAP_suite_HRRR
hera.intel
orion.intel
cheyenne.intel
cheyenne.gnu
gaea.intel
jet.intel
wcoss2.intel
NOAA Cloud (indicate which platform)
Jenkins
fundamental test suite
comprehensive tests (specify which if a subset was used)
ISSUE:
Fixes issue mentioned in #439
CHECKLIST