Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29262 Discussions

Error Message from FORTRAN COMPILER

jerry_chn
Beginner
1,026 Views
I am modifying a program and when I tried to create FORTRAN.EXE and test the modified file in FORTRAN complier, I got a long list of error messages. Basically there are three types of the messages:
1. "File name<4832>: warning F4999: M (note: avariable): variable declared but not used"
2. "File name<5736>:error F2115: syntax error"
3. ""File name<5818>: error F3606: ITASDUMP: formal argument 1: type mismatch"
When I ran the original file in the compiler, there is no problem at all. So it must be something I did wrong in the modifications. I have no clue what went wrong. Can anyone help?
Thanks!!!

Message Edited by Jerry_CHN on 11-02-2005 08:38 PM

0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,026 Views
What compiler is this? (Vendor and version) I don't quite recognize the error message syntax. In any event, these messages do suggest that your modifications are incorrect. Without seeing the code, though, all we could do is give you generic advice.
0 Kudos
jerry_chn
Beginner
1,026 Views
It is a quite long code. All I know about the complier is that it is a copy of the Microsoft FORTRAN version 5.1
0 Kudos
sabalan
New Contributor I
1,026 Views

Oh, that compiler...:robotmad: In DOS, with PWB... It is a pain; it is a torture to work with. I still have to work with it in some of our labs because of some old 16-bite data acquisition board.:robotsad:

For less pain, I suggest that you find and use some utility to compare the old file with the newone to see what you have changed. CVF, which is for Windows and not for DOS, has a good WinDiff utility for this purpose.

Good luck,

Sabalan.

0 Kudos
Steven_L_Intel1
Employee
1,026 Views
I use BeyondCompare2 from www.scootersoftware.com . There is a 30-day free trial.
0 Kudos
jerry_chn
Beginner
1,026 Views
Thanks, Steve and Sabalan, this is really helpful. I appreciate your kind help. I will keep you posted.
0 Kudos
jerry_chn
Beginner
1,026 Views
Problem solved. It has something to do with a special feature of FORTRAN 77. Codes can only be put in columns between col. 7 and col. 72. Our code was too long.
Thanks for all your kind help!
0 Kudos
Reply