Running root with lxplus

I’m trying to use Root on a computer of the library, using lxplus. These are the commands I type on the shell:

set ROOTSYS=/afs/cern.ch/sw/lcg/external/root/5.12.00/slc3_ia32_gcc323/root

set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib

When I set the library, I’m told that “$” is not a good symbol.
Then, when I Type “root”, I get the following message: “Variable Rootsys not set”.

Maybe I try to connect to the wrong version, because I don’t know the meaning of “slc3”, “gcc.3.2.3”, etc which you can find on the web page “root.cern.ch/root/AFS.html”.

Could someone explain me how to do?

Hi,

Please use the following syntax:
setenv ROOTSYS /afs/cern.ch/sw/lcg/external/root/5.12.00/slc3_ia32_gcc323/root
setenv LD_LIBRARY_PATH $ROOTSYS/lib:$LD_LIBRARY_PATH
setenv PATH $ROOTSYS/bin:$PATH
It will work.

slc3 means “Scientific Linux CERN 3” (lxplus is SLC3)
gcc.3.2.3 is the compiler version (lxplus uses this version)
HTH.

Cheers,
Bertrand.