Trying to get panda client tools working on my Mac laptop

Step 1: Get voms-proxy-init working

Mainly followed the steps on http://www.nikhef.nl/pub/projects/grid/gridwiki/index.php/Using_voms-proxy-init_on_an_OSX_%2810.4_or_higher%29_system

I add these lines to my bashrc:

export GLOBUS_LOCATION=~/.globus/
export X509_VOMS_DIR=~/.voms
export VOMS_USERCONF=$HOME/.glite/vomses
export X509_CERT_DIR=~/.voms
export VOMS_LOCATION=/

export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib":$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH

Then I had to copy over the voms server certificates from AFS:

scp nedwards@lxplus.cern.ch:/afs/cern.ch/project/gd/LCG-share2/certificates/* ~/.voms

And then created the file ~/.glite/vomses with

"atlas" "voms.cern.ch" "15001" "/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch" "atlas" "24"

To get everything working I had to make a bunch of symlinks:

sudo ln -s /bin/expr /usr/bin/expr
sudo ln -s /usr/bin/sed /bin/sed
sudo ln -s /usr/bin/grep /bin/grep

After all of that

voms-proxy-init -voms atlas

Should work fine.

Step 2: Get Panda working

I followed the instructions on https://twiki.cern.ch/twiki/bin/viewauth/Atlas/PandaTools#Installation installing to /opt/grid/panda

Then do

export PATHENA_GRID_SETUP_SH=~/.grid_env.sh

Then create the file ~/.grid_env.sh with the following contents

export PATH=/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/opt/globus/bin:/opt/glite/bin:/opt/grid/panda/bin/:/usr/X11R6/bin
export PYTHON_PATH=/opt/local/lib:/opt/glite/lib:/opt/globus/lib

Now pbook works. Not tested with prun or pathena, which I suspect will need more tweaks to above file to make work

-- NickEdwards - 2011-01-06

Topic revision: r1 - 2011-01-06 - NickEdwards
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback