- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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?
- Etiquetas:
- Intel® Fortran Compiler
1 Solución
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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
Enlace copiado
5 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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?
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
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)
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla