- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I moved to intel visual fortran from other compiler. I wrote a simple code as shown below, which is giving error as 'Error in opening the compiled module file. Check INCLUDE paths.'
program HelloWorldF90
use msimsl
write(*,*) "Greetings, denizens of planet Earth!"
pause
end program HelloWorldF90
I tried the calender sample program, found similar error as
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CALNMOD]
the part of the same code....
program Calendar
USE CALNMOD !Data Module
USE IFQWIN
USE IFNLS
implicit none
INTEGER(2) fontnum, numfonts
INTEGER(4) cp
type (xycoord) pos
Am I doing something wrong here?
Thanks in advance
program HelloWorldF90
use msimsl
write(*,*) "Greetings, denizens of planet Earth!"
pause
end program HelloWorldF90
I tried the calender sample program, found similar error as
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CALNMOD]
the part of the same code....
program Calendar
USE CALNMOD !Data Module
USE IFQWIN
USE IFNLS
implicit none
INTEGER(2) fontnum, numfonts
INTEGER(4) cp
type (xycoord) pos
Am I doing something wrong here?
Thanks in advance
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - skravoof
I moved to intel visual fortran from other compiler. I wrote a simple code as shown below, which is giving error as 'Error in opening the compiled module file. Check INCLUDE paths.'
program HelloWorldF90
use msimsl
write(*,*) "Greetings, denizens of planet Earth!"
pause
end program HelloWorldF90
I tried the calender sample program, found similar error as
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CALNMOD]
the part of the same code....
program Calendar
USE CALNMOD !Data Module
USE IFQWIN
USE IFNLS
implicit none
INTEGER(2) fontnum, numfonts
INTEGER(4) cp
type (xycoord) pos
Am I doing something wrong here?
Thanks in advance
program HelloWorldF90
use msimsl
write(*,*) "Greetings, denizens of planet Earth!"
pause
end program HelloWorldF90
I tried the calender sample program, found similar error as
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CALNMOD]
the part of the same code....
program Calendar
USE CALNMOD !Data Module
USE IFQWIN
USE IFNLS
implicit none
INTEGER(2) fontnum, numfonts
INTEGER(4) cp
type (xycoord) pos
Am I doing something wrong here?
Thanks in advance
Make sure that the modules you are USING are required for the program ... e.g.
HelloWorld is not using module MSIMSL, so the USE statement is not required.
In the Calendar example, if the module CALNMOD is needed by the program, then the file containing this module needs to be compiled before you compile the program file.
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
skravoof :
Quoting - David White
In the Calendar example, if the module CALNMOD is needed by the program, then the file containing this module needs to be compiled before you compile the program file.
This point made by David is the important one : the CALNMOD module (and any other relevant modules) needs to be compiled first.
Also as the error message says, in your project "include paths" you will need to provide a link to thedirectory where to findthe calnmod.mod file.
Les

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