Skip to content

BNLNPPS/panda-sro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PanDA testbed for streaming data applications in ePIC

This repository is intended for documentation and sample scripts necessary for setting up elements of PanDA testing, in the context of streaming readout in the ePIC experiment.

Mattermost resources

NPPS Distributed Software CERN-based PanDA forum CERN-based technical forum - for experts

PanDA Queues

  • BNL SDCC shared pool (Queue name: BNL_PanDA_1) – harvester submits pilots to this resource via the OSG CE at SCDF.
  • OSG EIC shared resources (Queue name: BNL_OSG_PanDA_1) – harvester sits on top of an OSG Access Point (AP) at SDF, submitting pilots to the Open Science Pool as a normal user. Right now this OSG AP is configured to run jobs on EIC shared resources on OSG.

Grid Certificate

To get a grid certificate, different institutions may use different CAs.

PanDA client installation

Short version

python3 -m venv pclient
. pclient/bin/activate
pip install panda-client

Depending on the Python version, the user may see a deprecation note regarding the packaging (setup vs TOML).

Detailed instructions

https://panda-wms.readthedocs.io/en/latest/client/panda-client.html

PanDA IAM registration

CVMFS

Pretty good instruction to set it up:

https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html

Under WSL2, systemctl will likely not work, so instead one needs to use commands like

sudo service autofs restart

Setting up Rucio

source /cvmfs/eic.opensciencegrid.org/rucio-clients/alrb_setup.sh
voms-proxy-init (no VOMS extension needed) # standard auth files: usercert.pem and userkey.pem in the .ssh folder
export RUCIO_ACCOUNT=<youraccount>

Setting up PanDA access

Source the "panda_setup" script in the scripts folder. The following is also required:

export PANDA_URL_SSL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
export PANDA_URL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
export PANDACACHE_URL=https://pandaserver01.sdcc.bnl.gov:25443/server/panda
export PANDAMON_URL=https://pandamon01.sdcc.bnl.gov
export PANDA_AUTH=oidc
export PANDA_AUTH_VO=EIC
export PANDA_USE_NATIVE_HTTPLIB=1
export PANDA_BEHIND_REAL_LB=1

For convenience, both components are combined in "setup_all.sh" in the same folder.

Submitting Jobs

prun --exec "pwd; ls; sleep 100; echo 'Hello EIC world'> eic.txt" --outDS user.potekhin.`uuidgen` --nJobs 1 --vo wlcg --site BNL_PanDA_1 --prodSourceLabel test --workingGroup ${PANDA_AUTH_VO} --noBuild

Rucio Interaction

Access to the storage element

To be able to transfer data to and from the storage allocated for PanDA tasks, the user needs their DN added to the storage ACL. This is achieved by filing a RT ticket with the facility.

Example

Example of queries:

# list all, for one user
rucio list-dids --filter 'type=all' user.potekhin:*
# list replicas
rucio list-file-replicas user.potekhin:user.potekhin.fdeb5357-2de7-46f5-8bee-5942e9b551c0.log.8337.000001.log.tgz

Download:

rucio download user.potekhin:myfile --dir /tmp/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published