home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / ultrix / 5903 < prev    next >
Encoding:
Text File  |  1992-07-27  |  2.6 KB  |  63 lines

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