- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When trying to compile my program with modules in it I keep getting the following variation of the same error code:
error 7002: error in opening the compiled module file. Check INCLUDE paths. [FILENAME]
USE FILENAME
What do I need to do to fix it?
When trying to compile my program with modules in it I keep getting the following variation of the same error code:
error 7002: error in opening the compiled module file. Check INCLUDE paths. [FILENAME]
USE FILENAME
What do I need to do to fix it?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This error means the.mod file for the moduleFILENAME cannot be found.Modules need to be compiled before files that depend on the module is compiled. If you are using Visual Studio, it will do this automatically.
Annalee
Intel Developer Support
This error means the.mod file for the moduleFILENAME cannot be found.Modules need to be compiled before files that depend on the module is compiled. If you are using Visual Studio, it will do this automatically.
Annalee
Intel Developer Support
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This error means the.mod file for the moduleFILENAME cannot be found.Modules need to be compiled before files that depend on the module is compiled. If you are using Visual Studio, it will do this automatically.
Annalee
Intel Developer Support
This error means the.mod file for the moduleFILENAME cannot be found.Modules need to be compiled before files that depend on the module is compiled. If you are using Visual Studio, it will do this automatically.
Annalee
Intel Developer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your reply and help. I've compiled most of the modules but now I get the following errors for one:
error 7113: Each ac-value expression in an array-constructor must have the same type and type parameters. [HH] Position =
error 6633: The type of the actual argument differs from the type of the dummy argument [0.03]
PRP = SAT
Any idea on how to fix these is appreciated.
Thanks for your reply and help. I've compiled most of the modules but now I get the following errors for one:
error 7113: Each ac-value expression in an array-constructor must have the same type and type parameters. [HH] Position =
error 6633: The type of the actual argument differs from the type of the dummy argument [0.03]
PRP = SAT
Any idea on how to fix these is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I presume '<' == '(' and '>' == ')'.
The type and kind (probably) of HH doesn't match the type and kind of the 0.0 constants - they are default real. How is HH declared? You may need to add a kind qualifier to the constants - 0.0_8 or similar, to match however HH is declared; or you will need to convert HH to be default real ( REAL(HH) ).
Similarly the type and kind of 0.03 (again, default real) doesn't match the relevant dummy argument of the SAT function. What do the dummy arguments of SAT look like?
The type and kind (probably) of HH doesn't match the type and kind of the 0.0 constants - they are default real. How is HH declared? You may need to add a kind qualifier to the constants - 0.0_8 or similar, to match however HH is declared; or you will need to convert HH to be default real ( REAL(HH) ).
Similarly the type and kind of 0.03 (again, default real) doesn't match the relevant dummy argument of the SAT function. What do the dummy arguments of SAT look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The dummy arguments for the SAT function look like:
REAL(ReKi) :: SAT
REAL(ReKi),INTENT(IN) :: SLOPE
REAL(ReKi),INTENT(IN) :: VAL
REAL(ReKi),INTENT(IN) :: X
HH is delcared as follows:
REAL(ReKi) :: HH
The (ReKi) is the precision type
REAL(ReKi) :: SAT
REAL(ReKi),INTENT(IN) :: SLOPE
REAL(ReKi),INTENT(IN) :: VAL
REAL(ReKi),INTENT(IN) :: X
HH is delcared as follows:
REAL(ReKi) :: HH
The (ReKi) is the precision type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can fix the array constructor via:
Position = [0.0_ReKi, 0.0_ReKi, HH]
or
Position = [REAL(ReKi) :: 0, 0, HH]
or maybe
Position = [REAL(KIND(HH)) :: 0, 0, HH]
The function invocation I would fix as:
PRP = SAT(PRP, 0.03_ReKi, 0.1_ReKi)
Position = [0.0_ReKi, 0.0_ReKi, HH]
or
Position = [REAL(ReKi) :: 0, 0, HH]
or maybe
Position = [REAL(KIND(HH)) :: 0, 0, HH]
The function invocation I would fix as:
PRP = SAT(PRP, 0.03_ReKi, 0.1_ReKi)

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