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

WPS metgrid.exe error

What is the error message in your compiling log file? If you didn't save the message, please re-try:
./ compile > wps.log

Then upload your wps.log. for me to take a look.
[root@localhost WPS-4.6.0]# ./configure
** WARNING: No path to NETCDF and environment variable NETCDF not set.
** would you like me to try to fix? [y]
y
Enter full path to NetCDF include directory on your system

invalid path: . Try again? [y]
y
Enter full path to NetCDF include directory on your system
export NETCDF /usr/local/LIBRARIES/new/netcdf/bin
invalid path: export NETCDF /usr/local/LIBRARIES/new/netcdf/bin. Try again? [y]
y
Enter full path to NetCDF include directory on your system
export NETCDF /usr/local/LIBRARIES/new/netcdf/bin/.
invalid path: export NETCDF /usr/local/LIBRARIES/new/netcdf/bin/.. Try again? [y]




the environment for netcdf is already set in .bashrc but it will show this problem
 
[root@localhost WPS-4.6.0]# ./configure
** WARNING: No path to NETCDF and environment variable NETCDF not set.
** would you like me to try to fix? [y]
y
Enter full path to NetCDF include directory on your system

invalid path: . Try again? [y]
y
Enter full path to NetCDF include directory on your system
export NETCDF /usr/local/LIBRARIES/new/netcdf/bin
invalid path: export NETCDF /usr/local/LIBRARIES/new/netcdf/bin. Try again? [y]
y
Enter full path to NetCDF include directory on your system
export NETCDF /usr/local/LIBRARIES/new/netcdf/bin/.
invalid path: export NETCDF /usr/local/LIBRARIES/new/netcdf/bin/.. Try again? [y]




the environment for netcdf is already set in .bashrc but it will show this problem

@deva_wrf

can you upload your bashrc file as a text file?
 
@deva_wrf

Okay that confirms what I am thinking. The bashrc exports are pointing to a different location then the libraries built inside miniconda. Remember that miniconda is like a tiny virtual machine with its own environment variables. So if you remove the exports from the bashrc, build wrf again inside miniconda, then export them with the miniconda path it should work.
 
Please download WPS from Releases · wrf-model/WPS, where you can find various release versions and select the one you need.
i am facing the the same problem with WPS 4.5 while running ./metgrid.exe

./metgrid.exe
Processing domain 1 of 3
Processing 2023-09-21_00
FILE
Processing 2023-09-21_03
FILE
Processing 2023-09-21_06
FILE
Processing 2023-09-21_09
FILE
Processing 2023-09-21_12
FILE
ERROR: Error in ext_pkg_write_field
application called MPI_Abort(MPI_COMM_WORLD, 0) - process 0
 

Attachments

  • metgrid.log
    129.2 KB · Views: 2
It seems that metgrid.exe ran successfully to process files before 2023-09-21_09, and it crashed when processing file at the time of 2023-09-21_12.

Can you check whether you have enough space to save met-em files? What are the file size and variables in the inout file at 2023-09-21_12? Are they the same as those files in previous times?
 
Yes, we have enough space to save met_em file, and I am sending you the Screenshot of input data, it seems at 2023-09-21_12 the file data was incomplete thanks sir, iam going to again download the file input file for the same and get back to you
 

Attachments

  • Screenshot from 2024-09-11 19-26-35.png
    Screenshot from 2024-09-11 19-26-35.png
    221.7 KB · Views: 6
Last edited:
Look at gfs file at 2023-09-21_12, whose size is much smaller than files at other times.

This indicates that the input data for the time of 2023-09-21_12 is wrong. Please contact CISL to get correct GFS data for this time.
 
Look at gfs file at 2023-09-21_12, whose size is much smaller than files at other times.

This indicates that the input data for the time of 2023-09-21_12 is wrong. Please contact CISL to get correct GFS data for this time.
Thankyou, Now its running successfully. the problem was with input file
 
Top