[ncl-install] Test NCL 5.0.0 with source code

Mary Haley haley at ucar.edu
Tue Dec 9 03:10:35 MST 2008


On Mon, 8 Dec 2008, Quang Nguyen wrote:

> Dear ALL,
>
> I completed in building NCL version 5.0.0 with full source code, and now is the testing steps:
>
> 1.  ncl -x gsun01n.ncl
> Output is an pop-up white blank X11 window, and then ”Segmentation fault”.
> Tested with “ncargex cpex08”, it works well.

Hi Nguyen,

We will need to tackle this problem before you can tackle the
OPeNDAP issue.   First, though, did you try the OPeNDAP-enabled
binary that's available on the ESG for an x86_64 system? It was
compiled with gcc V3, so that could be a problem.

Second, can you try running this simple 4-line script and let me know
what happens:

wid = create "tx01Work" xWorkstationClass defaultapp end create
pid = create "TextItems" textItemClass wid end create
draw(pid)
frame(wid)

You should see an X11 window pop up with the string "TextItems". Click
on this window with your left mouse button and the window will go
away.

If there's a problem with this script, then can you send me the error,
and your full "make-output" file.

--Mary


> 2. Test OpenDAP-enabled:
> ldd `which ncl`
>        linux-vdso.so.1 =>  (0x00007fff691fe000)
>        libnc-dap.so.3 => /usr/local/lib/libnc-dap.so.3 (0x00007ff560c5b000)
>        libdapclient.so.3 => /usr/local/lib/libdapclient.so.3 (0x00007ff560a1e000)
>        libdap.so.9 => /usr/local/lib/libdap.so.9 (0x00007ff56073b000)
>        libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00007ff560513000)
>        libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00007ff5602ef000)
>        libz.so.1 => /lib64/libz.so.1 (0x00007ff5600d9000)
>        libv5d.so.2 => /usr/local/lib/libv5d.so.2 (0x00007ff55fecc000)
>        libjasper.so.1 => /usr/local/lib/libjasper.so.1 (0x00007ff55fc73000)
>        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007ff55f936000)
>        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007ff55f724000)
>        libifcore.so.5 => /opt/intel/fce/10.1.012/lib/libifcore.so.5 (0x00007ff55f51f000)
>        libguide.so => /opt/intel/fce/10.1.012/lib/libguide.so (0x00007ff560f7b000)
>        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ff55f303000)
>        libsvml.so => /opt/intel/fce/10.1.012/lib/libsvml.so (0x00007ff55f17c000)
>        libm.so.6 => /lib64/libm.so.6 (0x00007ff55ef26000)
>        libdl.so.2 => /lib64/libdl.so.2 (0x00007ff55ed22000)
>        libc.so.6 => /lib64/libc.so.6 (0x00007ff55e9c9000)
>        libimf.so => /opt/intel/fce/10.1.012/lib/libimf.so (0x00007ff55e667000)
>        libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007ff55e426000)
>        libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007ff55e1f3000)
>        libssl.so.0.9.8 => /usr/lib64/libssl.so.0.9.8 (0x00007ff55dfa5000)
>        libcrypto.so.0.9.8 => /usr/lib64/libcrypto.so.0.9.8 (0x00007ff55dc24000)
>        libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007ff55d9e0000)
>        libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007ff55d7b4000)
>        libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007ff55d513000)
>        libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007ff55d2ed000)
>        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007ff55d0e9000)
>        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff55cee6000)
>        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff55ccd1000)
>        libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007ff55c975000)
>        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ff55c669000)
>        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff55c452000)
>        libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x00007ff55c250000)
>        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007ff55c034000)
>        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007ff55be31000)
>        libintlc.so.5 => /opt/intel/fce/10.1.012/lib/libintlc.so.5 (0x00007ff55bcf6000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007ff560ef5000)
>        liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007ff55bae6000)
>        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007ff55b8cb000)
>        libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007ff55b6c3000)
>
> When I did the things advised through the website:
>        http://www.ncl.ucar.edu/FAQ/#basics_014
> then I get the error message:
> “ncopen: filename "http://test.opendap.org/opendap/data/nc/123.nc": OPeNDAP Error: couldn't connect  to host”
>
> My computer is “Linux ensemble 2.6.25.5-1.1-default x86_64 GNU/Linux”, and my computer has a static IP as well a local IP. Ethernet machines also have been set by firewall and proxy server but  I can still use succesfully the GrADS-DAP version 2.0 in the same computer.
>
> Any suggestion/advise is most appreciated
>
> Nguyen Dang Quang
> Vietnam National Center for Hydrometeorological Forecast(NCHMF)
> 4 Dang Thai Than, Hanoi, VIETNAM
> Tel.:84-34-9330942
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>


More information about the ncl-install mailing list