Compiled TProof


_ROOT Version: 6.14
_Platform: osx and linux
_Compiler: default for osx 10.14 and CC7


Is it possible to compile the TSelector derived class use in proof ? (without loading via proof or making an ACLIC compilation)

….

    dbxAna anAna;    // my analysis class based on TSelector which works in a macro

….

proof->Process(aset, &anAna, “ ", 0);

……

??

Unfortunately I get a run time segmentation fault on my mac with root 6.14.04:

Info in <TProofLite::SetQueryRunning>: starting query: 1

Info in <TProofQueryResult::SetRunning>: nwrks: 4

 *** Break *** segmentation violation

[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)

[<unknown binary>] (no debug info)

[/cern/root-current/lib/libGui.so] TGMainFrame::TGMainFrame(TGWindow const*, unsigned int, unsigned int, unsigned int) (no debug info)

[/cern/root-current/lib/libGui.so] TGTransientFrame::TGTransientFrame(TGWindow const*, TGWindow const*, unsigned int, unsigned int, unsigned int) (no debug info)

[/cern/root-current/lib/libSessionViewer.so] TProofProgressDialog::TProofProgressDialog(TProof*, char const*, int, long long, long long) (no debug info)

[<unknown binary>] (no debug info)

[/cern/root-current/lib/libCling.so] TClingCallFunc::exec(void*, void*) (no debug info)

[/cern/root-current/lib/libCling.so] TClingCallFunc::exec_with_valref_return(void*, cling::Value*) (no debug info)

[/cern/root-current/lib/libCling.so] long TClingCallFunc::ExecT<long>(void*) (no debug info)

[/cern/root-current/lib/libCore.so] TMethodCall::Execute(void*, long&) (no debug info)

[/cern/root-current/lib/libProof.so] long TPluginHandler::ExecPluginImpl<TProofLite*, char const*, int, long long, long long>(TProofLite* const&, char const* const&, int const&, long long const&, long long const&) (no debug info)

[/cern/root-current/lib/libProof.so] TProofLite::Process(TDSet*, char const*, char const*, long long, long long) (no debug info)

[/cern/root-current/lib/libProof.so] TProof::Process(TDSet*, TSelector*, char const*, long long, long long) (no debug info)

[/Users/ngu/project/CutLang/runs/../CLA/CLA.exe] main /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iosfwd:131

[/usr/lib/system/libdyld.dylib] start (no debug info)

[<unknown binary>] (no debug info)
````Preformatted text`

My executable is now called CLA.exe
**--This all works in a simple macro--**

No, that’s not possible.
The workers are separated processes, you have to load it with gProof->Load or via a PAR package.

G Ganis

But then look at this primitive, looks like I can process via a selector pointer. Am I wrong?

Long64_t TProof::Process ( TDSet * dset ,
TSelector * selector ,
Option_t * option = "" ,
Long64_t nentries = -1 ,
Long64_t first = 0
)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.