Code Monkey home page Code Monkey logo

lzproduction's Introduction

lzproduction's People

Contributors

alexanderrichards avatar requires avatar rob-tay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rob-tay

lzproduction's Issues

remove db subsessions

Might be worth looking for way to have a single session with sub transaction contexts instead

Changes to /lz/ directory structure

Proposed structure, still needs fleshing out. Will require the database to handle the links between different parts of production chain. E.g each part of chain has a parent/child id that links to previous part

/lz/data/ - real system data

/lz/simulation/ - LUXSim/BACCARAT/DER Output
E.g /BACCARAT-{version}-geant4.{version}/DER-{version}/{macro_name}
(Do we even need the nested directories if information is available in database?)

/lz/lzap/ - TDRAnalysis/LZap Output*
(How do we identify rqs from data vs simulation? Through the database? )
E.g /LZap-{version}/Physics-{version}/{macro_name}

/lz/test/ - temp space for test jobs/processing

Custom parameters to macros

The following is an email extract from Elena:

I have a question. LZ people plan to change some parameters in macros.
I know that you use a tag version of TDRAnalysis to choose a macro to run.

Is it possible to change some parameters in macro on fly?
I think it can be done in a similar mode as it is done for beamOn events and Seed.

I don't know at the moment which parameters will be changed.

Add support for job priorities

Hi,

At the last review, we were asked whether it was possible to set relative job priorities so that a normal user couldn't accidentally swamp out important production with their own jobs.

DIRAC JDL (and other interfaces) has an option to set a Priority. The field is literally just called "Priority" and takes an integer in the range 0..10, it defaults to 1 if unset. Larger numbers are higher priorities.

My suggestion would be to add a field to the request page which passes this value through, defaulting to 3 or something like that. That way particularly important production (MDC2?) can be run with a higher value. (I guess the exact behaviour should be up to LZ people).

Regards,
Simon

add debugging to file upload section of run-scripts

Hi Alex,

Can you please add the "-ddd" flag(s) to the dirac-dms-add-file commands at the end of the script and also do an ls -l *.root just before them so that we can debug any future upload problems? (This is also discussed in a recent e-mail).

Regards,
Simon

Change the output lfn dir path

make the output paths as follows:

SIM: /lz/data/${app}_release-${app_ver}_geant${g4_version}/$(basename $MACRO_FILE _parametric.mac)

REDUCTION: /lz/data/${app}_release-${app_ver}_geant${g4_version}/reduced_v${reduction_version}/$(basename $MACRO_FILE _parametric.mac)

e.g.
/lz/data/BACCARAT_release-1.1.0_geant4.9.5.p02/reduced_v4.1.1/lz_scintillator_U_an_early_neutron

This will likely have to be done in two phases:

  • Use the format above with the /lz/user/l/lzproduser.grid.hep.ph.ic.ac.uk root for testing

  • When ready migrate the root to /lz/data

Add functionality for custom macros

Currently macro files are pulled from the TDRAnalysis master branch, and no user-defined macros can be run. This change would give users the ability to design their own macro through drop-downs on the interface or upload/copy-paste their own macro file. The latter is probably more flexible and could be extended to running not just background simulations but also analysis scripts.

RESTful interface for US integration

Hi Alex,

They would like to know the specification of the RESTful interface that would make the job details available to the USDC... I can talk to you about this more on Thursday, but it would be good to get a draft of this ready for the last week of the month.

Regards,
Simon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.