If set "scheduler = sge" in crab.cfg, get following error.
[chen_z@t3ui01 test]$ crab -create crab.cfg 
crab. crab (version 2.3.1) running on Fri Sep  5 01:33:49 2008

crab. Working options:
  scheduler           sge
  job type            CMSSW
  working directory   /shome/chen_z/tmp/CMSSW_2_0_7/src/QCDAnalysis/UEAnalysis/test/crab_0_080905_013349/


crab: Unkown domain name. Cannot use local scheduler

crab. Log-file is /shome/chen_z/tmp/CMSSW_2_0_7/src/QCDAnalysis/UEAnalysis/test/crab_0_080905_013349/log/crab.log

This is a bug of /swshare/CRAB/CRAB_2_3_1/python/SchedulerLocal.py To solve this problem, modify the line:

tmp=socket.gethostname()
to
tmp=socket.getfqdn()

Try to create jobs:

[chen_z@t3ui01 DemoAnalyzer]$ crab -create
crab. crab (version 2.3.1) running on Thu Sep 25 00:33:38 2008

crab. Working options:
  scheduler           sge
  job type            CMSSW
  working directory   /shome/chen_z/tests/cmssw/CMSSW_2_1_6/src/demo/DemoAnalyzer/crab_0_080925_003338/

crab. Your domain name is psi.ch: only local dataset will be considered
crab. Required 10 jobs in total 
crab. Required 100 events in total 
crab. 10 jobs can be created, each for 10 for a total of 100 events
crab. No output file defined: only stdout/err and the CRAB Framework Job Report will be available

crab. Creating 10 jobs, please wait...

crab. Total of 10 jobs created.

Try to submit jobs:

[chen_z@t3ui01 DemoAnalyzer]$ crab -submit
crab. crab (version 2.3.1) running on Thu Sep 25 00:34:13 2008

crab. Working options:
  scheduler           sge
  job type            CMSSW
  working directory   /shome/chen_z/tests/cmssw/CMSSW_2_1_6/src/demo/DemoAnalyzer/crab_0_080925_003338/

crab. Your domain name is psi.ch: only local dataset will be considered
crab. Checking available resources...
crab. No compatible site found, will not submit jobs [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
crab. Submission performed using the Requirements: 
SE White List: psi.ch
(Hint: By whitelisting you force the job to run at this particular site(s).
Please check if the dataset is available at this site!)

crab. The whole task doesn't found compatible site 

crab. Total of 0 jobs submitted (from 10 requested).
crab. Submission performed using the Requirements: 
SE White List: psi.ch
(Hint: By whitelisting you force the job to run at this particular site(s).
Please check if the dataset is available at this site!)

crab.cfg:

[CRAB]
jobtype = cmssw
scheduler = sge
[CMSSW]
#datasetpath = /MinBias/CSA08_CSA08_S43_v1/GEN-SIM-RECO
datasetpath = none

pset = demoanalyzer_cfg.py
total_number_of_events = 100
number_of_jobs =10

[USER]
return_data =1
#ui_working_dir = 

#thresholdLevel = 100
#eMail = your_email_address 

[EDG]
rb = CERN 
proxy_server = myproxy.cern.ch


Useful links: https://twiki.cern.ch/twiki/bin/view/CMS/HamburgWikiComputingNAF

-- ZhilingChen - 28 Aug 2008

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2008-09-24 - ZhilingChen
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback