setting up master

ssh lxb1420
bash

# create output area
mkdir -p /storage/lqcd/apps/output

cd /storage/lqcd/apps/output
mkdir -p dat tmp bak

# setup diane
$(/afs/cern.ch/sw/arda/diane/install/2.0-beta5/bin/diane-env)
export DIANE_USER_WORKSPACE=/storage/lqcd

# run the file server
/storage/lqcd/apps/LatticeQCD2/file_server.py . 22201 &

# run master using an open port
env ORBendPoint=giop:tcp:lxb1420.cern.ch:22200 diane-run lqcd.run

#shutting down the master
diane-master-ping kill

# kill the file server process
ps -F -a | grep file_server

setting up submitter

# submitter machine
ssh lxplus
bash
cd /afs/cern.ch/sw/arda/install/su3/2008
source env.sh

# MAKE SURE THE RUN NUMBER (0011 in this example) CORRESPONDS TO THE CURRENT MASTER RUN NUMBER!
scp lxb1420:/storage/lqcd/runs/0011/MasterOID .

# submit 1 worker locally
diane-env -d ganga/install/5.0.0-beta8/bin/ganga Local.py --diane-run-file apps/LatticeQCD2/lqcd.run --diane-master ./MasterOID --diane-worker-number 1

# submit 5 workers to LSF
diane-env -d ganga/install/5.0.0-beta8/bin/ganga LSF.py --diane-run-file apps/LatticeQCD2/lqcd.run --diane-master ./MasterOID --diane-worker-number 5

# submit 10 workers to LCG
diane-env -d ganga/install/5.0.0-beta8/bin/ganga LCG.py --diane-run-file apps/LatticeQCD2/lqcd.run --diane-master ./MasterOID --diane-worker-number 10

#kill master
diane-master-ping -f MasterOID kill

-

-- MassimoLamanna - 12 May 2008

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-05-12 - MassimoLamanna
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 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