home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!caen!sol.ctr.columbia.edu!avogadro.barnard.columbia.edu!shenkin
- From: shenkin@avogadro.barnard.columbia.edu (Peter S. Shenkin)
- Subject: Fortran debugging problems
- Organization: Dept. of Chem, Barnard College, Columbia U, New York
- Originator: shenkin@avogadro.barnard.columbia.edu
- Message-ID: <1992Jul27.143221.20840@ctr.columbia.edu>
- Sender: news@ctr.columbia.edu (The Daily Lose)
- Date: Mon, 27 Jul 1992 14:32:21 GMT
- X-Posted-From: avogadro.barnard.columbia.edu
- X-Posted-Through: sol.ctr.columbia.edu
- Lines: 49
-
- I have two problems; system is Ultrix 4.2 on a DECStation 5000/200.
- Both problems involve a large Fortran program.
-
- 1. dbx problem. When I run the program from dbx, if I try to set a
- stop point, dbx tells me that "file foo.f was not compiled with -g";
- however this is not true; the file was in fact compiled with -g.
- Is there a workaround?
-
- Note: if I dump core and do a post-mortem analysis with dbx, lines
- are correctly reported using "where," and variables are correctly
- printed. So in some sense dbx works --it just doesn't seem to know
- that it works.
-
- 2. I'm compiling with run-time bounds checking (-C). When the program dies,
- it puts the following on stderr:
-
- forrtl: info: Fortran error message number is 72.
- forrtl: warning: Could not open message catalog: for_msg.cat.
- forrtl: info: Check location/protection of NLSPATH and /usr/lib/for_msg.cat.
- Illegal instruction (core dumped)
-
- I'm having trouble understanding the first three lines. (The fourth
- line is all too clear. :-) ) /usr/lib/for_msg.cat is a sym link:
-
- lrwxr-xr-x 1 root 23 Oct 10 1991 for_msg.cat@ -> cmplrs/fort/for_msg.cat
-
- In /usr/lib/cmplrs/fort we have:
-
- -rwxr-xr-x 1 root 9153 Feb 28 1991 for_msg.cat*
- -rwxr-xr-x 1 root 8907 Feb 28 1991 for_msg.cat4.2*
-
- Should /usr/lib/for_msg.cat actually be linked to the second of these,
- rather than the first, since I'm on Ultrix 4.2? Are the permissions
- correct? What does this guy do, anyway?
-
- And what is NLSPATH? I find no mention of it on the f77 man page.
- Is it supposed to be an environmental variable? What should it be
- set to?
-
- I might add: I'm missing some of the FM's, so if these subjects are
- covered there, I apologize -- but please help me anyway.
-
- Thanks,
- -P.
- --
- ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
- Peter S. Shenkin, Department of Chemistry, Barnard College, New York, NY 10027
- (212)854-1418 shenkin@avogadro.barnard.columbia.edu shenkin@cunixf.BITNET
- ******************** The singular of "media" is "medium". ********************
-