- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, there is no such tool and haven't heard of anything that might help. Visual Studio has a built-in Dependency Checker that ensures compilation order from what I understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Windows in Visual Studio, the Intel Fortran integration adds logic so that Visual Studio can do the dependence checking for project builds. It is not a separate tool. We don't have a makefile generator but if you do a web search for "fortran makefile generator" you will see several options.
In a future release the compiler will support creation of a makefile dependency fiile similar to gcc's -M (I think I have that right.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Stefan,
I haven't tried this hack, if you are up to performing an experiment... (I'm not a Mac or Linux user)
iif the current dependency checker makes dependencies on INCLUDE 'foo.inc' files
then you can try replacing
USE FOO
with
INCLUDE 'USE_FOO.INC'
And USE_FOO.INC contains
USE FOO
This also requires a make file for your modules which when FOO.F90 is compiled it performs TOUCH USE_FOO.INC
you may have to be careful not to create a circular dependency with this seciton.
Now you perform a make on the modules, then make on your projects.
Jim Dempsey

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