Need Help: compiling old Fortran program
- From: Förster vom Silberwald <chain_lube@xxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 06:32:33 -0700
Hello: I do not touch Fortran for the obvious reasons. However,
someone
handed over a program to me. After trying to compile it by means of
g77 on Mac OSX I
get the following error messages:
==
preprces.f: In subroutine `comsig':
preprces.f:585:
IF (R(J) .EQ. 0.D0) GO TO 40
1
preprces.f:587: (continued):
DO 40 I = 1,NWVL
2
Reference to label at (2) inconsistent with earlier reference at (1)
preprces.f: In subroutine `pplot':
preprces.f:1189:
5 (QSAVE(I,J,3,L3) .GT. Q1EST))) GO TO
160
1
preprces.f:1190: (continued):
30 DO 160 K1 = 1,3
2
Reference to label at (2) inconsistent with earlier reference at (1)
==
In the following I am giving the particular line sections:
==
30 DO 40 J = 1,137
IF (R(J) .EQ. 0.D0) GO TO 40 .... !!!!!LINE 585!!!!!
AR = PI * R(J)**2 * 1.0D-08
DO 40 I = 1,NWVL ... !!!!!LINE 587!!!!!
ALFA = 2.0D0 * PI * R(J) / WVL(I)
SIGEXT(I,J) = QEXT1(ALF,QT,ALFA) * AR
40 CONTINUE
==
==
DO 160 I1 = 1,7
I = I1
IF (IMIN .NE. 0) GO TO 30
L1 = NITER(I,J,1)
L2 = NITER(I,J,2)
L3 = NITER(I,J,3)
IF (((QSAVE(I,J,1,L1) .EQ. 0.0D0) .OR.
1 (QSAVE(I,J,1,L1) .GT. Q1EST)) .OR.
2 ((QSAVE(I,J,2,L2) .EQ. 0.0D0) .OR.
3 (QSAVE(I,J,2,L2) .GT. Q1EST)) .OR.
4 ((QSAVE(I,J,3,L3) .EQ. 0.0D0) .OR.
5 (QSAVE(I,J,3,L3) .GT. Q1EST))) GO TO
160 !!!! LINE 1189!!!!!!!
30 DO 160 K1 = 1,3 !!!!!!!!!!!!!!!!! LINE
1190 !!!!!!!!!!!!!
K = K1
ITEND = NITER(I,J,K)
IF (ITEND .EQ. 0) GO TO 160
IF (IMIN .EQ. 0) GO TO 40
I = IMIN
J = JMIN
==
What are the reasons for the error messages? Thanks!
.
- Follow-Ups:
- Re: Need Help: compiling old Fortran program
- From: Wade Ward
- Re: Need Help: compiling old Fortran program
- From: alexei . matveev
- Re: Need Help: compiling old Fortran program
- From: Walter Spector
- Re: Need Help: compiling old Fortran program
- From: Tim Prince
- RE: Need Help: compiling old Fortran program
- From: meek
- Re: Need Help: compiling old Fortran program
- Prev by Date: Re: memory problem, I guess
- Next by Date: Re: SAVE - Continued.....
- Previous by thread: SAVE - Continued.....
- Next by thread: RE: Need Help: compiling old Fortran program
- Index(es):
Relevant Pages
|