Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Command to run interactively on psana#### or submit in batch from pslogin## node:

Code Block

psana -c <config-file> <xtc-file-list>
bsub -q psfehq -o log-file 'psana -c <config-file> <xtc-file-list>'

For example:

Code Block
psana -c ImgAlgos/data/psana-xcsi0112-r0015-img-auto-correlation.cfg  /reg/d/psdm/XCS/xcsi0112/xtc/e167-r0015-*

where ImgAlgos/data/psana-xcsi0112-r0015-img-auto-correlation.cfg is an example of the configuration script for psana and /reg/d/psdm/XCS/xcsi0112/xtc/e167-r0015-* are the input xtc files for particular run.

Note

A couple of limitations due to LCLS policy:
Interactive job can be run on psana#### computer. Data , but the batch queues are not seen directly from pslogin## psana#### nodes...
Batch job can be submitted from pslogin## computer. Batch queues , but data are not seen directly from psana#### pslogin## nodes...

Produce files:

Code Block
img-xcs-r0015-b0000.bin - file with a part of image vs time
img-xcs-r0015-b0001.bin
img-xcs-r0015-b0002.bin
img-xcs-r0015-b0003.bin
img-xcs-r0015-b0004.bin
img-xcs-r0015-b0005.bin
img-xcs-r0015-b0006.bin
img-xcs-r0015-b0007.bin
img-xcs-r0015-time.txt - list of time-records for all events in processed run.
img-xcs-r0015-time-ind.txt - list of time-records for all events in processed run with time index.
img-xcs-r0015-med.txt - file with metadata. In particular it has the original image size, number of image parts for splitting, number of images in run, etc.

...

Command to run interactively on psana#### or submit in batch from pslogin## node:

Code Block
corana -f <fname-data> [-t <fname-tau>] [-h] [-l <logfile>] [-b <basedir>]

For example the interactive and batch mode commands:

bsub -q psfehq -o log-file 'corana -f <fname-data> [-t <fname-tau>] [-h] [-l <logfile>] [-b <basedir>]'

For example the interactive and batch mode commands:

Code Block

Code Block

corana -f img-xcs-r0015-b0001.bin -t my-tau.txt 
bsub -q psnehq -o ~/<path-from-home-dir>/log.txt 'corana -f img-xcs-r0015-b0001.bin -t my-tau.txt 
bsub -q psfehq -o log-file 'corana -f img-xcs-r0015-b0000.bin'

Where ~/<path-from-home-dir>/ is an arbitrary directory, but this directory should exist before running this script.

...

ImgAlgos/app/corana_merge application

Command :to run interactively on psana#### or submit in batch from pslogin## node:

Code Block

corana_merge -f <fname-data> [-t <fname-tau>] [-h] [-l <logfile>] [-b <basedir>]
bsub -q psfehq -o log-file '
Code Block

corana_merge -f <fname-data> [-t <fname-tau>] [-h] [-l <logfile>] [-b <basedir>]'

For example:

Code Block
corana_merge -f img-xcs-r0015-b0001-result.bin -t my-tau.txt

Produce This procedure produces file:

Code Block
img-xcs-r0015-image-result.bin

...

ImgAlgos/app/corana_submit - this script allows to run all of above procedures by a single command from pslogin## node and it keeps eye on processing of jobs in batch and doing the file managment. Command to start:

Code Block
corana_submit [-c <config-file>] [-t <fname-tau>] [-x] <xtc-file-list>

...

File name tail

Format

Content

*-image-result.bin

binary for <float32_t t>

correlators for all image pixels for all tau values

*-time-ind.txt

text

time records for all selected events/images

*-tau.txt

text

the list of tau intervals

*-med.txt

text

meta data parameters

*-hist.txt

text

Histogram array with correlators averaged for ring regions of the image for all tau values, shown in the first column