Macro does not contain a '.' warning

Hi,

Here at Purdue, we set up a small proof farm. It was working when CMSSW
used root_5.14.00f-CMS3q. But now with new CMSSW root version like
5.18.00a-cms4 or newer, we cannot get the proof running. Because
5.18.00a-cms4 and newer version has no xrootd. I started our proof
server with xrootd of root_5.22.00 downloaded from root.cern.ch. I ran a client root from
CMSSW_2_1_12’s root (5.18.00a-cms13) at my local desktop. Then I used
TPROOF:AddEnvVar() to add all CMSSW environment parameters to PROOF. Now
ROOTSYS also became 5.18.00a-cms13/bin/root, but before ROOTSYS was 5.22.00/bin/root. Then I opened a proof
session. Until now, everything looked fine.

But I ran gProof->Load(“libFWCoreFWLite”) in order to load FWCoreFWLite
library at remote nodes. I got "Info in TProof::Load: macro
’libFWCoreFWLite’ does not contain a ‘.’: do nothing (Int_t)(-1)
then I ran gProof->Exec(“AutoLibraryLoader::enable();”) I got "Error in
TXSocket::ProcessUnsolicitedMsg: Unknow action code: 5112. Then root
was stuck there forever.

I followed Wolf’s instruction at
desy.de/~wbehrenh/proof_at_naf.pdf . Looks like he has a
successful proof server running. Does anybody have any experience about
this problem? Any suggestion is welcome.

thanks,

Haiying

Dear Haiying,

TProof::Load is intended to load macros as “.L” does in the local shell.
To load a library you have to use TSystem::Load(…) via TProof::Exec :

gProof->Exec("gSystem->Load(\"libFWCoreFWLite\")")

This should work as also suggested in a TWiki page referred in your link:
twiki.cern.ch/twiki/bin/view/CM … ngNAFPROOF
(There may other information useful for your case in that page).

Please try and let us know.

G. Ganis

I ran the command gProof->Exec(“gSystem->Load(“libFWCoreFWLite”)”)
then I got Error in TXSocket::ProcessUnsolicitedMsg: unknown action code: 5112.

[quote=“ganis”]Dear Haiying,

TProof::Load is intended to load macros as “.L” does in the local shell.
To load a library you have to use TSystem::Load(…) via TProof::Exec :

gProof->Exec("gSystem->Load("libFWCoreFWLite")")

This should work as also suggested in a TWiki page referred in your link:
twiki.cern.ch/twiki/bin/view/CM … ngNAFPROOF
(There may other information useful for your case in that page).

Please try and let us know.

G. Ganis[/quote]

Hi,

This looks like a backward-incompatibility issue.
Can you post the logs following
root.cern.ch/twiki/bin/view/ROOT/ProofProblems
?

Thanks,

G. Ganis

Yes, it is a backward incompatibility. I used root_5.18.00’s xrootd to start the proof farm. Now my proof session is not stuck any more.

I will show the testing log later.

thanks a lot.