Print

Print


Hi,

Yesterday I was able to get hps-mc running properly on the Auger batch system at JLAB.

There are two Python scripts, one for building the list of jobs and the other for submitting.

This command builds a JSON file called augertest.json with your jobs:

workflow.py -n 1 -o $PWD/output -w augertest ./job.json

Then you can submit it with a command such as this:

jsub.py --debug --email [log in to unmask] beam_job.py augertest.json

A job.json template might look like the following e.g. for a job that makes sampled beam files:

{
    "output_dir": "output",
    "input_files": {
        "beam.stdhep": "/mss/hallb/hps/production/stdhep/beam/1pt05/egsv3_100*.stdhep"
    },
    "output_files": {
        "beam_sampled_1.stdhep": "beam_sampled.stdhep"
    }
}

I have a sample job here:

/group/hps/users/jeremym/hps-mc-test/auger_test

Using this procedure there is no need to make your own Auger XML files — the Python framework will make them for you.

Please let me know if you have questions about how to use this or if you would like to start porting any of the existing Auger scripts.

—Jeremy

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1