- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ifort users & developers,
I am applying the guidelines here to generate a makefile from a windows build. One usual outcome I noticed with the dependency file is it does not list object dependencies for source files in sub folders. So for example, if the I have following source directory tree:
. └── src ├── main.f90 ├── file_1.f90 └── trapezoid ├── trap_1.f90 └── trap_2.f90
The the *.dep file for the build has this as output:
file_1.mod : \ C:\user\testmake\src\file_1.f90 x64\Release\file_1.obj : \ C:\user\testmake\src\file_1.f90 \ main.mod : \ C:\user\testmake\src\main.f90 x64\Release\main.obj : \ C:\user\testmake\src\main.f90 \ x64\Release\file_1.mod \ x64\Release\trap_1.mod \ x64\Release\trap_2.mod
What's odd above is the *.dep file does not output object dependencies for sources in the ./trapezoid directory. I've enabled the /gen-dep flag. Aside from this, are there other flags I need to activate to output dependencies for the entire build?
The BuildLog.htm file indicates all four files were compiled in the build. I'm using ifort parallel studio 2015 bundled with the Visual Studio IDE to create the BuildLog.htm and dependency file.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know that gen_dep has had several fixes over the years. Try the 2019 release.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page