Difference between revisions of "How to run at Nikhef"

From LHCb Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
 
=== Setup Environment ===
 
=== Setup Environment ===
 
+
Only once:
 
<pre>
 
<pre>
setenv MYSITEROOT /project/bfys/lhcb/sw
+
# csh, tcsh
source $MYSITEROOT/lhcb/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.csh --quiet --mysiteroot $MYSITEROOT
+
source /project/bfys/lhcb/sw/LbLogin.csh
 +
# bash, zsh, etc.
 +
. /project/bfys/lhcb/sw/LbLogin.sh
 
SetupProject Bender v12r1 --build-env
 
SetupProject Bender v12r1 --build-env
SetupProject Bender v12r1
 
  
 +
cd cmtuser/Bender_v12r1
 
# Get Juan's examples:
 
# Get Juan's examples:
getpack Tutorial/GaudiPythonTutor v1r0
+
getpack -p anonymous Tutorial/GaudiPythonTutor v1r0
 +
cd Tutorial/GaudiPythonTutor/cmt
 +
make
  
 
# Get Vanya's examples:
 
# Get Vanya's examples:
getpack Tutorial/BenderTutor v12r1  
+
cd cmtuser/Bender_v12r1/
 +
getpack -p anonymous Tutorial/BenderTutor v12r1
 +
cd Tutorial/BenderTutor/cmt
 +
make
 +
</pre>
 +
 
 +
Every session:
 +
<pre>
 +
#re-set $GAUDITUTORROOT and $BENDERTUTORROOT
 +
SetupProject Bender v12r1
 
</pre>
 
</pre>
  
 
[https://twiki.cern.ch/twiki/bin/view/LHCb/BenderTutorial#Setup_the_environment_forBender Setup Bender]
 
[https://twiki.cern.ch/twiki/bin/view/LHCb/BenderTutorial#Setup_the_environment_forBender Setup Bender]
 +
 +
=== Stuff from Egmond ===
 +
 +
data:
 +
<pre>
 +
cd /data/bfys/lhcb/data/workshop/
 +
</pre>
 +
 +
 +
home directories:
 +
<pre>
 +
cd /data/bfys/lhcb/workshop/home/
 +
</pre>
 +
 +
=== Configure SSH ===
 +
 +
If at some point you write software and need commit changes,
 +
then you need to configure your SSH.
 +
 +
(And as a bonus you can do "getpack" instead of  "getpack -p anonymous")
 +
 +
To do so, follow this link [http://cvs.web.cern.ch/cvs/howto.php#accessing-sshlinux Configure SSH]
 +
 +
NB: don't fill in a "YOURPASSPHRASE", just ENTER.

Latest revision as of 12:23, 10 July 2009

Login to Stoomboot

ssh user@stbc-16

Setup Environment

Only once:

# csh, tcsh
source /project/bfys/lhcb/sw/LbLogin.csh
# bash, zsh, etc.
. /project/bfys/lhcb/sw/LbLogin.sh
SetupProject Bender v12r1 --build-env

cd cmtuser/Bender_v12r1
# Get Juan's examples:
getpack -p anonymous Tutorial/GaudiPythonTutor v1r0
cd Tutorial/GaudiPythonTutor/cmt
make

# Get Vanya's examples:
cd cmtuser/Bender_v12r1/
getpack -p anonymous Tutorial/BenderTutor v12r1
cd Tutorial/BenderTutor/cmt
make 

Every session:

#re-set $GAUDITUTORROOT and $BENDERTUTORROOT
SetupProject Bender v12r1

Setup Bender

Stuff from Egmond

data:

cd /data/bfys/lhcb/data/workshop/


home directories:

cd /data/bfys/lhcb/workshop/home/

Configure SSH

If at some point you write software and need commit changes, then you need to configure your SSH.

(And as a bonus you can do "getpack" instead of "getpack -p anonymous")

To do so, follow this link Configure SSH

NB: don't fill in a "YOURPASSPHRASE", just ENTER.