From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,26fb830d1a32af1e X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2000-10-30 19:30:58 PST Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!newsgate.cistron.nl!news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.mindspring.net!firehose.mindspring.com!not-for-mail From: "JJ" Newsgroups: comp.os.linux.alpha Subject: Re: redirect stderr to a file (Compaq FORTRAN compiler) Date: Mon, 30 Oct 2000 22:34:03 -0500 Organization: MindSpring Enterprises Message-ID: <8tleav$oq8$1@slb7.atl.mindspring.net> References: NNTP-Posting-Host: a5.f7.02.62 X-Server-Date: 31 Oct 2000 03:29:35 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Xref: supernews.google.com comp.os.linux.alpha:1032 try fort program.for 2> errors jj Randy Spaulding wrote in message news:PDnL5.411$LD3.49541@news01.micron.net... > What is the command to redirect output sent to stderr to a file? I'm > running Compaq FORTRAN compiler on an Alpha with RedHat 6.2. The fort > command sends it output to stderr. When I try to compile I get a huge list > of warnings (about COMMON allocation, of course). I do not get an output > file so there must be errors in there somewhere, but the list of warnings is > so long (a couple thousand, I would say) that I can't debug it. I need to > send the output to a file but I can't find either a compiler switch or a > Linux command that will work. I tried the standard redirector, e.g.: > > fort program.for > errors > > This redirector apparently ignores stderr because I get a zero-length file. > I read the compiler's online manual twice and did not see a switch. The > switch telling it to ignore COMMON warnings does not seem to work (it still > displays them on the screen). There's got to be some way?? > > Thanks, > > -- > Randy Spaulding > Instrumentation Physicist > Idaho Accelerator Center > Ph: (208) 282-5876 > Fax:(208) 282-5878 > spauldin@physics.isu.edu > > > > >