Hello all,
I run WRF on an HPC system whose OS was recently updated. I attempted to run WPS for the first time after the OS update but it only generated the geo_em files. After looking through some files, I found the culprit for the unsuccessful WPS run:
./ungrib.exe: error while loading shared libraries: libjasper.so.1: cannot open shared object file: No such file or directory
When I run the command "ldd ungrib.exe" you can see it's no longer there after the OS update:
linux-vdso.so.1 (0x00007ffe4a3e1000)
libjasper.so.1 => not found
libpng15.so.15 => /lib64/libpng15.so.15 (0x000014a4f19c3000)
libz.so.1 => /lib64/libz.so.1 (0x000014a4f17ac000)
libm.so.6 => /lib64/libm.so.6 (0x000014a4f142a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000014a4f120a000)
libc.so.6 => /lib64/libc.so.6 (0x000014a4f0e45000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000014a4f0c2d000)
libdl.so.2 => /lib64/libdl.so.2 (0x000014a4f0a29000)
/lib64/ld-linux-x86-64.so.2 (0x000014a4f1bee000)
I've already tried the command "env LD_LIBRARY_PATH="lib jasper path"" to reset the jasper path but it did not work. I reached out to the staff that maintain the HPC I run WRF on and they suggested to recompile WRF as the newly updated system has jasper installed but as "libjasper.so.4" instead of "libjasper.so.1". Will someone confirm this is what I need to do before I attempt to recompile WRF?
Thanks,
Michael
I run WRF on an HPC system whose OS was recently updated. I attempted to run WPS for the first time after the OS update but it only generated the geo_em files. After looking through some files, I found the culprit for the unsuccessful WPS run:
./ungrib.exe: error while loading shared libraries: libjasper.so.1: cannot open shared object file: No such file or directory
When I run the command "ldd ungrib.exe" you can see it's no longer there after the OS update:
linux-vdso.so.1 (0x00007ffe4a3e1000)
libjasper.so.1 => not found
libpng15.so.15 => /lib64/libpng15.so.15 (0x000014a4f19c3000)
libz.so.1 => /lib64/libz.so.1 (0x000014a4f17ac000)
libm.so.6 => /lib64/libm.so.6 (0x000014a4f142a000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x000014a4f120a000)
libc.so.6 => /lib64/libc.so.6 (0x000014a4f0e45000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x000014a4f0c2d000)
libdl.so.2 => /lib64/libdl.so.2 (0x000014a4f0a29000)
/lib64/ld-linux-x86-64.so.2 (0x000014a4f1bee000)
I've already tried the command "env LD_LIBRARY_PATH="lib jasper path"" to reset the jasper path but it did not work. I reached out to the staff that maintain the HPC I run WRF on and they suggested to recompile WRF as the newly updated system has jasper installed but as "libjasper.so.4" instead of "libjasper.so.1". Will someone confirm this is what I need to do before I attempt to recompile WRF?
Thanks,
Michael