From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,76c41f9c0f8d9874,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-17 06:58:30 PST Path: gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!grover.stat.washington.edu!neal From: neal@grover.stat.washington.edu (Phil Neal) Newsgroups: comp.unix.osf.osf1 Subject: Ratfor part DEUX -- Its back Date: 13 May 1994 20:02:57 GMT Organization: U. Washington Dept. of Statistics Distribution: world Message-ID: <2r0mdh$dfk@news.u.washington.edu> NNTP-Posting-Host: grover.stat.washington.edu Originator: neal@grover.stat.washington.edu Dear osf alpha type people, I recently asked for information about why ratfor wasn't available on DEC Alpha/osf machines. I received a few responses. None of them were very satisfying. Most were either of the "Why are you using such an obsolete piece of software anyway ?" to "DEC can't get source for ratfor. So DEC is going to remove references to it in the documentation in order to minimize your expectations". I also received a few "me too" responses. So, I am trying again. This time I am going to be a bit more detailed. Here is a more complex description of the problem: If I try to compile and link a ratfor program without ratfor installed in /usr/bin I get: _arkle_2% f77 test.r fort: Warning: test.f, line 1: Invalid statement label ignored fort: Severe: Cannot exec process: /usr/bin/ratfor ^ fort: Severe: test.f, line 1: Missing operator or delimiter symbol fort: Severe: Cannot exec process: /usr/bin/ratfor ------------^ fort: Warning: test.f, line 1: Missing END statement, END is assumed fort: Severe: Cannot exec process: /usr/bin/ratfor -------------------------------------------------^ _arkle_3% So the f77 compiler is out there looking for ratfor. IT IS NOT JUST A MATTER OF DOCUMENTATION !! I went out on the net and actually found , using archie, a distribution copy of ratfor. I compiled it up using the -taso switch, stuck it in /usr/bin and then tried it. Here is what I got: _arkle_3% f77 -v test.r /usr/bin/ratfor test.r > test.f /usr/lib/cmplrs/fort/decfort -o /tmp/forAAAaakkda.o test.f However, neither /tmpforAAAaaakkda.o nor test.f are found anywhere. Nor is there an a.out or a test.o or a test.exe or anything... _arkle_11% ls README* lookup.c* makefile* rat4.o ratfor* getopt.c* lookup.h* makefile.hid* ratcom.h* ratfor.doc* getopt.o lookup.o rat4.c* ratdef.h* test.r* _arkle_12% _arkle_6% cd /tmp _arkle_7% ls _arkle_8% However, if I throw the -c switch, I at least get a test.o file. _arkle_12% f77 -c -v test.r /usr/bin/ratfor test.r > test.f /usr/lib/cmplrs/fort/decfort -o test.o test.f _arkle_15% ls README* lookup.h* rat4.c* ratfor* getopt.c* lookup.o rat4.o ratfor.doc* getopt.o makefile* ratcom.h* test.o lookup.c* makefile.hid* ratdef.h* test.r* If I just do the ratfor preprocessing, everything works fine: _arkle_20% /usr/bin/ratfor test.r > test.f _arkle_21% _arkle_22% ls README* lookup.h* rat4.c* ratfor* test.r* getopt.c* lookup.o rat4.o ratfor.doc* getopt.o makefile* ratcom.h* test.f lookup.c* makefile.hid* ratdef.h* test.o So, my problem with ratfor on the alpha would be solved if someone could tell me what happened to my test.f and/or a.out files when I do a straight f77 -v test.r. Any suggestions ? Phil -- ---------------------------------------------------------------- Phil Neal, Systems Programmer, Statistics Department GN-22 University of Washington, Seattle, Wa. 98195 USA | 206-685-1627 ----------------------------------------------------------------