Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: paul@toe.CS.Berkeley.EDU (Paul Ricchiazzi)
Subject: Help: NAMELIST input on DEC ALPHA produces weird message
Date: 28 Jun 1993 23:02:10 GMT	[thread overview]
Message-ID: <20nt9i$ei5@agate.berkeley.edu> (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?



             reply	other threads:[~1993-06-28 23:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-28 23:02 Paul Ricchiazzi [this message]
1993-06-29 17:31 ` Help: NAMELIST input on DEC ALPHA produces weird message Ken Cowan
read-only archive

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