Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

metgrid.exe outputs empty met_em files

alexjt

New member
The supercomputer on which I run WRF recently had a system-wide update and since the update I have been unable to run metgrid.exe. The executable gives me a successful run log and creates met_em netcdf files; however, the output files are blank. The files contain global attributes but the dimensions and variables are missing. Conversely, geogrid.exe runs successfully and outputs the geo_em netcdf file without error. To me, this rules out that an updated netcdf system module is causing the metgrid error.

I acknowledge that this issue is likely a system-specific error, but I am looking for input from the community regarding this problem to see if it has happened to anyone else previously and how it was resolved.
 
Dear alexjt, did you managed to resolve the issue? I've the exact same issue you are facing.
A little info on my configuration: rhel 10.0 os, netcdf libraries from source code (netcdf c library and netcdf fortran library), WRF 4.7 installed with openmpi and with netcdf classic configuration (no compression), and WPS4.6 installed with grib2 libs integrated in WPS code.
Thanks ,

Enrico
 
Can you recompile WPS in debug mode, then rerun your case? Hope the log file may provide more information on what is going on.

I agree that this is possibly a system-specific issue. Have you consulted your computer manager ?
 
Thanks for answering Ming Chen: run in debug mode, but nothing new came out.

Surfing the forum, I found that my problem has alreay been discussed a few months ago, and fortunately a simple solution came out:

It's just a variable not initialized in the corrected way, which gave problems only with gcc >= 14.2.

Problem solved: hope the issue is useful to alexjt also.

Enrico
 
Top