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

Ungrib.exe not created

asidjazz422

New member
Hi I just installed WRF V4.4.1 and WPS V4.4 with all netCDF-c-4.9.0, netcdf-fortran-4.6.0, hdf5-1.13.3, zlib-1.2.13, libpng.1.6.39, mpich-4.0.3, and jasper-4.0.0.

When compiling WPS, metgrid.exe and geogrid.exe were created, but ungrib.exe was not.

Here are the compile.log and configure file attached. Please check.

I noticed the "undefined reference to `jpc_decode" in complie.log. There were a lot of "undefined reference to xxx" in other cases, but I only found this one, and I don't know if this is the problem.

Many thanks!
 

Attachments

  • compile.log
    11.9 KB · Views: 10
  • configure.txt
    15.3 KB · Views: 7
Hi I just installed WRF V4.4.1 and WPS V4.4 with all netCDF-c-4.9.0, netcdf-fortran-4.6.0, hdf5-1.13.3, zlib-1.2.13, libpng.1.6.39, mpich-4.0.3, and jasper-4.0.0.

When compiling WPS, metgrid.exe and geogrid.exe were created, but ungrib.exe was not.

Here are the compile.log and configure file attached. Please check.

I noticed the "undefined reference to `jpc_decode" in complie.log. There were a lot of "undefined reference to xxx" in other cases, but I only found this one, and I don't know if this is the problem.

Many thanks!
At WPS main directory:
1) use lib jasper: https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compile_tutorial/tar_files/jasper-1.900.1.tar.gz (that one not work: https://github.com/jasper-software/jasper/releases/download/version-4.0.0/jasper-4.0.0.tar.gz)
2) replace this line: sed -i 's# NETCDFF=" "# NETCDFF="-lnetcdff -lgomp"#' configure
3) ./configure
4) ./compile
Just do it.
Best regards
 
At WPS main directory:
1) use lib jasper: https://www2.mmm.ucar.edu/wrf/OnLineTutorial/compile_tutorial/tar_files/jasper-1.900.1.tar.gz (that one not work: https://github.com/jasper-software/jasper/releases/download/version-4.0.0/jasper-4.0.0.tar.gz)
2) replace this line: sed -i 's# NETCDFF=" "# NETCDFF="-lnetcdff -lgomp"#' configure
3) ./configure
4) ./compile
Just do it.
Best regards
Many thank!

Sorry I am new in this. I downloaded jasper 1.900.1, but wonder where to replace the line:
2) replace this line: sed -i 's# NETCDFF=" "# NETCDFF="-lnetcdff -lgomp"#' configure
in the command line in WPS main directory or in which file?

So I just tried the dumb way: deleting all jasper related documents in the library of WRF main directory, and installing jasper 1.900.1, and 3) and 4) in WPS.

It worked. The ungrib.exe was created. I am not sure if it totally solved the problem, so I just marked here. I will close this thread if it does.

Thank you again!
 
Great.
about this, just execute:
sed -i 's# NETCDFF=" "# NETCDFF="-lnetcdff -lgomp"#' configure
to replace:
NETCDFF=" "
by:
NETCDFF="-lnetcdff -lgomp"
in configure file.
I have no Idea why need gomp. And I don´t know why "jasper-4.0.0" not work.
anyway, the WPS is working fine down here.
Best.
 
Top