Compiling root from source overheats certain computers

Root hangs when compiling with gcc 4.4.4 in Debian testing

g++ -shared -Wl,-soname,libGviz3d.so.5.26 -m64 -O2 -o lib/libGviz3d.so.5.26 graf3d/gviz3d/src/TStructNode.o graf3d/gviz3d/src/TStructNodeEditor.o graf3d/gviz3d/src/TStructNodeProperty.o graf3d/gviz3d/src/TStructViewer.o graf3d/gviz3d/src/TStructViewerGUI.o graf3d/gviz3d/src/G__Gviz3d.o -Llib -lGui -lGed -lGpad -lGraf3d -lGraf -lGeom -lRGL -Llib -lCore -lCint -ldl g++ -shared -Wl,-soname,libEve.so.5.26 -m64 -O2 -o lib/libEve.so.5.26 graf3d/eve/src/TEveArrow.o graf3d/eve/src/TEveArrowEditor.o graf3d/eve/src/TEveArrowGL.o graf3d/eve/src/TEveBoxSet.o graf3d/eve/src/TEveBoxSetGL.o graf3d/eve/src/TEveBrowser.o graf3d/eve/src/TEveCalo2DGL.o graf3d/eve/src/TEveCalo3DGL.o graf3d/eve/src/TEveCalo.o graf3d/eve/src/TEveCaloData.o graf3d/eve/src/TEveCaloLegoEditor.o graf3d/eve/src/TEveCaloLegoGL.o graf3d/eve/src/TEveCaloLegoOverlay.o graf3d/eve/src/TEveCaloVizEditor.o graf3d/eve/src/TEveChunkManager.o graf3d/eve/src/TEveCompound.o graf3d/eve/src/TEveDigitSet.o graf3d/eve/src/TEveDigitSetEditor.o graf3d/eve/src/TEveElement.o graf3d/eve/src/TEveElementEditor.o graf3d/eve/src/TEveEventManager.o graf3d/eve/src/TEveFrameBox.o graf3d/eve/src/TEveFrameBoxGL.o graf3d/eve/src/TEveGedEditor.o graf3d/eve/src/TEveGeoNode.o graf3d/eve/src/TEveGeoNodeEditor.o graf3d/eve/src/TEveGeoPolyShape.o graf3d/eve/src/TEveGeoShape.o graf3d/eve/src/TEveGeoShapeExtract.o graf3d/eve/src/TEveGridStepper.o graf3d/eve/src/TEveGridStepperEditor.o graf3d/eve/src/TEveGValuators.o graf3d/eve/src/TEveJetCone.o graf3d/eve/src/TEveJetConeEditor.o graf3d/eve/src/TEveJetConeGL.o graf3d/eve/src/TEveLegoEventHandler.o graf3d/eve/src/TEveLine.o graf3d/eve/src/TEveLineEditor.o graf3d/eve/src/TEveLineGL.o graf3d/eve/src/TEveMacro.o graf3d/eve/src/TEveManager.o graf3d/eve/src/TEvePad.o graf3d/eve/src/TEveParamList.o graf3d/eve/src/TEvePlot3D.o graf3d/eve/src/TEvePlot3DGL.o graf3d/eve/src/TEvePointSetArrayEditor.o graf3d/eve/src/TEvePointSet.o graf3d/eve/src/TEvePolygonSetProjected.o graf3d/eve/src/TEvePolygonSetProjectedEditor.o graf3d/eve/src/TEvePolygonSetProjectedGL.o graf3d/eve/src/TEveProjectionAxes.o graf3d/eve/src/TEveProjectionAxesEditor.o graf3d/eve/src/TEveProjectionAxesGL.o graf3d/eve/src/TEveProjectionBases.o graf3d/eve/src/TEveProjectionManager.o graf3d/eve/src/TEveProjectionManagerEditor.o graf3d/eve/src/TEveProjections.o graf3d/eve/src/TEveQuadSet.o graf3d/eve/src/TEveQuadSetGL.o graf3d/eve/src/TEveRGBAPalette.o graf3d/eve/src/TEveRGBAPaletteEditor.o graf3d/eve/src/TEveScalableStraightLineSet.o graf3d/eve/src/TEveScene.o graf3d/eve/src/TEveSceneInfo.o graf3d/eve/src/TEveSelection.o graf3d/eve/src/TEveStraightLineSet.o graf3d/eve/src/TEveStraightLineSetEditor.o graf3d/eve/src/TEveStraightLineSetGL.o graf3d/eve/src/TEveText.o graf3d/eve/src/TEveTextEditor.o graf3d/eve/src/TEveTextGL.o graf3d/eve/src/TEveTrack.o graf3d/eve/src/TEveTrackEditor.o graf3d/eve/src/TEveTrackGL.o graf3d/eve/src/TEveTrackProjected.o graf3d/eve/src/TEveTrackProjectedGL.o graf3d/eve/src/TEveTrackPropagator.o graf3d/eve/src/TEveTrackPropagatorEditor.o graf3d/eve/src/TEveTrans.o graf3d/eve/src/TEveTransEditor.o graf3d/eve/src/TEveTreeTools.o graf3d/eve/src/TEveTriangleSet.o graf3d/eve/src/TEveTriangleSetEditor.o graf3d/eve/src/TEveTriangleSetGL.o graf3d/eve/src/TEveUtil.o graf3d/eve/src/TEveVector.o graf3d/eve/src/TEveViewer.o graf3d/eve/src/TEveViewerListEditor.o graf3d/eve/src/TEveVSD.o graf3d/eve/src/TEveVSDStructs.o graf3d/eve/src/TEveWindow.o graf3d/eve/src/TEveWindowEditor.o graf3d/eve/src/TEveWindowManager.o graf3d/eve/src/G__Eve1.o graf3d/eve/src/G__Eve2.o -Llib -lGeom -lGeomPainter -lGraf3d -lGui -lGpad -lGraf -lHist -lPhysics -lGed -lEG -lTree -lTreePlayer -lRGL -lRIO -lRint -lMathCore -lftgl -lGLEW -lGLU -lGL -lX11 -lm -Llib -lCore -lCint -ldl ==> lib/libGviz3d.so done ==> lib/libEve.so done

where ?

Rene

I killed the process and tried compiling again but simply using

and it compiled successfully. I think my core 2 duo processor on this crappy dell vostro desktop overheated on me. It’s happened before. Especially now that my office has air conditioning problems and this summer has been very hot…

Thanks

Hi,

see Laptop shuts down during compilation for a possible solution.

:slight_smile:

Cheers, Axel.

I see. Well I guess all my desktops in the office have a similar problem…

When I compile ROOT with make -j n (any n greater than 1 according to each PC capabilities) on either a Debian Squeeze Core 2 Duo Dell Vostro 400 or on a CentOS 5.5 Dual quad core Interl Xeon T3500 Dell precision workstation they appear to have heat problems and hang.

This is rather strange… though I wouldn’t be surprised Dell does a cheap job at managing heat, thus when Linux tries to max out the full capabilities of the computer it just can’t handle it, temperature wise.

I certainly can’t put both computers in a fridge!

Just to report I saw the same thing with ROOT v5.32.01
Probably not a heating issue, as the server I was installing it on kept on going.
I killed the “make -j4” process, and rerun make with one thread (“make”), which worked just like acimmarusti reported.

Be aware that, for each make’s job, you should “reserve” something like 400MB free RAM (g++ / cc1plus are really RAM-hungry). Thus, if you say “-j 4”, your computer should have at least 2GB RAM in total, otherwise it may go mad (swapping like crazy and even killing processes like crazy if there’s no enough swap space available).