home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!caen!sol.ctr.columbia.edu!still3.chem.columbia.edu!shenkin
- From: shenkin@still3.chem.columbia.edu (Peter Shenkin)
- Subject: Fortran compilation problem
- Originator: shenkin@still3.chem.columbia.edu
- Sender: nobody@ctr.columbia.edu
- Organization: Dept. of Chem, Columbia U., New York
- Date: Fri, 6 Nov 1992 16:57:14 GMT
- Message-ID: <1992Nov6.165714.3139@sol.ctr.columbia.edu>
- X-Posted-From: still3.chem.columbia.edu
- NNTP-Posting-Host: sol.ctr.columbia.edu
- Lines: 43
-
-
- System: ULTRIX 4.2 0 RISC
-
- I have a long source module with about a half-dozen subroutines in it. I
- was making modifications to one routine, near the middle of the file.
- When I removed an IF...ENDIF construct near the beginning of the routine,
- attempts to compile the module started giving the following:
-
- f77 -static -g -c bmin1a.f
- Fatal error in: /usr/lib/cmplrs/fort/decfort Segmentation fault
- *** Error code 1
-
- Stop.
-
- This module compiles just fine on other machines, and when I extract the
- subroutine in question it compiles just fine on the DECstation; so does
- the rest of the module with this subroutine removed. Inserting a
- garbage block IF, such as:
-
- IF( SOLINT )THEN
- NN = 0
- ENDIF
-
- in place of the (longer) block IF just removed been causes the combined
- module to compile just fine; SOLINT is a local LOGICAL. If "SOLINT" is
- replaced by ".TRUE." compilation fails, and compilation also fails if the
- block IF is replacecd with the the simple line, "IF( .TRUE. ) NN = 0".
-
- This is pretty bad. Any ideas?
-
- -P.
- --
- ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
- Peter S. Shenkin shenkin@still3.chem.columbia.edu Columbia Univ., Chemistry
- ********* DEMOCRACY: The theory that the people know what they want, ********
- ********** and deserve to get it good and hard. -- H. L. Mencken ************
-
-
- --
- ************************f*u*cn*rd*ths*u*cn*gt*a*gd*jb*************************
- Peter S. Shenkin shenkin@still3.chem.columbia.edu Columbia Univ., Chemistry
- ********* DEMOCRACY: The theory that the people know what they want, ********
- ********** and deserve to get it good and hard. -- H. L. Mencken ************
-