- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page