Load Library

Hi experts,

I’m PROOF_LITE user, and I tried to load library like

TProof *proof = TProof::Open("workers=6"); proof->Exec("gSystem->Load(\"library.so\")"); TChain *chain = new TChain("tree"); chain->SetProof(); chain->Process("myprogram.C+O");

and TProof::Exec return 0 but .so file is not loaded correctly.

I also tried proof->Load() or gSystem->Load() in SlaveBegin().
Of course, library.so works without PROOF.

Could you tell me the solution ?

Sorry, it works fine now.
But I don’t know what is changed…


It was supposed to work.
Good that it does.
Alternatively you can do it via a PAR file.

G. Ganis