Pilot2Test

Define a test ES task

Run Pilot2 interactively

#!/bin/bash

site=$1
queue=$2

# setup rucio
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase
source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh
localSetupRucioClients

# setup yampl for es
source /cvmfs/atlas.cern.ch/repo/sw/local/setup-yampl.sh

export OSG_APP=/tmp

# setup python2.7
lsetup "python 2.7.9-x86_64-slc6-gcc48"

# make tmp dir to run pilot
cd /tmp/
dir=$(mktemp -d)
cd $dir
echo $dir
export PILOT_HOME=$dir

export OSG_GRID=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/emi/current/
export VO_ATLAS_SW_DIR=/cvmfs/atlas.cern.ch/repo/sw

# set local site
# export DQ2_LOCAL_SITE_ID=BNL-OSG2_SCRATCHDISK

source $OSG_GRID/setup.sh

rm -f pilot.tar.gz
wget http://wguan-wisc.web.cern.ch/wguan-wisc/pilot2.tar.gz -O pilot.tar.gz
tar xzf pilot.tar.gz

# python pilot.py -l 192000 -w generic -a  $dir -j ptest -q BNL_PROD_UCORE -r BNL_PROD_UCORE -s BNL_PROD_UCORE -p 25443 --url https://aipanda007.cern.ch -d --pilot-user ATLAS
python pilot.py -l 192000 -w generic -a  $dir -j ptest -q $queue -r $site -s $site -p 25443 --url https://aipanda007.cern.ch -d --pilot-user ATLAS

    

-- WenGuan - 2019-07-29

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2019-07-29 - WenGuan
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    PanDA All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback