[ncl-install] NCAR Graphics test doesn't work

Mary Haley haley at ucar.edu
Tue Jun 16 09:27:31 MDT 2015


Hi Kevin,

To answer your first question, the binary is relocatable. You can put it
wherever you want. You just need to be sure to setenv NCARG_ROOT to point
to the parent location, and add $NCARG_ROOT/bin to your search path, which
it sounds like you did.

For the "ncargex cpex08" issue: If you only plan to use NCL, then it's not
important that this test work. The "ncargex" command tests the C and
Fortran libraries for people that are using C and/or Fortran to generate
their graphics, rather than NCL.

If you still want to get this test to work, then I think the issue is that
you have a libXext.so.x.y file, but not a libXext.so file.  Usually
libXext.so is a symbolic link to libXext.so.x.y. You might want to look
into how this software was installed, and make sure it was installed
correctly.

--Mary


On Tue, Jun 16, 2015 at 6:11 AM, HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
<kevin.havener at us.af.mil> wrote:

> I untarred the RH6.4_x86-64 binary into my home dir and set my path
> accordingly.  First question is, is this binary relocatable or does it need
> to be in a system level directory?  The "ng4ex gsun10 -clean" command works
> as expected.  However the "ncargex cpex08 -clean" test yields:
>
> <<havenerk at metappdev:~>>$ ncargex cpex08 -clean
>
> >NCAR Graphics Fortran  Example <cpex08>
> >
> >  Copying cpex08.f
> >
> >  Copying cpexcc.f
>
> >Compiling and linking...
> >/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp
> -O -o cpex08 cpexcc.f cpex08.f -L/home/havenerk/ncl_ncarg-6.3.0/lib
> -L/usr/X11R6/lib64 ->lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo
> -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender
> -lbz2
> >/usr/bin/ld: cannot find -lXext
> >collect2: ld returned 1 exit status
> >
> >The compile and link failed.
>
> But when I do 'locate Xext':
>
> <<havenerk at metappdev:~>>$ locate Xext
> >/usr/lib64/libXext.so.6
> >/usr/lib64/libXext.so.6.4.0
> >/usr/share/doc/libXext-1.3.2
> >/usr/share/doc/libXext-1.3.2/AUTHORS
> >/usr/share/doc/libXext-1.3.2/COPYING
>
> System is: Linux 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 x86_64
> x86_64 x86_64 GNU/Linux
>
> What do I have to do to get NCAR Graphics working?  Is there a resource on
> the website that I'm missing?
>
>
> Kevin Havener, DAFC, 14WS/WXED
> Comm 828-271-4323; DSN 673-9044
> NIPRNet kevin.havener at us.af.mil
> SIPRNet kevin.f.havener.civ at mail.smil.mil
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20150616/4d088d64/attachment.html 


More information about the ncl-install mailing list