This is an old revision of the document!
For large files, one should always use the T3 storage element. This section summarizes the useful parts of the TWiki on how To Acces SE.
You can also copy large output files to the storage element using the copy command lcg-cp
or the recommended xrdcp
from XROOTD.
USER_SE_HOME="srm://t3se01.psi.ch:8443/srm/managerv2?SFN=/pnfs/psi.ch/cms/trivcat/store/user/$USER" SERESULTDIR=$USER_SE_HOME/"analysis" lcg-cp -b -D srmv2 file:$WORKDIR/$OUTFILE $SERESULTDIR/$OUTFILE
or
USER_SE_HOME="root://t3dcachedb.psi.ch:1094//pnfs/psi.ch/cms/trivcat/store/user/$USER" SERESULTDIR=$USER_SE_HOME/"analysis" xrdcp -f $WORKDIR/$OUTFILE $SERESULTDIR/$OUTFILE
Note that one can only copy files to existing directories. Create the necessary parent directories (analysis
in this example) on your SE home if it doesn't exist yet:
gfal-mkdir -p gsiftp://t3se01.psi.ch//pnfs/psi.ch/cms/trivcat/store/user/$USER/analysis
or more generally
gfal-mkdir -p gsiftp://t3se01.psi.ch/`echo $SERESULTDIR | grep -o '/pnfs/psi.ch/.*'`