How to setup your CERN account ?
- As member of the Geant4 collaboration, you may access CERN computing facilities.
- Open and access your CERN account via ssh lxplus.cern.ch
- Create a configuration file, named for exampel env.csh, containing the following lines (do not forget to replace sincerti by your username) :
# CVS
setenv CVS_RSH ssh
setenv CVSROOT ":gserver:${USER}@geant4.cvs.cern.ch:/cvs/Geant4"
setenv _EDITOR "${EDITOR}"
if ( -ef "${_EDITOR}" ) then
setenv CVSEDITOR "${_EDITOR}"
else
setenv CVSEDITOR `which vi`
endif
unsetenv _EDITOR
# Geant4
setenv G4SYSTEM Linux-g++
setenv G4INSTALL "/scratch/sincerti/geant4"
setenv G4WORKDIR "${G4INSTALL}/workdir"
setenv G4LIB "${G4INSTALL}/lib"
setenv G4TMP "${G4INSTALL}/tmp"
setenv G4DEBUG 1
setenv G4LEDATA /afs/cern.ch/sw/geant4/dev/data/G4EMLOW
setenv G4LEVELGAMMADATA /afs/cern.ch/sw/geant4/dev/data/PhotonEvaporation
setenv G4RADIOACTIVEDATA /afs/cern.ch/sw/geant4/dev/data/RadiativeDecay
setenv NeutronHPCrossSections /afs/cern.ch/sw/geant4/dev/data/G4NDL
setenv G4ELASTICDATA /afs/cern.ch/sw/geant4/dev/data/G4ELASTIC
setenv CLHEP_BASE_DIR /afs/cern.ch/sw/geant4/dev/CLHEP/pro/slc4_x86_64_gcc346
- Make sure to include the following line in your .tcshrc file (do not forget to adapt the path to your own path)
source /afs/cern.ch/user/s/sincerti/env.csh
- Then, from the lxplus machine, you can connect for example to pcgeant02 via ssh pcgeant02 (SLC4, x86, 64 bits, gcc 3.4.6 - corresponding to the above CLHEP_BASE_DIR variable). You may also use pcgeant01.
- We can create for you a disk working area under /scratch where you can work freely (no backup).
--
SebastienIncerti - 20 Mar 2009