home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!giaeb!simon
- From: simon@giaec.cc.monash.edu.au (simon shields)
- Subject: adjustable arrays 720's f77
- Message-ID: <simon.712287118@giaeb>
- Summary: adjustable arrays in f77 on 720's ?
- Keywords: f77,adjustable arrays,compatibility problems
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: Monash University, Melb., Australia.
- Date: Tue, 28 Jul 1992 01:31:58 GMT
- Lines: 76
-
-
- Hi
-
- I am having problems compiling fortran 77 programs I wrote on an 800
- series that made use of adjustable arrays. I won't compile on the
- 720's we have.
-
- The machine I'm using is
- HP-UX giaec A.08.07 A 9000/720 2001133857
-
- The f77 command I'm using is
- f77 +E3 -w -O +E6 -o gas gas.f /usr/local/lib/libncarg.a /usr/local/lib/libncarg_gks.a /usr/local/lib/libncarg_loc.a
- gas.f:
- MAIN gas:
- compberthelotorwaals:
- plotberthelotsorwaals:
- determine:
- graph:
- Declaration error on/above line 262 of gas.f; for xdra; adjustable dimension on non-argument
- Declaration error on/above line 262 of gas.f; for ydra; adjustable dimension on non-argument
- Declaration error on/above line 262 of gas.f; for tr; adjustable dimension on non-argument
- fillthearray:
- graphthearray:
- check:
- bndary:
- titles:
- agchil:
- agchax:
- agchcu:
- rtoa:
- lj:
- nonb:
- strlen:
- getresp:
- getcoords:
- checkforerrors:
- upshift:
- doplt:
- pltmenu:
- processpltmenuselection:
- helponpltcmds:
-
- f77: Error. No assembly.
- f77: Errors detected, no link
-
- The routine producing the problem is
-
-
-
- SUBROUTINE graph (coords, curves, fname)
- EXTERNAL fill the array
- INTEGER coords, curves
- LOGICAL fill the array
- CHARACTER fname*(*)
- -->>> REAL xdra (coords,curves), ydra (coords, curves),tr(curves)
-
- IF (fill the array (xdra, ydra,tr, coords, curves, fname)) THEN
- CALL graph the array (xdra, ydra,tr, coords, curves, fname)
- CALL do plt
- ELSE
- PRINT *,"Couldn't fill the array so graph was NOT done !!"
- PRINT *,"Sorry about that !!"
- ENDIF
- RETURN
- END
-
- Any help sincerely appreciated. Results will be reposted.
-
- Thanks.
-
- /----------------------------------------------------------------|-------\
- | Simon P. Shields Programmer Viva Cristo Rey !! ----|---- |
- | MONASH UNIVERSITY COLLEGE GIPPSLAND Ph:+61 51 226 357 .JHS. |
- | Switchback Rd. Churchill. Fax:+61 51 226 300 |\|/| |
- | Australia 3842 Internet: simon@giaea.cc.monash.edu.au |M J| |
- \------------------------------------------------------------------------/
-