Project

General

Profile

Sample XML file

<?xml version="1.0"?>

<!-- Production Project -->
<!DOCTYPE project [
<!-- General settings -->
<!ENTITY user "YOURUSERNAMEHERE">
<!ENTITY storage_location "scratch">
<!-- Job settings -->
<!ENTITY category "TestXML">
<!ENTITY name "cosmics_ana_test">
<!ENTITY event_n "1000000">
<!ENTITY job_n "10">
<!ENTITY maxfileperjob_n "10">
<!ENTITY version "1_1">
<!-- Larsoft settings -->
<!ENTITY lartag "v06_26_01_12">
<!ENTITY larqual "e10:prof">  
<!-- Main directories definition -->
<!ENTITY data_dir "/uboone/data/users/&user;">
<!ENTITY scratch_dir "/pnfs/uboone/scratch/users/&user;">
<!ENTITY persistent_dir "/pnfs/uboone/persistent/users/&user;">
<!ENTITY resilient_dir "/pnfs/uboone/resilient/users/&user;">
<!ENTITY storage_dir "/pnfs/uboone/&storage_location;/users/&user;">
<!ENTITY gen_upload_dir "&resilient_dir;/GridFiles">
<!ENTITY upload_dir "&resilient_dir;/GridFiles/&category;">
<!-- Job directories definition -->
<!ENTITY out_dir "&storage_dir;/&category;/&name;/v&version;/Samples">
<!ENTITY log_dir "&storage_dir;/&category;/&name;/v&version;/Logs">
<!ENTITY work_dir "&resilient_dir;/Work/&category;/&name;/v&version;">
<!ENTITY book_dir "&data_dir;/Book/&category;/&name;/v&version;">
]>

<job>
  <project name="&name;_trigFilter">
    <numevents>&event_n;</numevents>
    <os>SL6</os>
    <resource>DEDICATED,OPPORTUNISTIC</resource>
    <larsoft>
      <!-- larsoft release -->
      <tag>&lartag;</tag>
      <qual>&larqual;</qual>
      <!-- You can use a local release by uncommenting below -->
      <!-- <tag>development</tag> -->
      <!-- <local>&gen_upload_dir;/larsoft_v06_26_01_12.tar</local> -->
    </larsoft>

    <!-- Name of your stage -->
    <stage name="ana">
      <!-- Input definition -->
      <inputdef>sporzio_prodcosmics_corsika_cmc_uboone_intime_mcc8.7_reco2_test</inputdef>
      <!-- Fcl file name (or path) -->
      <fcl>standard_ana_uboone.fcl</fcl>
      <!-- Total number of jobs -->
      <numjobs>&job_n;</numjobs>
      <!-- Number of maximum files for each job -->
      <maxfilesperjob>&maxfileperjob_n;</maxfilesperjob>
      <!-- Paths for output, logs, work and book directories -->
      <outdir>&out_dir;/ana</outdir>
      <logdir>&log_dir;/ana</logdir>
      <workdir>&work_dir;/ana</workdir>
      <bookdir>&book_dir;/ana</bookdir>
      <!-- Schema used (root streams file instead of copying them) -->
      <schema>root</schema>
      <!-- Change the expected memory requirement of your jobs -->
      <!-- <memory>600</memory> -->
      <!-- Change the expected disk requirement of your jobs -->
      <!-- <disk>100GB</disk> -->
      <!-- Change the expected lifetime of your jobs -->
      <jobsub>--expected-lifetime=8h</jobsub> 
    </stage>
  </project>
</job>