Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Sometimes icl.exe does not compile some cpp source files

Przemysław_O_
Beginner
298 Views

Hi,

here is a cut from my build log. In the 7th line you can see icl.exe command line. In the file list you can also see the QRegler.cpp file, but this file (and some other files) are not compiled, what causes linker error, because the obj files are not present.

It happend sometimes, but not always. If I start new build after that, everything goes fine. Until next time.

Have you got any clue?

Best regards

Przemek

Here my log:

[13:09:51][Source\ExtranSim\ExtranSim.vcxproj] ClCompile (18s)
[13:09:51][ClCompile] ***** ClCompile (x64 - Intel C++)
[13:09:51][ClCompile] ICL (3s)
[13:09:51][ICL] C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\bin\Intel64\icl.exe /c /Qm64 /I. /Zi /nologo /W3 /MP /O2 /Oi /Qipo /D __INTEL_COMPILER=1600 /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D EXTRANSIMULATIONNAT_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /EHsc /MD /GS /Gy /fp:precise /Qoffload-option,mic,compiler,"-tbb" /Zc:wchar_t /Zc:forScope /Yc"StdAfx.h" /Fp"x64\Release64\ExtranSim.pch" /Fo"x64\Release64\\" /Fd"x64\Release64\vc140.pdb" /Wpch-messages- /TP /Qoption,cpp,--pch_control=268435456 stdafx.cpp
[13:09:52][ICL] stdafx.cpp
[13:09:55][ClCompile] ICL (14s)
[13:09:55][ICL] C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\bin\Intel64\icl.exe /c /Qm64 /I. /Zi /nologo /W3 /MP /O2 /Oi /Qipo /D __INTEL_COMPILER=1600 /D WIN32 /D NDEBUG /D _WINDOWS /D _USRDLL /D EXTRANSIMULATIONNAT_EXPORTS /D _WINDLL /D _UNICODE /D UNICODE /EHsc /MD /GS /Gy /fp:precise /Qoffload-option,mic,compiler,"-tbb" /Zc:wchar_t /Zc:forScope /Yu"StdAfx.h" /Fp"x64\Release64\ExtranSim.pch" /Fo"x64\Release64\\" /Fd"x64\Release64\vc140.pdb" /Wpch-messages- /TP /Qoption,cpp,--pch_control=268435456 CommunicationHandler.cpp Conduit.cpp Const.cpp Control.cpp Curve.cpp DateTime.cpp DebugOut.cpp Divider.cpp DwfInflow.cpp DynamicWave.cpp ExpressionNode.cpp ExtranSimulationImpl.cpp EXTSIM.cpp FindRoot.cpp FlowRouting.cpp HRegler.cpp IrregularProfile.cpp Junction.cpp KinematicWave.cpp Link.cpp MassBalance.cpp MathExpression.cpp MathParser.cpp NetObject.cpp Netz.cpp Node.cpp Orifice.cpp Outfall.cpp Outlet.cpp Pollutant.cpp Profile.cpp ProjectOptions.cpp Pump.cpp QRegler.cpp QualityRouting.cpp RegularProfile.cpp Routing.cpp RoutingTotals.cpp Rule.cpp RuleAction.cpp RuleClause.cpp RulePremise.cpp RuleVariable.cpp Shape\ShapeBaskethandle.cpp Shape\ShapeCatenary.cpp Shape\ShapeCircular.cpp Shape\ShapeCustom.cpp Shape\ShapeDrachen.cpp Shape\ShapeDummy.cpp Shape\ShapeEgg.cpp Shape\ShapeEiBreit.cpp Shape\ShapeEiGedrueckt.cpp Shape\ShapeEiUeberhoeht.cpp Shape\ShapeFilledCircular.cpp Shape\ShapeForceMain.cpp Shape\ShapeGothic.cpp Shape\ShapeHalbschale.cpp Shape\ShapeHaube.cpp Shape\ShapeHorizEllipse.cpp Shape\ShapeHorseshoe.cpp Shape\ShapeKreisGestreckt.cpp Shape\ShapeKreisUeberhoeht.cpp Shape\ShapeMaul.cpp Shape\ShapeMaulGedrueckt.cpp Shape\ShapeMaulGestaucht.cpp Shape\ShapeMaulGestreckt.cpp Shape\ShapeMaulUeberhoeht.cpp Shape\ShapeMaulUSA.cpp Shape\ShapeModBasket.cpp Shape\ShapeParabel.cpp Shape\ShapeParabolic.cpp Shape\ShapePowerFunc.cpp Shape\ShapeRechteckSohleGeneigt1zu1.cpp Shape\ShapeRechteckSohleGeneigt1zu2.cpp Shape\ShapeRechteckSohleGeneigt2zu1.cpp Shape\ShapeRechteckSohleGeneigtHoriz2B1zu1.cpp Shape\ShapeRechteckSohleGeneigtHoriz2B1zu2.cpp Shape\ShapeRechteckSohleGeneigtHoriz2B2zu1.cpp Shape\ShapeRechteckSohleGeneigtHoriz4B1zu1.cpp Shape\ShapeRechteckSohleGeneigtHoriz4B1zu2.cpp Shape\ShapeRechteckSohleGeneigtHoriz4B2zu1.cpp Shape\ShapeRectangleClosed.cpp Shape\ShapeRectangleOpen.cpp Shape\ShapeRectRound.cpp Shape\ShapeRectTriang.cpp Shape\ShapeSemiCircular.cpp Shape\ShapeSemiElliptical.cpp Shape\ShapeTrapezoidal.cpp Shape\ShapeTriangular.cpp Shape\ShapeVertEllipse.cpp Shape\Xsect.cpp Shape\XsectLookup.cpp Shape\XsectLookupBase.cpp Shape\XsectLookupBaseSwmm.cpp Shape\XsectLookupExtran.cpp Shape\XsectLookupInvers.cpp Simulation.cpp Slide.cpp Statistic.cpp SteadyFlow.cpp Storage.cpp Table.cpp TimePattern.cpp TopoSort.cpp Treatment.cpp UnitConverter.cpp Util.cpp Weir.cpp Zebev.cpp
[13:09:55][ICL] CommunicationHandler.cpp
[13:09:56][ICL] Conduit.cpp
[13:09:56][ICL] ShapeGothic.cpp
[13:09:56][ICL] ShapeHalbschale.cpp
[13:09:56][ICL] ShapeRectangleOpen.cpp
[13:09:57][ICL] ShapeRectRound.cpp
[13:09:57][ICL] ShapeHaube.cpp
[13:09:57][ICL] Simulation.cpp
[13:09:57][ICL] Const.cpp
[13:09:57][ICL] ShapeHorizEllipse.cpp
[13:09:57][ICL] ShapeRectTriang.cpp
[13:09:57][ICL] Control.cpp
[13:09:57][ICL] ShapeHorseshoe.cpp
[13:09:57][ICL] ShapeSemiCircular.cpp
[13:09:58][ICL] Slide.cpp
[13:09:58][ICL] ShapeKreisGestreckt.cpp
[13:09:58][ICL] ShapeSemiElliptical.cpp
[13:09:58][ICL] ShapeKreisUeberhoeht.cpp
[13:09:58][ICL] Curve.cpp
[13:09:58][ICL] ShapeTrapezoidal.cpp
[13:09:58][ICL] ShapeMaul.cpp
[13:09:58][ICL] ShapeTriangular.cpp
[13:09:58][ICL] Statistic.cpp
[13:09:59][ICL] ShapeMaulGedrueckt.cpp
[13:09:59][ICL] ShapeVertEllipse.cpp
[13:09:59][ICL] DateTime.cpp
[13:09:59][ICL] ShapeMaulGestaucht.cpp
[13:09:59][ICL] Xsect.cpp
[13:09:59][ICL] DebugOut.cpp
[13:09:59][ICL] ShapeMaulGestreckt.cpp
[13:09:59][ICL] SteadyFlow.cpp
[13:09:59][ICL] Divider.cpp
[13:10:00][ICL] ShapeMaulUeberhoeht.cpp
[13:10:00][ICL] XsectLookup.cpp
[13:10:00][ICL] ShapeMaulUSA.cpp
[13:10:00][ICL] Storage.cpp
[13:10:00][ICL] XsectLookupBase.cpp
[13:10:00][ICL] ShapeModBasket.cpp
[13:10:00][ICL] DwfInflow.cpp
[13:10:00][ICL] XsectLookupBaseSwmm.cpp
[13:10:00][ICL] ShapeParabel.cpp
[13:10:01][ICL] DynamicWave.cpp
[13:10:01][ICL] Table.cpp
[13:10:01][ICL] XsectLookupExtran.cpp
[13:10:01][ICL] ShapeParabolic.cpp
[13:10:01][ICL] XsectLookupInvers.cpp
[13:10:01][ICL] TimePattern.cpp
[13:10:01][ICL] ShapePowerFunc.cpp
[13:10:01][ICL] ShapeRechteckSohleGeneigt1zu1.cpp
[13:10:01][ICL] ShapeRechteckSohleGeneigtHoriz2B2zu1.cpp
[13:10:02][ICL] ShapeRechteckSohleGeneigt1zu2.cpp
[13:10:02][ICL] TopoSort.cpp
[13:10:02][ICL] ShapeRechteckSohleGeneigtHoriz4B1zu1.cpp
[13:10:02][ICL] ExpressionNode.cpp
[13:10:02][ICL] ShapeRechteckSohleGeneigt2zu1.cpp
[13:10:02][ICL] ShapeRechteckSohleGeneigtHoriz4B1zu2.cpp
[13:10:02][ICL] ExtranSimulationImpl.cpp
[13:10:02][ICL] ShapeRechteckSohleGeneigtHoriz2B1zu1.cpp
[13:10:03][ICL] ShapeRechteckSohleGeneigtHoriz4B2zu1.cpp
[13:10:03][ICL] Treatment.cpp
[13:10:03][ICL] ShapeRechteckSohleGeneigtHoriz2B1zu2.cpp
[13:10:03][ICL] ShapeRectangleClosed.cpp
[13:10:03][ICL] EXTSIM.cpp
[13:10:03][ICL] Can't open file E:\TeamCity\buildAgent\temp\buildTmp\360024srcs.txt for write
[13:10:04][ICL] UnitConverter.cpp
[13:10:04][ICL] Util.cpp
[13:10:04][ICL] Weir.cpp
[13:10:04][ICL] FindRoot.cpp
[13:10:04][ICL] NetObject.cpp
[13:10:04][ICL] FlowRouting.cpp
[13:10:04][ICL] KinematicWave.cpp
[13:10:05][ICL] HRegler.cpp
[13:10:05][ICL] Zebev.cpp
[13:10:05][ICL] Netz.cpp
[13:10:05][ICL] Link.cpp
[13:10:05][ICL] IrregularProfile.cpp
[13:10:06][ICL] Node.cpp
[13:10:06][ICL] Pollutant.cpp
[13:10:06][ICL] Junction.cpp
[13:10:06][ICL] MassBalance.cpp
[13:10:07][ICL] Profile.cpp
[13:10:07][ICL] MathExpression.cpp
[13:10:07][ICL] Orifice.cpp
[13:10:07][ICL] MathParser.cpp
[13:10:08][ICL] ProjectOptions.cpp
[13:10:08][ICL] Outfall.cpp
[13:10:08][ICL] Pump.cpp
[13:10:09][ICL] Outlet.cpp
[13:10:10][Source\ExtranSim\ExtranSim.vcxproj] ResourceCompile
[13:10:10][ResourceCompile] RC
[13:10:10][RC] C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /D _UNICODE /D UNICODE /l"0x0409" /nologo /fo"x64\Release64\app.res" app.rc 
[13:10:10][Source\ExtranSim\ExtranSim.vcxproj] Link (20s)
[13:10:10][Link] XILINK (20s)
[13:10:10]
[XILINK] C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\bin\Intel64\xilink.exe -qm64 /OUT:"..\ExtranIO\bin\Release64\ExtranSim.dll" /INCREMENTAL:NO /NOLOGO tbbproxy.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /NODEFAULTLIB:tbb.lib /MANIFEST:NO /DEBUG /PDB:"..\ExtranIO\bin\Release64\ExtranSim.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /qoffload-ldopts="-tbb" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"..\ExtranIO\bin\Release64\ExtranSim.lib" /MACHINE:X64 /DLL x64\Release64\app.res
x64\Release64\CommunicationHandler.obj
x64\Release64\Conduit.obj
x64\Release64\Const.obj
x64\Release64\Control.obj
x64\Release64\Curve.obj
x64\Release64\DateTime.obj
x64\Release64\DebugOut.obj
x64\Release64\Divider.obj
x64\Release64\DwfInflow.obj
x64\Release64\DynamicWave.obj
x64\Release64\ExpressionNode.obj
x64\Release64\ExtranSimulationImpl.obj
x64\Release64\EXTSIM.obj
x64\Release64\FindRoot.obj
x64\Release64\FlowRouting.obj
x64\Release64\HRegler.obj
x64\Release64\IrregularProfile.obj
x64\Release64\Junction.obj
x64\Release64\KinematicWave.obj
x64\Release64\Link.obj
x64\Release64\MassBalance.obj
x64\Release64\MathExpression.obj
x64\Release64\MathParser.obj
x64\Release64\NetObject.obj
x64\Release64\Netz.obj
x64\Release64\Node.obj
x64\Release64\Orifice.obj
x64\Release64\Outfall.obj
x64\Release64\Outlet.obj
x64\Release64\Pollutant.obj
x64\Release64\Profile.obj
x64\Release64\ProjectOptions.obj
x64\Release64\Pump.obj
x64\Release64\QRegler.obj
x64\Release64\QualityRouting.obj
x64\Release64\RegularProfile.obj
x64\Release64\Routing.obj
x64\Release64\RoutingTotals.obj
x64\Release64\Rule.obj
x64\Release64\RuleAction.obj
x64\Release64\RuleClause.obj
x64\Release64\RulePremise.obj
x64\Release64\RuleVariable.obj
x64\Release64\ShapeBaskethandle.obj
x64\Release64\ShapeCatenary.obj
x64\Release64\ShapeCircular.obj
x64\Release64\ShapeCustom.obj
x64\Release64\ShapeDrachen.obj
x64\Release64\ShapeDummy.obj
x64\Release64\ShapeEgg.obj
x64\Release64\ShapeEiBreit.obj
x64\Release64\ShapeEiGedrueckt.obj
x64\Release64\ShapeEiUeberhoeht.obj
x64\Release64\ShapeFilledCircular.obj
x64\Release64\ShapeForceMain.obj
x64\Release64\ShapeGothic.obj
x64\Release64\ShapeHalbschale.obj
x64\Release64\ShapeHaube.obj
x64\Release64\ShapeHorizEllipse.obj
x64\Release64\ShapeHorseshoe.obj
x64\Release64\ShapeKreisGestreckt.obj
x64\Release64\ShapeKreisUeberhoeht.obj
x64\Release64\ShapeMaul.obj
x64\Release64\ShapeMaulGedrueckt.obj
x64\Release64\ShapeMaulGestaucht.obj
x64\Release64\ShapeMaulGestreckt.obj
x64\Release64\ShapeMaulUeberhoeht.obj
x64\Release64\ShapeMaulUSA.obj
x64\Release64\ShapeModBasket.obj
x64\Release64\ShapeParabel.obj
x64\Release64\ShapeParabolic.obj
x64\Release64\ShapePowerFunc.obj
x64\Release64\ShapeRechteckSohleGeneigt1zu1.obj
x64\Release64\ShapeRechteckSohleGeneigt1zu2.obj
x64\Release64\ShapeRechteckSohleGeneigt2zu1.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz2B1zu1.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz2B1zu2.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz2B2zu1.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz4B1zu1.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz4B1zu2.obj
x64\Release64\ShapeRechteckSohleGeneigtHoriz4B2zu1.obj
x64\Release64\ShapeRectangleClosed.obj
x64\Release64\ShapeRectangleOpen.obj
x64\Release64\ShapeRectRound.obj
x64\Release64\ShapeRectTriang.obj
x64\Release64\ShapeSemiCircular.obj
x64\Release64\ShapeSemiElliptical.obj
x64\Release64\ShapeTrapezoidal.obj
x64\Release64\ShapeTriangular.obj
x64\Release64\ShapeVertEllipse.obj
x64\Release64\Xsect.obj
x64\Release64\XsectLookup.obj
x64\Release64\XsectLookupBase.obj
x64\Release64\XsectLookupBaseSwmm.obj
x64\Release64\XsectLookupExtran.obj
x64\Release64\XsectLookupInvers.obj
x64\Release64\Simulation.obj
x64\Release64\Slide.obj
x64\Release64\Statistic.obj
x64\Release64\stdafx.obj
x64\Release64\SteadyFlow.obj
x64\Release64\Storage.obj
x64\Release64\Table.obj
x64\Release64\TimePattern.obj
x64\Release64\TopoSort.obj
x64\Release64\Treatment.obj
x64\Release64\UnitConverter.obj
x64\Release64\Util.obj
x64\Release64\Weir.obj
x64\Release64\Zebev.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\QRegler.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\QualityRouting.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RegularProfile.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\Routing.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RoutingTotals.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\Rule.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RuleAction.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RuleClause.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RulePremise.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\RuleVariable.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeBaskethandle.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeCatenary.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeCircular.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeCustom.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeDrachen.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeDummy.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeEgg.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeEiBreit.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeEiGedrueckt.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeEiUeberhoeht.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeFilledCircular.obj
[13:10:16][XILINK] ipo: error #11018: Cannot open x64\Release64\ShapeForceMain.obj

...

0 Kudos
4 Replies
jimdempseyatthecove
Honored Contributor III
298 Views

I notice that ipo is involved. This may be the case where everything in QRegler is inlined (or conditionalized out), and thus no output is generated.

When you compile QRegler alone, does this produce a .obj file?

If yes, then change your solution to build two projects:

a) A static library that contains all your support routines
b) Your main program, and make it dependent upon the static library

Jim Dempsey

0 Kudos
SergeyKostrov
Valued Contributor II
298 Views
Here are a couple of more advices: - Check date and time for that file ( set it to current if it looks like a future date and time ) - Is that an auto-generated? - Use #pragma warning ( ... ) directives in order to see that C++ compiler tries to do anything In overall, I think you have a project settings problem.
0 Kudos
Judith_W_Intel
Employee
298 Views

 

The first problem that I see is:

Can't open file E:\TeamCity\buildAgent\temp\buildTmp\360024srcs.txt for write

Is your TMPDIR writable? Does it have enough space?

Judy

 

0 Kudos
Przemysław_O_
Beginner
298 Views

Thank you for your advices.

@jimdempseyatthecove

This is not only QRegler.cpp as you can see at the end of the log. All those source files contain the definitions of class member functions. As I said it happend sometimes, not everytime it builds, so that is not critical, but irritating. If I start my build again it does not occure anymore (only some builds later).

@Sergey Kostrov

It happened on our continuous integration server, so the sources are fresh checked out from svn repo. They are not auto generated. I will try to put #pragma warning there. And of course it can be a project setting issue. It's a quite old project, which was developed under VC++. Some years ago we have switched to Intel C++, because we wanted to use TBB.

@Judith Ward (Intel)

Yes. I have also seen it, but have not got any clue why it happened. I have > 20GB on every partition, so it cannot be a disk space problem. Is it possible, that Intel C++ try to acces this file from two or more threads?

Thank you again.

Best regards

Przemek

0 Kudos
Reply