You should get a computing user account on JeffersonLab, Open Science Grid, or Brookhaven National Lab. The instructions to get accounts on each of the sites can be found in the links below:
Obtaining access to multiple sites is good for redundancy.
ssh <username>@scilogin.jlab.org -Y
# Use your 2-factor Safenet password
You have to setup the 2-factor Safenet password by calling the helpdesk at +1(757)2697155 after your account creation is done. You will receive the relevant links on your JLab email which can be accessed by your regular JLab password.
Once you have access to the JLab login node, file a ticket with JLab Service Now to gain access to osg-eic access point.
Mention in the ticket that you will be submitting simulation jobs to OSG on behalf of the ePIC experiment. Once approved, you will be able to login to osg-eic after logging into the JLab login node.
ssh <username>@osg-eic -Y
# Use your 2-factor Safenet password
If you are having trouble with account access, call JeffersonLab helpdesk at +1(757)2697155.
ssh <username>@ap23.uc.osg-htc.org -Y
# If you already set up your SSH keys on ci-connect, you will only need to enter your 2-factor password
If you are having trouble with account access, email support@osg-htc.org.
ssh <username>@ssh.sdcc.bnl.gov -Y
Once you have access to the sdcc login node, file a ticket with RT-RACF-UserAccounts@bnl.gov to get access to the osgsub01 node and mention that that you will be using it to submit jobs on behalf of the ePIC collaboration. Once approved, you can log onto the access point after logging onto the sdcc login node.
ssh <username>@osgsub01 -Y
Report any difficulties to the above-mentioned email for filing tickets.
If you have a jlab account, file a ticket with Service Now asking for a certificate to be able access ePIC Rucio in the context of OSG job submission. If you don’t have a jlab account, contact the production WG to file a ticket on your behalf.
chmod 600 usercert.cer
chmod 600 userkey.key
You will need the voms-client
on a Linux machine. If you are on your local Linux machine, then do:
sudo apt-get install voms-clients-java
All the access points should already have the voms-client
installed. So, you can skip this step if you are already on one.
Run the following command to generate a voms proxy certificate with a validity of at least 2 months (1460 hours):
voms-proxy-init -cert=usercert.cer -key=userkey.key -out=x509_user_proxy -hours=1460
This will create an proxy certificate in your current directory.
Run the following command and update your ticket on jlab service now with the output:
voms-proxy-info -file=x509_user_proxy | grep "issuer" | awk -F":" '{print $2}'
You only need to do this once.
Run eic-shell and set the rucio variables
./eic-shell
export RUCIO_CONFIG=/opt/campaigns/hepmc3/scripts/rucio.cfg
export X509_USER_PROXY=x509_user_proxy
Then you can transfer the files from the source location to desired directory structure on JLAB RSE following the input pre-processing guidelines. Make sure that the dataset can be traced to a version controlled github repo before this transfer happens because you will need the version tag for the directory structure and nomenclature. An example of the transfer is shown here:
timestamp=$(date '+%Y-%m-%d_%H-%M-%S')
python /opt/campaigns/hepmc3/scripts/register_to_rucio.py \
-f "test.hepmc3.tree.root" \
-d "/EVGEN/Test/test-${timestamp}.hepmc3.tree.root" \
-s epic -r EIC-XRD
Once all your input files are uploaded, create a PR similar to this on the datasets repository with csv file catalogues for the respective datasets and integration line in the config.yml file.