Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

what's the difference??

adaige
Beginner
481 Views
My colleague and I are compiling the same source code to DLL. He successed and i failed.
we are using the same IDE and fortran compiler.
the difference i can see is:
1. the size of DLL are different, mine is a little bit smaller.
2. in my buildlog file, there is one section missing (marked with bold) comparing with my colleague's .
Here is my colleague's build log:
Build Log

Build started: Project: discon_pitch_v210_MBC_FlexSim, Configuration: Debug|Win32

Output
Deleting intermediate files and output files for project 'discon_pitch_v210_MBC_FlexSim', configuration 'Debug|Win32'.
Compiling with Intel Visual Fortran 11.1.054 [IA-32]...
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotC:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\Projects\\DLL_Discon_MBC\\control\\pitch\\Pitch_Module.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotC:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\Projects\\DLL_Discon_MBC\\control\\common\\Lib_Fns.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotC:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\Projects\\DLL_Discon_MBC\\control\\common\\discon.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotC:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\Projects\\DLL_Discon_MBC\\control\\pitch\\Pitch_Monitor.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotC:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\Projects\\DLL_Discon_MBC\\control\\pitch\\Pitch_Control.F90"
Compiling manifest to resources...
rc.exe /fo &quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll.embed.manifest.res" &quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll.embed.manifest.rc"
Microsoft Windows Resource Compiler Version 6.0.5724.0
Copyright (C) Microsoft Corporation. All rights reserved.
Linking...
Link /OUT:&quotDebug\\discon_pitch_v210_MBC_FlexSim.dll" /NOLOGO /MANIFEST /MANIFESTFILE:&quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll.intermediate.manifest" /DEBUG /PDB:&quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:&quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.lib" /DLL &quotDebug\\Pitch_Module.obj" &quotDebug\\Lib_Fns.obj" &quotDebug\\discon.obj" &quotDebug\\Pitch_Monitor.obj" &quotDebug\\Pitch_Control.obj" &quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll.embed.manifest.res"
Link: executing 'link'
Creating library D:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.lib and object D:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.exp
Embedding manifest...
mt.exe /nologo /outputresource:&quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll;#2" /manifest &quotD:\\Projects\\DLL_Discon_MBC\\control\\Debug\\discon_pitch_v210_MBC_FlexSim.dll.intermediate.manifest"
discon_pitch_v210_MBC_FlexSim - 0 error(s), 0 warning(s)
Here is my buildlog:
Build Log

Build started: Project: Dll1, Configuration: Debug|Win32

Output
Deleting intermediate files and output files for project 'Dll1', configuration 'Debug|Win32'.
Compiling with Intel Visual Fortran 11.1.054 [IA-32]...
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotc:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\VF\\DLL_Charu\\Dll1\\pitch\\Pitch_Module.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotc:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\VF\\DLL_Charu\\Dll1\\common\\Lib_Fns.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotc:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\VF\\DLL_Charu\\Dll1\\common\\discon.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotc:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\VF\\DLL_Charu\\Dll1\\pitch\\Pitch_Monitor.f90"
ifort /nologo /debug:full /gen-interfaces /module:&quotDebug\\\\" /object:&quotDebug\\\\" /traceback /check:bounds /libs:static /threads /c /Qvc9 /Qlocation,link,&quotc:\\Program Files\\Microsoft Visual Studio 9.0\\VC\\bin" &quotD:\\VF\\DLL_Charu\\Dll1\\pitch\\Pitch_Control.F90"
Linking...
Link /OUT:&quotDebug\\Dll1.dll" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:&quotD:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.dll.intermediate.manifest" /DEBUG /PDB:&quotD:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:&quotD:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.lib" /DLL &quotDebug\\Pitch_Module.obj" &quotDebug\\Lib_Fns.obj" &quotDebug\\discon.obj" &quotDebug\\Pitch_Monitor.obj" &quotDebug\\Pitch_Control.obj"
Link: executing 'link'
Creating library D:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.lib and object D:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.exp
Embedding manifest...
mt.exe /nologo /outputresource:&quotD:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.dll;#2" /manifest &quotD:\\VF\\DLL_Charu\\Dll1\\Dll1\\Debug\\Dll1.dll.intermediate.manifest"
Dll1 - 0 error(s), 0 warning(s)
Can anybody tell me what's wrong with my compiler????
Many thanks.
0 Kudos
1 Reply
mecej4
Honored Contributor III
481 Views
> He successed and i failed.

There is nothing to support that statement in the two build logs (which I had to save as a .htm file and open in a browser, since I am not a good HTML interpreter myself).

Both of the logs show that a DLL was built with no error messages.

In your case, if the .RC file had been previously compiled to a .RES earlier, the build system would have skipped calling the resource compiler.
0 Kudos
Reply