- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use Intel Visual Fortran 10.1.029 with Visual Studio 2008. I have the following problem:
by compiling the same Fortran project in Visual Studio 2008 with the same files from two different PCs (the project which is compiled is located in a network disk so it really is the same for both PCs) I get two different exe files. The same version of Visual Studio (2008 Professional) and Intel Visual Fortran (10.1.029) are installed in both PCs. Analyzing the respective "BuildLog.htm" files I noticed that files are compiled in a different order depending on which PC is used (even if the project is the same).
However, using a batch file I managed to compile the projects files (.for) according to a fixed order and the resulting exe files of the two compilations on the two PCs are the same.
Does it exist a way or an option in the Visual Studio 2008 IDE to specify the compilation order of the files?
Thank you,
regards.
by compiling the same Fortran project in Visual Studio 2008 with the same files from two different PCs (the project which is compiled is located in a network disk so it really is the same for both PCs) I get two different exe files. The same version of Visual Studio (2008 Professional) and Intel Visual Fortran (10.1.029) are installed in both PCs. Analyzing the respective "BuildLog.htm" files I noticed that files are compiled in a different order depending on which PC is used (even if the project is the same).
However, using a batch file I managed to compile the projects files (.for) according to a fixed order and the resulting exe files of the two compilations on the two PCs are the same.
Does it exist a way or an option in the Visual Studio 2008 IDE to specify the compilation order of the files?
Thank you,
regards.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, there is not a way to specify the compilation order. Visual Studio picks an order that satisfies the build dependencies, but if there is more than one such order you can't predict which it will choose. Having the sources on a network share introduces some more variance as file timestamps have lower granularity than for local files.

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