Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Help: NAMELIST input on DEC ALPHA produces weird message
@ 1993-06-28 23:02 Paul Ricchiazzi
  1993-06-29 17:31 ` Ken Cowan
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Ricchiazzi @ 1993-06-28 23:02 UTC (permalink / raw)




I'm running a fortran code on a DEC Alpha and getting some weird
warning messages that seem to have something to do with dimensioned
variables read by NAMELIST input.  I am using the standard f77
compiler supplied by DEC.  (Despite the warning messages, the results
from the Alpha agree perfectly with results from a DECstation 5000).
I've been able to recreate the problem with the following small
program:


      parameter (nx=2)
      dimension xx(nx)
      data xx/nx*0./

      namelist /input/ xx

      open(unit=10,file='INPUT',status='unknown')
      write(10,input)
      close(unit=10)

      open(unit=11,file='INPUT',status='old')

      read(11,input)
      close(unit=11)
      write(*,input)
      end
c==============================================================



---------------
output for nx=2
---------------

Unaligned access pid=11517 <a.out> va=11ffff864 pc=3ff808c687c ra=3ff808edd58 type=stq
Unaligned access pid=11517 <a.out> va=11ffff864 pc=3ff808c6a10 ra=3ff808edd58 type=ldq
Unaligned access pid=11517 <a.out> va=11ffff864 pc=3ff808c6a1c ra=3ff808edd58 type=stq
 $INPUT
 XX      = 2*0.0000000E+00  
 $END




---------------
output for nx=1
---------------

 $INPUT
 XX      =  0.0000000E+00
 $END


-------------------------------------------------------------------

Does anyone know whats going on here?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-06-29 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-28 23:02 Help: NAMELIST input on DEC ALPHA produces weird message Paul Ricchiazzi
1993-06-29 17:31 ` Ken Cowan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox