We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
🐛 🐌 Your bug may already be reported!
module load nvhpc cd /DART/models/wrf/work/ ./quickbuild.sh WRF_DART_utilities/advance_cymdh
NVFORTRAN-S-0038-Symbol, iargc, has not been explicitly declared (/glade/derecho/scratch/hkershaw/build_everything/nvhpc.2023-12-11T0702/DART/models/wrf/WRF_DART_utilities/advance_cymdh.f90: 7) 0 inform, 0 warnings, 1 severes, 0 fatal for advance_cymdh make: *** [Makefile:72: advance_cymdh.o] Error 2
wrf
v10.9.2
No
Please describe:
The text was updated successfully, but these errors were encountered:
Solution options:
Simply add integer, external :: iargc to WRF_DART_utilities/advance_cymdh.f90
integer, external :: iargc
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()
DART/observations/obs_converters/NCEP/prep_bufr/convert_bufr/arg_test.f
Line 49 in 74b4221
DART/observations/obs_converters/NCEP/prep_bufr/convert_bufr/grabbufr.f
Line 66 in 74b4221
DART/observations/obs_converters/NCEP/prep_bufr/convert_bufr/stat_test.f
Line 75 in 74b4221
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
Sorry, something went wrong.
Closed as completed via #619
mjs2369
No branches or pull requests
🐛 🐌 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:
The text was updated successfully, but these errors were encountered: