Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORTRAN 77 Error Messeage F4999

Status
Not open for further replies.

BinZH

Programmer
Nov 3, 2005
5
CA
I am modifying a fortran program and all I need to do is to add four new variables. However, I kept getting F4999 error message from the fortran compiler saything that there are several variables (none of these are the new variables that I added) declared but not used. I have no clue what caused the problem. Can anyone help? Thanks!

P.S. I paid attention to keep the code in the columns between 7-72.
 
Well, it turns out to be column problem. I solved it already. Now I have a new problem. I got a error message of FORTRAN fatal error F1050

<name> : code segment too large

Can anyone suggest a solution?

Thanks!
 
I've seen a 10000 line subroutine compile without any problems and that was on 16 bit windows. How many lines is this code segment?

Have you tried splitting it into subroutines?

Which OS/Compiler are you using?
 
I think the complier is a copy of the Microsoft FORTRAN version 5.1

I used subroutines already. I solved the problem by deleting one line or two.

Thanks for your reply. Appreciate it the same!
 
HI, XWB, can I send you an e-mail asking you a question about coding? I had a problem with FORTRAN coding and the program is not doing what it is supposed to do correctly. Obviously you are an expert at FORTRAN 77!

Thanks and I look forward to your reply.
 
I don't know what the rules of this forum are. I don't know if we are supposed to give out addresses. I got told off once but I don't know whether it was this forum or some other one. If you post it to somewhere in cyberspace, we can pick it up from there.
 

Please go to the above website. Look at the message saying "Need Urgent Help with Programming in Fortran". Then you can find my e-mail address there. Please send an e-mail to me first so that I can send a detailed description of my problem to you. Thanks!!! I look forward to your reply at your early convenience!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top