On Wed, 2002-11-13 at 15:22, Piergiorgio Cerello wrote: > Hi evereybody, > I have a couple of questions about PROOF remote session. In particular: > > - how to set environment variables in remote sessions via gProof->Exec(): root [0] gROOT->Proof() **** Welcome to the PROOF server @ pcsalo.cern.ch **** **** PROOF slave server @ pcsalo.cern.ch started **** **** PROOF slave server @ pcsalo.cern.ch started **** PROOF set to parallel mode (2 slaves) root [1] gProof->Exec("gSystem->Setenv(\"AAP\",\"pipo\")") (Int_t)0 root [2] gProof->Exec("gSystem->Getenv(\"AAP\")") (const char* 0x8533b7c)"pipo" (const char* 0x8533b7c)"pipo" (Int_t)0 > - how to start a PROOF remote session with an extended executable (for > example, aliroot). > I could start root and load the shared libraries dynamically, but I > should extend the path. Otherwise, how can I associate to the > remote proof session a command other than "root"? in the remote sessions we will have something as root.exe running. We cannot run arbitrary executables. However, once the package manager is finished it will be easy to package all aliroot shared libs in a proof package and distribute that over all nodes: gProof->UploadPackage("aliroot.par") and load all shared libs using: gProof->EnablePackage("aliroot") Cheers, Fons. -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:17 MET