Install WRF 4.1 in Ubuntu 19.10 - Solving the problem of libpng12 for WPS ungrib.exe *UPDATE

Assuming that you installed WRF on Ubuntu 19.10 following any of the tutorials, you will face a problem. Apparently everything went good, but when you run ./ungrib.exe, you will see an error. The thing is that Ubuntu has libpng16 and we need libpng12. In few words, following this
https://forum.mmm.ucar.edu/phpBB3/viewtopic.php?t=8561


Assuming that the file $DIR/grib2/lib/libpng12.so.0 exists, you could try:

export LD_LIBRARY_PATH=$DIR/grib2/lib:$LD_LIBRARY_PATH

Comentarios

Entradas populares de este blog

ERROR: Grib2 file or date problem, stopping in edition_num. Can't ungrib.exe SOLVED

ARCGIS: Cálculo de pendiente entre puntos en el espacio xyz

Error If you REALLY want Grib2 output from WRF, modify the arch/Config_new.pl - WRF 3.7 in Ubuntu (Elementary)