[ncl-install] NCAR Graphics test doesn't work
Orion Poplawski
orion at cora.nwra.com
Tue Jul 7 16:04:40 MDT 2015
FYI - you would need to install libXext-devel as well.
On 06/16/2015 09:44 AM, HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED wrote:
> Mary,
>
> Well that clears up the relationship between ncl and NCAR Graphics to me a little bit. So thanks for that. My actual need for ncarg is small to nonexistent, but I thought since I was playing around with it, I thought I'd try to see why it didn't work. I guess that also explains a lot about the Fedora ncl package as well--doesn't work there, either ;-).
>
>
> Kevin Havener-----Original Message-----
> From: Mary Haley [mailto:haley at ucar.edu]
> Sent: Tuesday, June 16, 2015 11:28 AM
> To: HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED
> Cc: ncl-install at ucar.edu
> Subject: Re: [ncl-install] NCAR Graphics test doesn't work
>
> 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
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion at nwra.com
Boulder, CO 80301 http://www.nwra.com
More information about the ncl-install
mailing list