metgrid.exe not created when compiling WPS (but geogrid.exe and ungrib.exe are created)

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

dsharma

New member
Hello,

I am facing a similar issue compiling WPS 4.2, where geogrid.exe and ungrib.exe are formed but not metgrid.exe. I followed the suggestion mentioned above by David and added -qopenmp to making the line -L$(NETCDF)/lib -lnetcdf -lnetcdff -qopenmp in configure.wps.

I am attaching my configure and compile log files for WPS and WRF.

What might be causing this?

Thanks,
Disha
 

Attachments

The errors in your log file concern the "scan_input.f90" file:
scan_input.o: In function `scan_input_mp_scan_input_open_':
scan_input.f90:(.text+0xae): undefined reference to `netcdf_mp_nf90_open_'
scan_input.f90:(.text+0xe8): undefined reference to `netcdf_mp_nf90_inquire_'
scan_input.f90:(.text+0x2d3): undefined reference to `netcdf_mp_nf90_inquire_'
scan_input.f90:(.text+0x2f3): undefined reference to `netcdf_mp_nf90_inquire_dimension_'
scan_input.o: In function `scan_input_mp_scan_input_close_':
scan_input.f90:(.text+0x339): undefined reference to `netcdf_mp_nf90_close_'
scan_input.o: In function `scan_input_mp_scan_input_next_field_':
scan_input.f90:(.text+0x4c1): undefined reference to `netcdf_mp_nf90_inquire_variable_'
scan_input.f90:(.text+0x657): undefined reference to `netcdf_mp_nf90_inquire_variable_'
scan_input.f90:(.text+0x898): undefined reference to `netcdf_mp_nf90_inquire_dimension_'
...

Could you try the suggestion by kwerner in this post to see whether the modified scan_input.F file allows the metgrid.exe program to be compiled?
 
Back
Top