tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* forrtl: severe (22): input record too long
@ 2001-10-09 15:19 Salvador Ramirez
  0 siblings, 0 replies; only message in thread
From: Salvador Ramirez @ 2001-10-09 15:19 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

  We have two compaq computers: an AS4100 (Digital unix 4.0D) and an
ES40 (Tru64 unix 5.1). The AS4100 have the Digital Fortran version 5.1
and the ES40 have the version 5.4A of the Compaq Fortran Compiler.
A user created a fortran90 program that read some binary files on
the AS4100 and there works fine. However he then tried to compile
his program on the ES40 computer and then he execute the program and
he gets a runtime error which message says:

 forrtl: severe (22): input record too long, unit 43, ...

  I've read that that error appear in the, not much surprising,
case when the program tries to read a record that exceed the lenght
of the expected lenght of the record (either explicit record lenght
or default), so my question is why in the first computer it works
fine?.

  I've found that a solution to that problem is to specify with the
keyword RECL to the OPEN statement on the Fortran program
what is the record lenght of the file to read, however I would not
like to tell the user to modify a very big program that worked fine
on another computer with a similar platform. Instead I would like to
change some system parameter to allow this user to open those files
like on the AS4100 computer. How could I do that? is it possible?

Thanks in advance,

---sram
     "Don't listen to what I say; listen to what I mean!" --Feynman
Salvador Ramirez Flandes        PROFC, Universidad de Concepcion, CHILE
http://www.profc.udec.cl/~sram                mailto:sram@profc.udec.cl


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-09 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-09 15:19 forrtl: severe (22): input record too long Salvador Ramirez

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