From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653641821695.tru64-unix-managers.marc@archive.invalid> From: Salvador Ramirez Date: Tue, 09 Oct 2001 15:19:03 +0000 To: tru64-unix-managers Subject: forrtl: severe (22): input record too long X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653641821695 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