[Met_help] [rt.rap.ucar.edu #91415] History for Issue with running plot_data_plane
John Halley Gotway via RT
met_help at ucar.edu
Wed Aug 7 11:54:00 MDT 2019
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hey Julie (or whoever catches this),
I tried running the test script to plot precipitation and ran into this
error on my local cluster:
bin/plot_data_plane PYTHON_NUMPY precip_3h.ps 'name="read_3B42RT.py
3B42RT.2018082100.7.nc4 precipitation";'
bin/plot_data_plane: error while loading shared libraries:
libnetcdf_c++4.so.1: cannot open shared object file: No such file or
directory
Is there a quick fix to this issue?
Thanks!
--
*Taylor Mandelbaum*
Research Technician
SoMAS | Stony Brook University
678.468.5789
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Issue with running plot_data_plane
From: John Halley Gotway
Time: Wed Aug 07 10:23:31 2019
Taylor,
This is an error from the runtime linker and it should be pretty easy
to
fix. Take a look in the directory where MET was compiled. In there
you'll
find a file named "config.log". Check in there for how MET_NETCDF was
set:
grep MET_NETCDF config.log
We want to find the "lib" directory for NetCDF. So if you have:
MET_NETCDF = /a/b/c, you'll probably find that shared object file
(libnetcdf_c++4.so.1) in the "/a/b/c/lib".
Assuming that's the case, you can just prepend that path to the
LD_LIBRARY_PATH setting. In bash, it'd be:
export LD_LIBRARY_PATH=/a/b/c/lib:${LD_LIBRARY_PATH}
Then try rerunning your command. If that fixes it, add it to your
~/.bashrc or ~/.bash_profile (or ~/.cshrc for C-Shell).
Thanks,
John
On Tue, Aug 6, 2019 at 4:29 PM Taylor Mandelbaum via RT
<met_help at ucar.edu>
wrote:
>
> Tue Aug 06 16:29:29 2019: Request 91415 was acted upon.
> Transaction: Ticket created by taylor.mandelbaum at stonybrook.edu
> Queue: met_help
> Subject: Issue with running plot_data_plane
> Owner: Nobody
> Requestors: taylor.mandelbaum at stonybrook.edu
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=91415 >
>
>
> Hey Julie (or whoever catches this),
>
> I tried running the test script to plot precipitation and ran into
this
> error on my local cluster:
>
> bin/plot_data_plane PYTHON_NUMPY precip_3h.ps 'name="read_3B42RT.py
> 3B42RT.2018082100.7.nc4 precipitation";'
> bin/plot_data_plane: error while loading shared libraries:
> libnetcdf_c++4.so.1: cannot open shared object file: No such file or
> directory
>
> Is there a quick fix to this issue?
>
> Thanks!
> --
> *Taylor Mandelbaum*
> Research Technician
> SoMAS | Stony Brook University
> 678.468.5789
>
>
------------------------------------------------
Subject: Issue with running plot_data_plane
From: Taylor Mandelbaum
Time: Wed Aug 07 11:06:11 2019
Hey John,
That worked perfectly, I appended my bashrc and got it working. I
noticed
after you sent this email that this problem is also addressed on one
of the
installation pages. Apologies for not doing my due diligence there.
Thanks!
On Wed, Aug 7, 2019 at 12:23 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
> Taylor,
>
> This is an error from the runtime linker and it should be pretty
easy to
> fix. Take a look in the directory where MET was compiled. In there
you'll
> find a file named "config.log". Check in there for how MET_NETCDF
was set:
> grep MET_NETCDF config.log
>
> We want to find the "lib" directory for NetCDF. So if you have:
> MET_NETCDF = /a/b/c, you'll probably find that shared object file
> (libnetcdf_c++4.so.1) in the "/a/b/c/lib".
>
> Assuming that's the case, you can just prepend that path to the
> LD_LIBRARY_PATH setting. In bash, it'd be:
> export LD_LIBRARY_PATH=/a/b/c/lib:${LD_LIBRARY_PATH}
>
> Then try rerunning your command. If that fixes it, add it to your
> ~/.bashrc or ~/.bash_profile (or ~/.cshrc for C-Shell).
>
> Thanks,
> John
>
> On Tue, Aug 6, 2019 at 4:29 PM Taylor Mandelbaum via RT
<met_help at ucar.edu
> >
> wrote:
>
> >
> > Tue Aug 06 16:29:29 2019: Request 91415 was acted upon.
> > Transaction: Ticket created by taylor.mandelbaum at stonybrook.edu
> > Queue: met_help
> > Subject: Issue with running plot_data_plane
> > Owner: Nobody
> > Requestors: taylor.mandelbaum at stonybrook.edu
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=91415 >
> >
> >
> > Hey Julie (or whoever catches this),
> >
> > I tried running the test script to plot precipitation and ran into
this
> > error on my local cluster:
> >
> > bin/plot_data_plane PYTHON_NUMPY precip_3h.ps
'name="read_3B42RT.py
> > 3B42RT.2018082100.7.nc4 precipitation";'
> > bin/plot_data_plane: error while loading shared libraries:
> > libnetcdf_c++4.so.1: cannot open shared object file: No such file
or
> > directory
> >
> > Is there a quick fix to this issue?
> >
> > Thanks!
> > --
> > *Taylor Mandelbaum*
> > Research Technician
> > SoMAS | Stony Brook University
> > 678.468.5789
> >
> >
>
>
--
*Taylor Mandelbaum*
Research Technician
SoMAS | Stony Brook University
678.468.5789
------------------------------------------------
More information about the Met_help
mailing list