- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
as we know, the .mod file will be Created if a source file being compiled defines a Fortran module (MODULE statement).
the .mod file will be in the current path
Can I specify the Path where this file will be ceated to, and How?
thanks for you attention!
the .mod file will be in the current path
Can I specify the Path where this file will be ceated to, and How?
thanks for you attention!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As documented in the ifort Users guide, use the -module option.
module
Specifies the directory where module files should be placed when created and where they should be searched for.
Syntax
Linux and Mac OS X: -module path
Windows: /module:path
Arguments
path Is the directory for module files.
![](/skins/images/98E68944C1FF703B8AC50091329B92AF/responsive_peak/images/icon_anonymous_message.png)
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