home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / ultrix / 8126 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.2 KB  |  57 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!still3.chem.columbia.edu!shenkin
  3. From: shenkin@still3.chem.columbia.edu (Peter Shenkin)
  4. Subject: Fortran compilation problem
  5. Originator: shenkin@still3.chem.columbia.edu
  6. Sender: nobody@ctr.columbia.edu
  7. Organization: Dept. of Chem, Columbia U., New York
  8. Date: Fri, 6 Nov 1992 16:57:14 GMT
  9. Message-ID: <1992Nov6.165714.3139@sol.ctr.columbia.edu>
  10. X-Posted-From: still3.chem.columbia.edu
  11. NNTP-Posting-Host: sol.ctr.columbia.edu
  12. Lines: 43
  13.  
  14.  
  15. System:  ULTRIX 4.2 0 RISC
  16.  
  17. I have a long source module with about a half-dozen subroutines in it.  I
  18. was making modifications to one routine, near the middle of the file.  
  19. When I removed an IF...ENDIF construct near the beginning of the routine,
  20. attempts to compile the module started giving the following:
  21.  
  22. f77  -static -g  -c bmin1a.f
  23. Fatal error in: /usr/lib/cmplrs/fort/decfort Segmentation fault
  24. *** Error code 1
  25.  
  26. Stop.
  27.  
  28. This module compiles just fine on other machines, and when I extract the
  29. subroutine in question it compiles just fine on the DECstation;  so does
  30. the rest of the module with this subroutine removed.  Inserting a
  31. garbage block IF, such as:
  32.  
  33.     IF( SOLINT )THEN
  34.           NN = 0
  35.         ENDIF
  36.  
  37. in place of the (longer) block IF just removed been causes the combined 
  38. module to compile just fine;  SOLINT is a local LOGICAL.  If "SOLINT" is 
  39. replaced by ".TRUE." compilation fails, and compilation also fails if the 
  40. block IF is replacecd with the the simple line, "IF( .TRUE. ) NN = 0".
  41.  
  42. This is pretty bad.  Any ideas?
  43.  
  44.     -P.
  45. -- 
  46. ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
  47. Peter S. Shenkin  shenkin@still3.chem.columbia.edu   Columbia Univ., Chemistry
  48. ********* DEMOCRACY:  The theory that the people know what they want, ********
  49. ********** and deserve to get it good and hard.  -- H. L. Mencken ************
  50.  
  51.  
  52. -- 
  53. ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
  54. Peter S. Shenkin  shenkin@still3.chem.columbia.edu   Columbia Univ., Chemistry
  55. ********* DEMOCRACY:  The theory that the people know what they want, ********
  56. ********** and deserve to get it good and hard.  -- H. L. Mencken ************
  57.