What am I doing wrong?
I’m new to VS 2019 with Intel Fortran 2023.2
I write a simple code to learn how to use modules.
program test
use subroutines_mod
implicit none
double precision a, res
a = 9
call dada (a, res)
type*, "a, res ", a, res
pause
end program
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [SUBROUTINES_MOD]
But SUBROUTINES_MOD compiled fine
module subroutines
implicit none
contains
subroutine dada(viene, va)
double precision, intent(in) :: viene
double precision, intent(out) :: va
va = viene/4
end subroutine
end module
The main program file and the module file are in the same directory as the .vfproj and .sln files. The compiled file subroutines.mod is in \Debug, as it should. Configuration is Debug, x86, platform x32. I change to platform x86, same error.