[ROOT] Parallel compilation breaks when generating root classes.

From: Patois Yannick (patois@ganil.fr)
Date: Sat Feb 17 2001 - 17:46:10 MET


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



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