Hello,
So I am having problems opening ROOT in lxplus. If I just call ROOT by typing “root” it says that the command isn’t found even though I am in the right directory and I have ROOT in there. I have tried typing “./root &” since that is how I open ispy in lxplus but that says Permission Denied. I have tried “chmod +x root” but it doesn’t change anything. Do you know what I am doing wrong? I am probably making a simple mistake since I don’t know many linux commands.
Andrea
If you use tcshell and log into an SLC4 machine, you execute the below commands to setup the paths needed for ROOT. ROOT is installed in all lxplus nodes but you need to setup the paths correctly first. Similar commands exist for the bash shell.
$ setenv ROOTSYS /afs/cern.ch/cms/sw/slc4_ia32_gcc345/lcg/root/5.22.00a-cms18/
$ setenv PATH ${PATH}:$ROOTSYS/bin
$ setenv LD_LIBRARY_PATH /afs/cern.ch/cms/sw/slc4_ia32_gcc345/external/boost/1.38.0-cms/lib:/afs/cern.ch/cms/sw/slc4_ia32_gcc345/external/xrootd/5.22.00a-cms2/lib:/afs/cern.ch/cms/sw/slc4_ia32_gcc345/external/clhep/1.9.4.2-cms2/lib:/afs/cern.ch/cms/sw/slc4_ia32_gcc345/external/gcc/3.4.5-cms/lib:/afs/cern.ch/cms/sw/slc4_ia32_gcc345/lcg/SCRAMV1/V2_1_3/lib
$ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:$ROOTSYS/lib’
Thanks Edgar. It seems to work fine now.