- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to put the .mod files in the directory ./object using the flag '-module ./object'. But all the .mod files are in the current directory. What's wrong?
Thanks for your hint.
Feipeng
Thanks for your hint.
Feipeng
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just did the quick experiment, and it worked for me.
How about sharing the exact command line, and the version of the compiler that you're using, and then maybe we can figure out the issue.
- Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, it's just my mistake.
I have a Makefile for three platforms with different compilers: ifort, lf95 (Lahey/Fujitsu), f95 (Sun workstation). lf95 and f95 use the option -M./object to specify the path of .mod files. When I copy the software to ifort, -M was not recognized correctly and the .mod files are put into the current directory. After I changed the Makefile and run 'make clean', the old .mod files were not removed.
In fact, it works well.
Thanks for your kindness.
Feipeng
I have a Makefile for three platforms with different compilers: ifort, lf95 (Lahey/Fujitsu), f95 (Sun workstation). lf95 and f95 use the option -M./object to specify the path of .mod files. When I copy the software to ifort, -M was not recognized correctly and the .mod files are put into the current directory. After I changed the Makefile and run 'make clean', the old .mod files were not removed.
In fact, it works well.
Thanks for your kindness.
Feipeng

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