GDML LCG build instructions
NOTE: This page is obsolete and no longer maintained.
Refer to the main GDML Home Page
for the latest version of GDML
- These instructions are for building GDML following LCG software
release conventions. Some more general instructions can be found on
the C++ GDML processors
page.
- GDML should be checked out from simu/GDML2
repository with the appropriate tag of the form GDML_x_y_z. The LCG
release procedure assumes that the destination directory is of the
form GDML_X_Y_Z/src. After the check out, that directory should
contain GDMLSchema and CPPGDML subdirectories as well as
LCGMakefile which is used for building GDML in the CERN environment.
- The SCRAM_ARCH environment variable should be set to the platform
name. For instance 'setenv SCRAM_ARCH slc4_ia32_gcc345'.
- In the CERN environment the building can be done automatically by
issueing the 'make -f LCGMakefile' command. This will build GDML and
copy the libraries as well as the header files to
GDML_X_Y_Z/$SCRAM_ARCH/lib and GDML_X_Y_Z/include respectively.
- For a non-CERN environment, this procedure can be still followed
but the CPPGDML/CERNConfigure.sh file needs to be edited and
appropriately changed.