Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

usage of modules

$
0
0

Dear community,

I have a project to port from Linux to Windows. I habe several files with definitions of modules und other which use this modules.
When I try to compile my files in a batch-script I get errors. The modules are places in the path that I specify by the command line parameter.
But the modules will not be found by the other files?!?

Error message is:

mod_math.f(5): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MOD_NUM]
      use mod_num
----------^
mod_math.f(13): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MOD_NUM]
      use mod_num
----------^

My compiler command is:

set modp=c:\fvv\mudules

IFORT=ifort /c /object:..\exec\ /module:%modp% /DABQ_WIN86_64 /extend-source /iface:cref /recursive /Qauto-scalar /QxSSE3 /QaxAVX /nologo /heap-arrays:1 /Od /Qvec-report0 /include:%I /I%modp%

I have tried it also with the /I option and have put the modules in the same directory.

I am confused. Have anyone an idea?

Thanks in Advance

Cetin


Viewing all articles
Browse latest Browse all 3270


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>