-
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
gfspost job has missing input fluxfile error when running with WRITE_DOPOST=.false. #1157
Comments
I will take a look. |
Developer is using an older version of the GFS where it used JGLOBAL_ATMOS_NCEPPOST-exgfs_atmos_nceppost.sh approach.
In the developer's exgfs_atmos_nceppost.sh line 406-410 has application logic to create fluxfile: Recommended solution is to move session of the code to create fluxfile before run the script inter_flux.sh Rerun failed post job. |
I did a test replacing my exgfs_atmos_nceppost.sh with /scratch1/NCEPDEV/stmp2/Lin.Gan/ptmp/issue-1157/exgfs_atmos_nceppost.sh. fluxfile now gets created by executing exgfs_atmos_nceppost.sh first before calling inter_flux.sh. But now the job fails because exgfs_atmos_nceppost.sh moves the file to exgfs_atmos_nceppost.sh:
inter_flux.sh:
if line 49 is replaced with the line below, then the job completes successfully.
Since both cases execute the same command, there is no need for an "if" statement. My log files are located here: The example I provided happened to be from an August version of the workflow. However, the same issues are in the current codebase although the files have been updated since I had checked them out. I had an Oct25 version of the workflow that I tested with similar results. /scratch1/BMC/gsd-fv3-dev/jhender/test/emc_gw/FV3GFSrun/posttest/logs/2022111800/ This codebase has exgfs_atmos_nceppost.sh renamed to exgfs_atmos_post.sh. Let me know if you need additional information. |
Thank you @jkhender for provide this information. I run your new test case and jobs completed successfully. I upgraded your test using the latest global workflow develop #3e53e06. It works as expected when using inline post. If you want to run your test using the latest global workflow develop, here is the package information: |
) Post would fail when running without inline post because it would attempt to create 1p00 flux files before the flux file had been generated. `inter_flux.sh` also had to be updated to point at the correct file for offline post, which is now the same as inline. Fixes #1157
Expected behavior
When WRITE_DOPOST is set to .false. in config.base, gfspost job completes successfully.
Current behavior
gfspost job fails due to missing fluxfile when running the following command in inter_flux.sh
*** FATAL ERROR: missing input file fluxfile ***
Machines affected
hera
To Reproduce
change WRITE_DOPOST to .false. in config.base
run gfsfcst task
run gfspost task
Additional Information
logfile: /scratch1/BMC/gsd-fv3-dev/Judy.K.Henderson/test/gslv17p8_dev/FV3GFSrun/test_emc/logs/2022111800/gfspost*log
The text was updated successfully, but these errors were encountered: