15 Sept 2010

I am trying to compile the HEDS stuff with CMSSW_3_8_3

after grabbing the packages according to https://twiki.cern.ch/twiki/bin/viewauth/CMS/HEDS

I ran scramv1 b -j 8 and got the following errors Reading cached build data >> Local Products Rules ..... started
>> Local Products Rules ..... done
****WARNING: Invalid tool EGamma/ECGelec. Please fix src/EGamma/ECGelec/plugins/BuildFile file. >> Building CMSSW version CMSSW_3_8_3 ----
>> Entering Package HiggsAnalysis/EarlyDataStudy
>> Updating python symlinks.
>> Entering Package UserCode/HiggsAnalysis


copying files from src/HiggsAnalysis/EarlyDataStudy/scripts ------- >> Entering Package EGamma/ECGelec
>> Leaving Package UserCode/HiggsAnalysis
>> Package UserCode/HiggsAnalysis built
>> copied crab.template.cfg
>> Subsystem UserCode built
>> copied createTableSkimDetails.sh
>> copied createTableSkimSummary.sh
>> copied dumpEvent.py
python/HiggsAnalysis/EarlyDataStudy/python -> src/HiggsAnalysis/EarlyDataStudy/python >> copied editFirstTable.sh
>> copied eventDisplayServer.sh
>> copied extractEvent.php
>> copied extractSkim.php
>> copied heds
>> copied heds.sh
>> copied indexFileForDetailedSnapShots.php
>> copied listSkimmedEvent.C
>> copied merge.py
>> copied parseDumperOutput.sh
>> copied prepareInputFiles.sh
>> copied prepareMerging.sh
>> copied runreg.cfg
>> copied runregparse.py
>> copied skimreport
>> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRunLumiSelect.cc
>> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRecoSelector.cc
>> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc
>> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/StdPreselectionSelector.cc
>> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SpikeRemoval.cc
Entering library rule at src/HiggsAnalysis/EarlyDataStudy/plugins >> Compiling python scripts: src/HiggsAnalysis/EarlyDataStudy/python
>> Compiling: src/HiggsAnalysis/EarlyDataStudy/python/earlyDataInterestingEvents_cff.py
In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRunLumiSelect.h:18, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRunLumiSelect.cc:14: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRecoSelector.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRecoSelector.cc:1: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/StdPreselectionSelector.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/StdPreselectionSelector.cc:2: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SpikeRemoval.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SpikeRemoval.cc:1: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRunLumiSelect.cc:16: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRecoSelector.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:4: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h >> Compiling /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/HiggsAnalysis/EarlyDataStudy/plugins/HedsEventInfoDumper.cc
In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/ElectronRunLumiSelect.h:18, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:5: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SpikeRemoval.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:7: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h In file included from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/StdPreselectionSelector.h:9, from /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:9: /uscmst1/prod/sw/cms/slc5_ia32_gcc434/cms/cmssw/CMSSW_3_8_3/src/FWCore/ParameterSet/interface/InputTag.h:1:2: error: #error moved to FWCore/Utilities/interface/InputTag.h gmake: * [tmp/slc5_ia32_gcc434/src/EGamma/ECGelec/plugins/EGammaECGelecPlugins/StdPreselectionSelector.o] Error 1 gmake: * Waiting for unfinished jobs.... /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:34: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:36: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:37: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:38: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:39: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:40: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:41: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:42: error: expected constructor, destructor, or type conversion before ';' token /uscms_data/d2/mkress/CMSSW/CMSSW_3_8_3/src/EGamma/ECGelec/plugins/SealModule.cc:43: error: expected constructor, destructor, or type conversion before ';' token gmake: * [tmp/slc5_ia32_gcc434/src/EGamma/ECGelec/plugins/EGammaECGelecPlugins/SpikeRemoval.o] Error 1 gmake: * [tmp/slc5_ia32_gcc434/src/EGamma/ECGelec/plugins/EGammaECGelecPlugins/ElectronRunLumiSelect.o] Error 1 gmake: * [tmp/slc5_ia32_gcc434/src/EGamma/ECGelec/plugins/EGammaECGelecPlugins/ElectronRecoSelector.o] Error 1 /uscmst1/prod/sw/cms/slc5_ia32_gcc434/external/boost/1.42.0-cms/include/boost/system/error_code.hpp:208: warning: 'boost::system::system_category' defined but not used [-Wunused-variable] /uscmst1/prod/sw/cms/slc5_ia32_gcc434/external/boost/1.42.0-cms/include/boost/system/error_code.hpp:209: warning: 'boost::system::generic_category' defined but not used [-Wunused-variable] /uscmst1/prod/sw/cms/slc5_ia32_gcc434/external/boost/1.42.0-cms/include/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used [-Wunused-variable] /uscmst1/prod/sw/cms/slc5_ia32_gcc434/external/boost/1.42.0-cms/include/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used [-Wunused-variable] /uscmst1/prod/sw/cms/slc5_ia32_gcc434/external/boost/1.42.0-cms/include/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used [-Wunused-variable] gmake: * [tmp/slc5_ia32_gcc434/src/EGamma/ECGelec/plugins/EGammaECGelecPlugins/SealModule.o] Error 1

So I had to change the line #include "FWCore/ParameterSet/interface/InputTag.h" to #include "FWCore/Utilities/interface/InputTag.h" in EGamma/ECGelec/plugins/ElectronRecoSelector.h EGamma/ECGelec/plugins/ElectronRunLumiSelect.h: EGamma/ECGelec/plugins/SpikeRemoval.h EGamma/ECGelec/plugins/StdPreselectionSelector.h

27 May 2010

Tried to do the heds.cfg file to castor using the following parameters:

HEDS_T2SITE=srm-cms.cern.ch
HEDS_STORAGEPATH=/srm/managerv2?SFN=/castor/cern.ch
HEDS_STORAGEPORT=8443
And got the following error (from Crab) crab:
You are asking to stage out without using CMS Storage Name convention. 
In this case you must specify both user_remote_dir and storage_path in the crab.cfg section [USER]. 
For further information please visit : https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideCrabHowTo#Stageout_and_publication
Then I tried it again with output to my Pudue dCache
HEDS_T2SITE=T2_US_Purdue
HEDS_STORAGEPATH=/srm/managerv2?SFN=/store/user/
HEDS_STORAGEPORT=8443
It failed the first time so I ran
heds submit test

again and it submitted.

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-09-15 - MatthewKress
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback