Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!jwe From: jwe@che.utexas.edu (John W. Eaton) Newsgroups: comp.lang.fortran Subject: Re: Help! f2c runtime error. Message-ID: <41143@ut-emx.uucp> Date: 10 Dec 90 22:03:48 GMT References: <9012101934.AA11906@euler.Berkeley.EDU> Sender: news@ut-emx.uucp Reply-To: jwe@che.utexas.edu (John W. Eaton) Organization: University of Texas at Austin Lines: 24 In article <9012101934.AA11906@euler.Berkeley.EDU> ndeng@EULER.BERKELEY.EDU writes: > I just downloaded the f2c program from research.att.com and compiled it > on a VAX 8650. The compilation went smoothly and I got the excutable file. > However, when I tried to invoke it, it gave the following error message: > > Compiler error: cannot open intermediate file /tmp/f2cxxxxx_p1f > > What's wrong with it? From the README file in the f2c distribution: For some non-ANSI versions of stdio, you must change the values given to binread and binwrite in sysdep.c from "rb" and "wb" to "r" and "w". I would guess that your stdio library doesn't understand the binary flag. If so, changing this should fix your problem. -- John Eaton jwe@che.utexas.edu Department of Chemical Engineering The University of Texas at Austin