ROOT logo

void ProofEnableAliRootGSI(const char* location = "/usr/local/grid/AliRoot/v4-05-Release")
{
  // enables a locally deployed AliRoot in a PROOF cluster

  printf("Load libraries: %s \n",location);
  gProof->Exec(Form("TString str(gSystem->ExpandPathName(\"%s\")); gSystem->Setenv(\"ALICE_ROOT\", str);", location), kTRUE);

  gProof->AddIncludePath(Form("%s/include", location));
  gProof->AddIncludePath(Form("%s/TPC", location));
  gProof->AddIncludePath(Form("%s/PWGLF", location));
  gProof->AddIncludePath(Form("%s/PWGLF/SPECTRA/ChargedHadrons/dNdPt", location));
  gProof->AddIncludePath(Form("%s/ANALYSIS", location));

  gProof->AddDynamicPath(Form("%s/lib/tgt_linuxx8664gcc", location));

  // load all libraries
  gProof->Exec("gROOT->Macro(\"$ALICE_ROOT/PWGLF/SPECTRA/ChargedHadrons/dNdPt/macros/LoadMyLibs.C\")",kTRUE);
}
 ProofEnableAliRootGSI.C:1
 ProofEnableAliRootGSI.C:2
 ProofEnableAliRootGSI.C:3
 ProofEnableAliRootGSI.C:4
 ProofEnableAliRootGSI.C:5
 ProofEnableAliRootGSI.C:6
 ProofEnableAliRootGSI.C:7
 ProofEnableAliRootGSI.C:8
 ProofEnableAliRootGSI.C:9
 ProofEnableAliRootGSI.C:10
 ProofEnableAliRootGSI.C:11
 ProofEnableAliRootGSI.C:12
 ProofEnableAliRootGSI.C:13
 ProofEnableAliRootGSI.C:14
 ProofEnableAliRootGSI.C:15
 ProofEnableAliRootGSI.C:16
 ProofEnableAliRootGSI.C:17
 ProofEnableAliRootGSI.C:18
 ProofEnableAliRootGSI.C:19
 ProofEnableAliRootGSI.C:20