Closed hkershaw-brown closed 5 months ago
Solution options:
1) Simply add integer, external :: iargc
to WRF_DART_utilities/advance_cymdh.f90
2) Replace iargc() with the F2003 “COMMAND_ARGUMENT_COUNT” intrinsic function instead for better portability https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gfortran/ https://gcc.gnu.org/onlinedocs/gfortran/COMMAND_005fARGUMENT_005fCOUNT.html
Here are some comments in the code for the NCEP obs_converter about machines not supporting iargc()
Here we write our own function for COMMAND_ARGUMENT_COUNT() that calls iargc() instead of using the intrinsic? https://github.com/NCAR/DART/blob/74b4221e5f4e41e4de2980fc9ff8697ba4540a8b/models/wrf/WRF_DART_utilities/f2kcli.f90#L78C1-L97C42
Closed as completed via #619
:bug: :snail: Your bug may already be reported!
Describe the bug
Which model(s) are you working with?
wrf
Version of DART
v10.9.2
Have you modified the DART code?
No
Build information
Please describe: