Project

General

Profile

Test OSG Jobs

Login to gpgtest and test loon an a grid style node

scp a test file to /var:

ssh -Y USER@gpgtest.fnal.gov
scp minos-data:/minos/data/fardet_data/F00031300_0000.mdaq.root /var/tmp/test.root

check the environment

  /cvmfs/minos.opensciencegrid.org/minos/scripts/probe

setup a release

source /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh
export MINOS_SETUP_DIR=/cvmfs/minos.opensciencegrid.org/minos/minossoft/setup
source $MINOS_SETUP_DIR/setup_minossoft_FNALU.sh $*
setup minos
setup_minos

run loon

FLAST=/cvmfs/minos.opensciencegrid.org/minos/scripts/firstlast.C
STONE=/var/tmp/test.root
loon -bq ${FLAST} ${STONE}

look for output like

loon [0] 
Processing /cvmfs/minos.opensciencegrid.org/minos/scripts/firstlast.C...
Spin(1 in 1 out 0 filt.)
  1) +RawRecCounts::Ana         n=1     (     1/     0) t=(    0.00/    0.00)

RawRecCounts Report: test.root
       root version: v04-02-00

  VldContexts: 
  First:       {   Far|  Data|2005-04-25 16:36:07.621514000Z}
  First Snarl: {Unknow|Unknow|1970-01-01 00:00:00.000000000Z} # -1        
  Last:        {   Far|  Data|2005-04-25 16:36:07.621514000Z}
  Last  Snarl: {Unknow|Unknow|1970-01-01 00:00:00.000000000Z} # -1        
  in 11 records of 0 record sets 

  RawConfigFilesBlock                     7
  RawDaqHeaderBlock                      11
  RawRunCommentBlock                      1
  RawRunConfigBlock                       1
  RawRunEndBlock                          1
  RawRunStartBlock                        1

RawRecCounts done

Run a similar test job at TACC

Launch a similar test script from minos6*
similar to file:///nashome/w/willhf/OSGtestJobs/TestScript.sh

source /grid/fermiapp/minos/scripts/jobsub.sh
jobsub_submit \
      --resource-provides=usage_model=OFFSITE \
      --jobsub-server=fifebatch-preprod.fnal.gov \
      --site=Stampede \
      -G minos \
      /grid/fermiapp/minos/scripts/OSGtest

Keep an eye on your job:

jobsub_q

For debugging: run script directly at TACC

Login to stampede and use idev to move to a compute node:

ssh -Y USER@stampede.tacc.utexas.edu
idev
module load globus
/cvmfs/minos.opensciencegrid.org/minos/scripts/probe
export MINOS_SETUP_DIR=/cvmfs/minos.opensciencegrid.org/minos/minossoft/setup
source $MINOS_SETUP_DIR/setup_minossoft_FNALU.sh $*

ifdh cp /pnfs/minos/fardet_data/2005-04/F00031300_0000.mdaq.root .

Make SSL Proxy at FNAL and scp to Stampede

At FNAL:

. /cvmfs/fermilab.opensciencegrid.org/products/common/etc/setups.sh
setup ifdhc

POS=/pnfs/minos/fardet_data/2005-04/F00031300_0000.mdaq.root
TEST=/var/tmp/`whoami`-test.root

export IFDH_DEBUG=1
ifdh cp ${POS} ${TEST} 2>&1 | grep -i proxy

scp /var/tmp/ifdh_44318_30332/x509up_cp44318 whf346@stampede.tacc.utexas.edu:/home1/03069/whf346

At Stampede:

module load globus
export MINOS_SETUP_DIR=/cvmfs/minos.opensciencegrid.org/minos/minossoft/setup
source $MINOS_SETUP_DIR/setup_minossoft_FNALU.sh $*
export X509_USER_PROXY=x509up_cp44318
export X509_CERT_DIR=/home1/03069/whf346
ifdh cp /pnfs/minos/fardet_data/2005-04/F00031300_0000.mdaq.root .