Re: [ROOT] Parallel compilation breaks when generating root classes.

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sat Feb 17 2001 - 17:52:49 MET


Hi Yannick,

   if you don't specify a custom LinkDef.h file rootcint generates one
with a fixed name (we'll change this in rootcint to be a unique tmp file).
For the time being a work around is to specify LinkDef.h files yourself. 

I know parallel compiles are faster. I compile complete the ROOT on
my 6 CPU 700 MHz Xeon machine in just 2min. :-)

Cheers, Fons.



On Sat, Feb 17, 2001 at 05:46:10PM +0100, Patois Yannick wrote:
> Hi,
> 
> When compiling a root programm creating ROOT class with rootcint, I got
> the following errors:
> 
> $ make -j4
> [...]
> Note: link requested for unknown class C_brut_plastic_data 
> FILE:G__autoLinkDef.h LINE:7
> Note: link requested for unknown class C_brut_plastic_data
> FILE:G__autoLinkDef.h LINE:7
> Note: link requested for unknown class C_brut_plastic_data
> FILE:G__autoLinkDef.h LINE:7
> rootcint: cannot open file G__autoLinkDef.h
> rootcint: cannot open file G__autoLinkDef.h
> rootcint: cannot open file G__autoLinkDef.h
> 
> 
> It seems that each rootcint instance creates files under the same name
> so that when concurent generations are running in the same directory the
> compilation fails.
> 
> I know this is not a big issue, but on multiprocessor machines, parallel
> compiling is really faster !
> 
> 	Yannick
> 
> 

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET