Hi,
I always get a crash on the client side if I try to send back more than 6 objects total from my PROOF server.
I’m using 5.27d off the web site. I’ve got a build (gcc 4.1.2) on Linux which is running the “xproofd” server (no other setup), and the tar ball from the website downloaded on my W7 machine. I have a very simple root file which I run on locally and up on the proof server. I can run locally with the following TSelection file:
[code]///
/// SimpleSelection.cpp
///
#include “SimpleSelection.h”
#include <TH1.h>
#include
using std::endl;
using std::cout;
ClassImp(SimpleSelection);
#ifdef MAKECINT
#pragma link C++ class SimpleSelection+;
#endif
Bool_t SimpleSelection::Process(Long64_t entry)
{
cout << “Process…” << entry << endl;
return true;
}
void SimpleSelection::SlaveBegin(TTree *)
{
fOutput->Add(new TH1F(“hi”, “ther”, 10, 0.0, 10.0));
fOutput->Add(new TH1F(“hi1”, “ther”, 10, 0.0, 10.0));
fOutput->Add(new TH1F(“hi2”, “ther”, 10, 0.0, 10.0));
fOutput->Add(new TH1F(“hi3”, “ther”, 10, 0.0, 10.0));
// Uncomment this line and I get the crash
//fOutput->Add(new TH1F(“hi4”, “ther”, 10, 0.0, 10.0));
}
void SimpleSelection::Terminate()
{
cout << “See " << fOutput->GetEntries() << " items” << endl;
}
[/code] and here is the code I was using to actually run the tests:
[code]///
/// SimpleRun.C
///
void SimpleRun()
{
string fname = “output.root”;
//gSystem->CompileMacro("BTagNtupleBuilder/MuonInBJet.cpp");
//gSystem->CompileMacro("BTagNtupleBuilder/BTagJet.cpp");
gSystem->CompileMacro("SimpleSelection.cpp");
TFile *input = new TFile (fname.c_str(), "READ");
TTree *t = static_cast<TTree*> (input->Get("btag"));
SimpleSelection *s = new SimpleSelection();
t->Process(s);
///
/// Now, do PROOF
///
cout << "NOW Doing PROOF" << endl;
p = TProof::Open("xxx.phys.washington.edu");
//p->Load("BTagNtupleBuilder/MuonInBJet.cpp+");
//p->Load("BTagNtupleBuilder/BTagJet.cpp+");
p->Load("SimpleSelection.cpp+");
p->Process("user.Gordon.BTagComp.mc09_7TeV.105011.J2_pythia_jetjet.merge.NTUP_BTAG.e468_s766_s767_r1303_r1306_p245.v1", "SimpleSelection");
}
[/code]
When I run on the same machine as the PROOF server (but using the same TProof), it works just fine. So this is something about moving the data from Linux to W7.
Cheers, Gordon.