Access to data

The FFB system is designed to provide dedicated analysis capabilities during the experiment.

You can access the FFB system from pslogin, psdev or psnx with:

% ssh psffb

The experiment data will be available under:

/cds/data/drpsrcf/<instrument>/<experiment>

There are two options for telling psana which directory the data is in.  One can add the "dir=" keyword to the psana DataSource, like this:

dsource = DataSource('exp=cxilu9218:run=20:smd:dir=/cds/data/drpsrcf/cxi/cxilu9218/xtc')

or one can set the following environment variable:

export SIT_PSDM_DATA=/cds/data/drpsrcf

Besides the xtc/  folder for the raw data the scratch/  folder allows user to write their processing output. This folder will be moved to the offline filesystem after an experiment is done. The calib/ is a link to the offline calib folder.  A ":live" is often added to the DataSource string in order to process xtc files while they are written (currently only works for LCLS1-style DAQ/analysis).

FFB SLURM partitions

You can submit your fast feedback analysis jobs to one of the queues shown in the following table. The goal is to assign dedicated resources to up to four experiments for each shift. Please contact your POC to get one of the high priority queues, 1, 2, 3 or 4, assigned to your experiment.

Queue

Comments

Throughput
[Gbit/s]

Nodes

Cores/
Node

RAM [GB/node]

Default
Time Limit 

anaqFor the week after the experiment100626112812hrs
ffbl1qOff-shift queue for experiment 110056112812hrs
ffbl2qOff-shift queue for experiment 2100146112812hrs

ffbl3q

Off-shift queue for experiment 3

100206112812hrs

ffbh1q

On-shift queue for experiment 1

10056112812hrs

ffbh2q

On-shift queue for experiment 2

100146112812hrs

ffbh3q

On-shift queue for experiment 3

100206112812hrs
ffbgpuqNvidia RTX A500010023212812 hrs

Note that jobs submitted to ffbl<n>q will preempt jobs submitted to anaq and jobs submitted to ffbh<n>q will preempt jobs submitted to ffbl<n>q and anaq. Jobs that are preempted to make resources available to higher priority queues are paused and then are automatically resumed when resources become available.

The FFB system uses SLURM for submitting jobs - information on using SLURM can be found on the Submitting SLURM Batch Jobs page.

Directories and Lifetime of data on the FFB

xtc folder

scratch folder

Once an experiment has been complete the ffb scratch folder is moved to the experiments scratch folder on the offline filesystems. The following rules are applied:

  1. scratch folder is made non accessible to users.
  2. files and directories below the ffb scratch/ are moved to the scratch/ffb/ on the offline filesystem: 
        /cds/data/psdm/<instr>/<expt>/scratch/ffb/ 
    except for hdf5 files in the smalldata folder (see next).
    Once the data are on the offline scratch the Data Retention Policy applies. The transfer preserves the files mtime which is used by the cleanup.
  3. hdf5 files below scratch/hdf5/smalldata/  are moved the the hdf5/smalldata/ folder on the offline filesystem, e.g.
    /cds/data/drpsrcf/mfx/mfx123456/scratch/smalldata/*.h5  -> /cds/data/psdm/psdm/mfx/mfx123456/hdf5/smalldata/
    1. Only h5 files (and directories) below scratch/hdf5/smalldata/ are copied to the hdf5/smalldata folder on the offline storage.
    2. Files that don't match the rule in a. will be moved to the offline scratch/ffb/hdf5 folder.
    3. If a h5 file already exists on the offline storage and is newer than the one on the ffb the ffb file will not be copied but just removed.

FFB File Permissions

The same permission, based on ACLs,  as used for the Lustre analysis file-systems are used for the FFB. However, there is an issue with the current version of the file system:

% umask 0002

Access to Lustre ana-filesystems

The batch nodes also have access to the ana Luster filesystems. For example the calib folder /cds/data/drpsrcf/<instrument>/<experiment>/calib is a link to the folder on the ana filesystem.

The bandwidth to the ana-filesystems is very limited and must be used for only light load e.g.: reading calibration constants.

The following figure shows  the connectivity of the nodes: