-
Notifications
You must be signed in to change notification settings - Fork 145
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
Modify WRF-DART Tutorial scripting for Derecho #627
Comments
Initial testing suggests modifying system environment (through c-shell scripting module load commands) is not working with Derecho. Initial workaround was to modify system environment through log-in .tcshrc scripting to adjust system environment. Initial testing of PBS scripting with WRF job provides output and error files for each task within in a single ensemble member. Prior submissions on Cheyenne only provided single output/error files. Could be non-issue as WRF simulations are successful. |
Update: Tutorial works OK unitil step:
The DART filter step completes successfully, however subsequent WRF model advance after update fails for some ensemble members. Still investigating cause. Possible reasons include use of newer WRF version (4.0) and using pre-compiled wrfda executable. WRF-DART tutorial was designed with WRF 3.9.1. |
Csh script submission errors: Inserting the command 'source /etc/profile.d/z00_modules.csh' into the csh script within a PBS submission allows the module load command to work. Cisl-help recommended avoiding the usage of module load in any non-PBS csh scripts for now. Both these issues should be addressed in the next downtime (Feb 5-7). To isolate cause of WRFv4.0 step advance failure, I switched back to the WRFv3.9.1, which has been used/recommended to run the tutorial. Source code for WRF, WPS and WRFDA build on Derecho are located here: WRF_DM_SRC_DIR = /glade/work/bmraczka/WRF/WRFV3.9.1.1.TAR.gz Following guidance from cislhelp I switched from standard intel compiler to gnu to compile WRF on Derecho. The upgrade in GCC has led to some bugs requiring certain environmental settings as a workaround as documented here:https://forum.mmm.ucar.edu/threads/how-to-fix-rank-mismatch-between-actual-argument-at-1-and-actual-argument-at-2-scalar-and-rank-1.14995/. To successfully build the required WRF, WPS and WRFDA executables I did the following:
Edit to WPS install ~/ungrib/src/ngl/g2/intmath.f Solution posted on github here:
Edit configure.wrf file
Make manual edit in {WRDA}/var/da/da_monitor/da_rad_diags.f90
Check for all executables at the end of compile step as following documentation: [(https://www2.mmm.ucar.edu/wrf/users/docs/user_guide_V3/user_guide_V3.9/users_guide_chap2.htm#_Required_Compilers_and_1) |
Successfully ran full WRF-DART Tutorial on Derecho. All output statistics/diagnostics looked nearly identical to the previous Cheyenne intel compiler example provided in the WRF-DART web diagnostics section. I used the gfortran compiler for WRF executables (as described in previous comments) and also with the DART build. For the DART build I used the mkmf.template.gfortran as template and edited the following line:
Because the tutorial code often uses nco and ncl commands, and current Derecho environment makes it challenging to load these modules using csh scripting, this necessitated insertion of:
within PBS portion of Based on this, I can generate a PR to update the WRF-DART tutorial csh scripting itself, and also provide improved documentation on how to generate the correct environment on Derecho. Not sure if I should wait on issuing PR given the system will be undergoing changes during the Feb 5-7th downtime. Probably will issue a draft PR and wait until system is more stable before trying to merge. WRF source code for this build and simulation is located here:
My WRF-DART tutorial example (Derecho, gfortan, WRFv3.9.1) is located here:
My prior example (Derecho, precompiled intel exectuables, WRFv4.0) is located here:
I am circling back to the WRFv4.0 case to figure out why it failed on Derecho... newer WRF version?, hybrid-coordinate system? intel compiler issue? |
Typo fix: Prior example (Derecho, precompiled intel exectuables, WRFv4.0) located here:
|
The csh module load command issues were resolved during the Feb 5-7th downtime. Module loads can now be directly executed through execution of csh scripting, and through PBS submissions, therefore I will not include temporary csh related fixes mentioned earlier in this issue in subsequent PR. |
fixed by #636 |
Use case
Modify WRF-DART tutorial code to work with Derecho.
Is your feature request related to a problem?
Scripting currently compatible with de-comissionned Cheyenne, however both systems using PBS queueing systems so modification should be minimal.
Describe your preferred solution
steps that depart from Cheyenne
Describe any alternatives you have considered
None.
The text was updated successfully, but these errors were encountered: