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

Error #6633 Intel Fortran 11.1.065

sarabjyot
Beginner
555 Views
I have a piece of code which is compiling on Intel Version 9.1. I recently downloaded Intel 11.1.065 and compiled the same code and have the following error.

error #6633: The type of the actual argument differs from the type of the dummy argument.

The code is

subroutine test
implicit none

external rou1

status = signal (2,rou1,-1)

end subroutine

subroutine rou1
implicit none

call rou2
end subroutine

Do I need to make any modifications for the code to compile with the new compiler.

Thanks.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
555 Views
There should be more to the program than this. 9.1 did not have "interface checking" on by default, 11.1 does. What is the line of code that the error message was given for, what are the declarations of the arguments in the argument list and what does the called routone have for its argument list and declarations?

The error message identified a particular actual argument in the call whose type differs from what is declared in the called routine. This is not legal Fortran, though sometimes people code such mismatches deliberately. If you provide us the information I asked for, we can advise you better.
0 Kudos
mecej4
Honored Contributor III
555 Views
The good Doctor Fortran is very patient and has excellent bedside manners, but cases such as the present ones are bound to, shall we say, make his day "interesting"?

Any compiler, from Intel or not, would have flagged 'signal' and 'status' as undeclared variables. Unless the compiler had seen a previous declaration for 'signal', it would not have complained about argument type mismatches.

Please provide a complete test program source, a 'reproducer' or 'bug-catcher' as it is sometimes called.
0 Kudos
Reply