[Rivet-svn] r4257 - bootstrap

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Apr 19 11:50:41 BST 2013


Author: buckley
Date: Fri Apr 19 11:50:41 2013
New Revision: 4257

Log:
Add extra (hacky) warning about non-standard gcc versions when using LCG AFS

Modified:
   bootstrap/rivet-bootstrap

Modified: bootstrap/rivet-bootstrap
==============================================================================
--- bootstrap/rivet-bootstrap	Fri Apr 12 15:46:59 2013	(r4256)
+++ bootstrap/rivet-bootstrap	Fri Apr 19 11:50:41 2013	(r4257)
@@ -497,6 +497,12 @@
 
         logging.info("Using LCG platform tag = " + opts.LCGTAG)
 
+        ## Warn explicitly if this is not a standard LCG platform tag... just gcc checking for now
+        if "slc" in opts.LCGTAG and "gcc" in opts.LCGTAG:
+            if not any(v in opts.LCGTAG for v in ("gcc43", "gcc46")):
+            logging.warn("LCG platform tag %s seems to contain a 'non-standard' GCC version. " % opts.LCGTAG +
+                         "LCG builds of FastJet etc. may not be available, in which case this bootstrap script will fail!")
+
         ## Now work out paths to give to Rivet
         ## HepMC
         HEPMCPATH = os.path.join(opts.LCGDIR, "HepMC", opts.HEPMC_VERSION, opts.LCGTAG)


More information about the Rivet-svn mailing list