In case of a broken compilation message, we need to update the susygen code and/or the compilation part. following is the beginning of a message automatically send to the people responsible of the code management :
Your package has problems in the latest build of D0RunII. (p19.L3.01)
The offending lines in the build log are:
-----<Build log extract follows, cut here>------------------------------------
gmake[3]: *** No rule to make target `pydum_upveto.o', needed by `/D0/dist4/releases/p19.L3.01/bin/Linux2.4-GCC_3_4-maxopt/MCsusygen.x'. Stop.
-----<End of build error log extract, cut here>-------------------------------
The CVS version are listed there : http://cdcvs0.fnal.gov/cgi-bin/public-cvs/cvsweb-public.cgi/?cvsroot=d0cvs
Example :
We are dealing with the p19.L3.01 and there is a p19-br cvs branch.
cd /work/affe-clued0/arnoud/
setup D0RunII p19.L3.01
setup d0cvs
newrel -t p19.L3.01 susygen_p19-br
cd susygen_p19-br
addpkg susygen p19-br
d0setwa
gmake
As expected : *** No rule to make target `pydum_upveto.o', needed by `/D0/dist4/releases/p19.L3.01/bin/Linux2.4-GCC_3_4-maxopt/MCsusygen.x'. Stop.
After modifying susygen/src/susygen.f and susygen/susygen.input in order to be compatible with LHAPDF (see http://www-d0.fnal.gov/computing/MonteCarlo/generator_tools/lhapdf.html ) and susygen/bin/OBJECTS, the compilation goes fine, as the execution.
It's time to update susygen (http://lpsc.in2p3.fr/d0/documentation/elid/modifcvs.html).
We will create a new CVS version : p19-L3-01.
affe-clued0[32] cvs -n -q update
M susygen/susygen.input
M susygen/bin/OBJECTS
M susygen/src/susygen.f
affe-clued0[35] cd susygen
affe-clued0[38] cvs commit susygen.input
**** Access allowed: Personal Karma exceeds Environmental Karma.
Checking in susygen.input;
/cvsroot/d0cvs/susygen/susygen.input,v <-- susygen.input
new revision: 1.1.16.1; previous revision: 1.1
done
affe-clued0[40] cd ../susygen/src/
affe-clued0[41] cvs commit susygen.f
**** Access allowed: Personal Karma exceeds Environmental Karma.
Checking in susygen.f;
/cvsroot/d0cvs/susygen/src/susygen.f,v <-- susygen.f
new revision: 1.5.14.1; previous revision: 1.5
done
affe-clued0[42] cd ../bin
affe-clued0[43] cvs commit OBJECTS
**** Access allowed: Personal Karma exceeds Environmental Karma.
Checking in OBJECTS;
/cvsroot/d0cvs/susygen/bin/OBJECTS,v <-- OBJECTS
new revision: 1.4.4.1; previous revision: 1.4
done
affe-clued0[45] cvs rtag -r p19-br p19-L3-01 susygen
cvs rtag: Tagging susygen
cvs rtag: Tagging susygen/bin
cvs rtag: Tagging susygen/doc
cvs rtag: Tagging susygen/rcp
cvs rtag: Tagging susygen/script
cvs rtag: Tagging susygen/src
cvs rtag: Tagging susygen/src/packages
cvs rtag: Tagging susygen/susygen
cvs rtag: Tagging susygen/susygen/packages
cvs rtag: Tagging susygen/test

p19.L3.01 b3 : p19-br-01 (LHAPDF, CTEQ6) cvs update to be done
p17.09.05a b1 : p17-09-05a (LHAPDF, CTEQ6) cvs update to be done
t06.02.00 built 01,
p17.10.00 built 01 : p17-09-05a (LHAPDF, CTEQ6) cvs update to be done
p18.06.00 built 01 : nothing changed, using p18-06-00, compile and execution fine (PDFSET, CTEQ5)
Nevertheless, warning messages at the execution :
%ERLOG-w Packed_Int_Overflow:
d0om_ds-W-Packed_Int_Overflow [#1025]
Integer overflowed during packing.
For MCpTmbObj::_istat with value 1128046766.
Tue Apr 4 04:30:46 2006
-- ZMthrow was issued at line 95
of file "/D0/dist3/packages/d0om_ds/p17-br-02/src/dspack/Int_Packer.cpp"
... Exception ignored
p20.01.00 built 02 : susygen.f and susygen.input modified p20-01-00 (LHAPDF, CTEQ6)