Tags:
create new tag
view all tags

Usenet Frequently Asked Questions

1. How to get the create time and modified time of files in SE?

There is a command in srm commmand lists called "srmls" which is able to do that, or simply use "ls -altr" when SE directory /pnfs is mounted. Examples:
 srmls -l srm://srm.ihep.ac.cn:8443/pnfs/ihep.ac.cn/data/cms/zhangxm/test.123

  35848192 /pnfs/ihep.ac.cn/data/cms/zhangxm/test.123
  storage type:PERMANENT
  retention policy:REPLICA
  access latency:ONLINE
  locality:ONLINE 

- Checksum value:  51e1c720
  - Checksum type:  adler32

- created at:2008/02/03 18:52:17
 modified at:2008/02/03 18:52:17
  <br /> - Assigned lifetime (in seconds):  -1
  - Lifetime left (in seconds):  -1
  <br />- Original SURL:  /pnfs/ihep.ac.cn/data/cms/zhangxm/test.123
 - Status:  null
 - Type:  FILE

2. How to specify job scheduler from the Beijing site?

Since the Beijing site has not installed glite wmsproxy in our RB(resource broker), so please do the following selection:
 1. select other RB such as CERN, CNAF, you can choose glitecoll as scheduler.
     rb = CERN;
     scheduler = glitecoll;
 2. select the Beijing RB, that is to say, use default one. you need to choose edg as the scheduler.
     #rb =;
     scheduler = edg;

3. How to use the T2 SE in the T3 farm?

You can access the dataset in the T2 SE directly in the T3 local farm using dcap protocol. Dcap协议是由SE系统Dcache (cmsse01)提供的local(局域网)数据读取协议. 它与CMSSW软件使用直接结合,操作方便。避免了将T2数据拷贝到T3才能进行分析。Note:考虑到T2是提供给Global使用的,为了避免造成SE的过载,因此建议大家的同时运行的作业量不要超过100(随着SE性能不断改善,会进一步调整)。在T3上使用两个条件:
(1)在运行作业的UI 和Worknode上必须装有Dcap的客户端;
(2)利用TFC(Trivial File Catalog)小型文件目录,简化dcap的写法。 
  
使用方法和步骤:
 (1)初始化CMSSW的环境;
 (2)在pset.cfg中,填入所需要处理的数据集的逻辑名(也就是/pnfs/ihep.ac.cn/data/cms/<逻辑名>), 例如:
      
      source = PoolSource{
        untracked vstring fileNames       ={ '/yangm/QCD/pt015/DataFEVT_1.root' }
        untracked int32 maxEvents = 10
      }
   
      Note: 该方法要求两个文件$CMT_PATH//SITECONF/local/PhEDEx/storage.xml和在$CMT_PATH/SITECONF/local/JobConfig/Site_local_config.xml。
      如果你使用官方安装的CMSSW版本,环境已经设置好了。如果使用private的CMSSW环境,请拷贝这两个文件到相应目录下。
  (3)cmsRun pset.cfg
  
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2009-09-26 - ZhangXiaomei
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback