RE: ncargf90

From: Richard Carpenter (rcarpenter@XXXXXX)
Date: Thu Feb 15 2001 - 10:42:07 MST

  • Next message: Sizheng Zhu: "libXext.so.0: can't open file ?"

    Paul,

    I don't think NCARGraphics ships with ncargf90, at least not for Linux --
    someone else must have installed it. Also, under Linux, the default compiler
    in ncargf77 is g77. Having said that, I believe your problem is that NCARG
    is compiled using g77, but you are using a different compiler.

    We use both Portland Group (pgf90) and Absoft compilers (f90). I was able to
    use Portland Group's compiler (pgf90/pgf77) with the -g77libs option. I have
    not found an option for Absoft that works, however (-YCFRL=1 ought to work,
    but didn't). Good luck.

    Richard
    ________________________________________________________________________
    Richard L. Carpenter, Jr., Ph.D. Ph 405.579.3813
    V.P. for Numerical Weather Prediction Technology Cell 405.503.5072
    Weather Decision Technologies, Inc. Fax 405.579.7780
    1818 W Lindsey St, Bldg D, Suite 202 http://www.WDTinc.com
    Norman, OK 73069 mailto:RCarpenter@WDTinc.com

    > -----Original Message-----
    > From: owner-ncarg-talk@UCAR.EDU [mailto:owner-ncarg-talk@UCAR.EDU]On
    > Behalf Of Paul Markowski
    > Sent: Wednesday, 14 February 2001 7:10 PM
    > To: ncarg-talk@UCAR.EDU
    > Subject: ncargf90
    >
    >
    >
    > I've been trying to run ncar graphics with f90 on a Dell workstation
    > running RedHat Linux 7.0. I have no problems running ncargf77. I created
    > an ncargf90 script from the ncargf77 script by simply replacing f77 with
    > f90 in the "set fortran" line. This strategy has worked w/o a hitch on a
    > cray, but when I do this on my machine (and I've tried Suns too, so the
    > problem doesn't appear to be unique to linux), I get all sorts of symbol
    > referencing errors (see below):
    >
    > ncargf90 -o stuff stuff.f
    > f90 -O -o stuff stuff.f -L/opt/ncargraph/lib -L/usr/openwin/lib
    > -L/usr/dt/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
    > Undefined first referenced
    > symbol in file
    > __e_wsle
    > /opt/ncargraph/lib/libncarg_gks.a(g01seg.o)
    > __s_stop /opt/ncargraph/lib/libncarg.a(seter.o)
    > .
    > . (much deleted)
    > .
    > __s_wsfe
    > /opt/ncargraph/lib/libncarg_gks.a(gerlog.o)
    > ld: fatal: Symbol referencing errors. No output written to it.
    >
    > Has anyone else ever seen this before or run f90 successfully with ncar
    > graphics? What libraries might I also need to include, and why do I not
    > need these when using ncargf77? Could it be a compiler or operating
    > system issue (although SunOS and RH Linux both gave me this problem)?
    >
    > Thanks in advance!
    >
    > Regards,
    > Paul Markowski
    >
    >
    >
    > __________________
    > Paul Markowski
    > Assistant Professor
    > Department of Meteorology
    > Pennsylvania State University
    > 503 Walker Building
    > University Park, PA 16802
    > email: marko@mail.meteo.psu.edu
    > phone: (814) 865-0478
    > fax: (814) 865-3663
    > web: http://www.meteo.psu.edu/~marko/
    >
    >
    >



    This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 13:53:15 MST