- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ifort for Windows has a /module:path option to "specify path where mod files should be placed and first location to look for mod files". Is there an environment variable I can set to do the same thing, so that I don't need to use the /module:path option each time I compile? I don't want to store module files in the local directory, because they will overwrite the .mod files produced by gfortran. Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
INCLUDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Setting INCLUDE will tell ifort where to look for module files, but when compiling, module files are still created in the local directory, which I want to avoid. Perhaps I should just use the /module:path option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I misunderstood. No, there isn't an environment variable for the module output (nor the object output). Why not set the default folder to where you want the output and compile the sources from elsewhere?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page