ncargf90 woes

From: Paul Markowski (marko AT unknown)
Date: Wed Feb 14 2001 - 18:13:11 MST


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 AT unknown
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 - 10:22:43 MST