I am using Intel(R) Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2010, In my fortran code, the encountered problem is that I can not use "function" in my module, currently I just change the "function" to "subroutine" to simply abviate this problem.
When I use function in my code, I always meet with the error " error LNK2019 ".
Can anyone tell me how to resolve this problem? Thank you very much!
For the attached file, I can't compile successfully.