- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out that a variable called cyclic was also created. That causes the error!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I figured out that a variable called cyclic was also created. That causes the error!

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