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

What does compiler error $6419 mean?

dajum81
Novice
179 Views

I have a subroutine that calls a routine called CYCLIC that is defined as an entry point in another routine in a library.  But it gives this error: error #6419: This scalar name is invalid in this context. [CYCLIC]

I added an interface block (which wasn't in the first version)  which then gave this error: error #6623: The procedure name of the INTERFACE block conflicts with a name in the encompassing scoping unit. [CYCLIC]

 

This is a very old routine that has been called many times in older versions of the compiler.  Is this something new in oneAPI 2021.11?

A simplified source for the problem looks like this (only formatted to start in column 7)
SUBROUTINE TD_CYCLIC
USE USERCOMMONDATA
interface
subroutine cyclic
end subroutine
end interface
PERIOD_CYC = B__PERIOD_CYC
CONVTOL_CYC = B__CONVTOL_CYC
NLOOPS_CYC = B__NLOOPS_CYC
DAMP_CYC = B__DAMP_CYC
ANGLE_CYC = BANGLE_CYC
CALL CYCLIC
RETURN
END

0 Kudos
1 Solution
dajum81
Novice
159 Views

I figured out that a variable called cyclic was also created.  That causes the error!

View solution in original post

1 Reply
dajum81
Novice
160 Views

I figured out that a variable called cyclic was also created.  That causes the error!

Reply