Page 1 of 1

ungrib.exe is not creating while compiling WPS

PostPosted: Thu Jan 05, 2017 1:52 am
by gauravtiwari
Hello dear all,

I am compiling WPS but ungrib.exe is not creating. I think the problem is due to the following error:

gcc -c -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL /home/gaurav1/WRF/Supportfiles/jasper/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ enc_jpeg2000.c
enc_jpeg2000.c:5:27: fatal error: jasper/jasper.h: No such file or directory
#include "jasper/jasper.h"
^
compilation terminated.
Makefile:75: recipe for target 'enc_jpeg2000.o' failed
make[2]: [enc_jpeg2000.o] Error 1 (ignored)
gcc -c -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL /home/gaurav1/WRF/Supportfiles/jasper/include -DUSE_JPEG2000 -DUSE_PNG -D__64BIT__ dec_jpeg2000.c
dec_jpeg2000.c:5:27: fatal error: jasper/jasper.h: No such file or directory
#include "jasper/jasper.h"
^
compilation terminated.
Makefile:75: recipe for target 'dec_jpeg2000.o' failed
make[2]: [dec_jpeg2000.o] Error 1 (ignored)
/bin/rm -f libg2_4.a

Re: ungrib.exe is not creating while compiling WPS

PostPosted: Fri Jan 13, 2017 1:11 am
by gauravtiwari
Hello community,

I've installed WRFV3.7.1, netcdf, jasper, zlib, MPICH and pnglib and made variables
JASPERLIB=/home/username/jasper-1.900.1/lib/
JASPERINC=/home/username/jasper-1.900.1/include/
So I'm trying to compile WPS. geogrid.exe and metgrid.exe was successfully generated but there wasn't ungrib.exe in compile.log

I am the beginner in model installation, please someone reply and try to fix my problem ASAP.

Re: ungrib.exe is not creating while compiling WPS

PostPosted: Fri Mar 03, 2017 2:44 pm
by JFMass