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

Compile Issue with WPS: metgrid.exe not Generated

argav

New member
Hello everyone, so I'm trying to compile WPS. Everything seems to be running smoothly (no warnings). However, after checking the log.compile file, I didn't see the message "successfully compiled WPS." and then, when I checked the main WPS directory, there was no metgrid.exe. Here's the compile.log file.

Please let me know where I might have gone wrong. Thank you, everyone.
 

Attachments

  • log.txt
    102.4 KB · Views: 10
Code:
Fatal Error: Cannot read module file ‘/root/WRFmodel/LIBRARIES/netcdf/include/netcdf.mod’ opened at (1), because it was created by a different version of GNU Fortran

I see a few errors starting from line 633 to 695.

That one I listed on top seems to be the problem. I would double check your netcdf-c and netcdf-fortran to make sure they were compiled and build by the same GNU version
 
@argav
If you look right above the first error in the compile log, you'll see the issue is related to the scan_input file.

Code:
scan_input.f90:14:9:

   14 |     use netcdf
      |         1
Fatal Error: Cannot read module file ‘/root/WRFmodel/LIBRARIES/netcdf/include/netcdf.mod’ opened at (1), because it was created by a different version of GNU Fortran

There are a few different reasons this could be an issue, and this has been solved several times in previous forum posts. I'd recommend using the search feature to just search "scan_input" and look at the different possible solutions. The responses given by NCAR support administrator 'mgduda' will be the most-reliable.
 
Code:
Fatal Error: Cannot read module file ‘/root/WRFmodel/LIBRARIES/netcdf/include/netcdf.mod’ opened at (1), because it was created by a different version of GNU Fortran

I see a few errors starting from line 633 to 695.

That one I listed on top seems to be the problem. I would double check your netcdf-c and netcdf-fortran to make sure they were compiled and build by the same GNU version
i think this is the case, just recompile it and it's work now thank
 
Top