home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14763 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  48 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!sdd.hp.com!hpscit.sc.hp.com!hpuerca.atl.hp.com!aaa
  3. From: aaa@hpuerca.atl.hp.com (Simon Fowler)
  4. Subject: Re: Softbench 1.0 on HP 720
  5. Sender: news@hpuerca.atl.hp.com ( News admin)
  6. Message-ID: <C0qtM4.Lyn@hpuerca.atl.hp.com>
  7. Date: Tue, 12 Jan 1993 13:32:27 GMT
  8. References:  <1ituuiINNqhe@nz12.rz.uni-karlsruhe.de>
  9. Organization: Hewlett-Packard Company, Atlanta GA
  10. Lines: 36
  11.  
  12. In article <1ituuiINNqhe@nz12.rz.uni-karlsruhe.de>, bosch@rz.uni-karlsruhe.de (Gerhard Bosch) writes:
  13. > Hi, I was wondering if there are any know troubles with Softbench Version
  14. > 1.0 on an HP 720 using HPUX 8.05.
  15. > Could it be possible that it doesn't work to check the value of a 3-dimensional
  16. > array. Just a short Fortran section to define such an array.
  17. >        parameter(nx=20,ny=20,nz=20)
  18. >        real x(nx,ny,nz)
  19. > I haven't done a systematic survey ( Just using softbench ) but I wasn't
  20. > able to check the value of such an array element using explicitly the
  21. > interested indices ?
  22.  
  23. It's not clear what question you are asking exactly since Softbench does nothing
  24. with FORTRAN. I will make the assumption that the question you are asking is:
  25.  
  26. Why won't xdb (softdebug) print out the value of a multi-dimensioned array in
  27. FORTRAN if the array is dimensioned "dynamically"?
  28.  
  29. e.g.
  30.       DIMENSION ARY(10,10)
  31.  
  32.       CALL SUB(ARY,10,10)
  33.  
  34.  
  35.       SUBROUTINE SUB(a,n,m)
  36.       DIMENSION a(n,m)
  37.  
  38. C     a(i,j) cannot be printed out here by xdb
  39.  
  40.  
  41. This is a known problem. Workaround is to give the actual dimensions in the
  42. subroutine.
  43.  
  44. simon
  45.