Hi Philippe,
On 02/09/2010 05:28 PM, Philippe Canal wrote:
> Hi,
>
> > This is not true. I did already process a TChain with Proof and a
> Class created by MakeProxy ;-)
>
> Yes again I was imprecise :(
>
> More precisely, I meant that for a TChain you can call Process with a
> filename ("MySelector.C+") both
> in the local and Proof case but you can Process with a TSelector
> pointer ( &myselector ) only if you do not use Proof. :)
Just to be sure: I CAN do TChain.Process(&selector) from a "normal" ROOT session?
>
> > Yes, this was exactly what I was searching. However, this is only
> possible for PROOF-sessions. What do I do if I run the code without
> proof? Passing one string is not that much.
>
> Unfortunately, you will need to use two different code path. For the
> non-proof case, you could create the TSelector before hand
> and set its parameter in place while using the input list for the
> proof case.
>
This indeed solves my problem. I will have a try with that. Thanks a lot
for your patience.
Cheers,
Kathrin
> Cheers,
> Philippe.
>
> On 2/9/10 10:17 AM, Kathrin Stoerig wrote:
>> Hi Philippe,
>>
>> On 02/09/2010 04:51 PM, Philippe Canal wrote:
>>> Hi Kathrin,
>>>
>>> > thanks, I just was confused because there is written on the manual
>>> that the TTree-arguement is "no longer used" for PROOF.
>>>
>>> Yes it is for the function Begin and SlaveBegin but it is still used
>>> for Init as the documentation points out:
>>>
>>> > The tree argument is deprecated. (In the case of PROOF the tree is
>>> not available on the client and 0 will be passed. The Init()
>>> function should be used to implement operations depending on the tree)
>>>
>>> > You said, for TChains it is not possible to call Process with a
>>> previously created selector directly.
>>>
>>> More precisely, I meant that for a TChain you can call Process only
>>> if you do not use Proof.
>> This is not true. I did already process a TChain with Proof and a
>> Class created by MakeProxy ;-) As far as I can tell, it seemed to
>> work. Looks like it splits automatically the chain back into single
>> trees. Is there any reason why it should not work?
>>>
>>> > Do I miss something here? Any suggestions would be helpful.
>>>
>>> You can pass information through the 'input list' see
>>> http://root.cern.ch/drupal/content/controlling-proof-behaviour-input-list
>>>
>>> for some information (for example you can use a TParameter or a
>>> TObjString).
>>> Also you can pass a string option in the call to Process (the 2nd
>>> parameter).
>> Yes, this was exactly what I was searching. However, this is only
>> possible for PROOF-sessions. What do I do if I run the code without
>> proof? Passing one string is not that much.
>>
>> Cheers,
>> Kathrin
>>>
>>> Cheers,
>>> Philippe.
>>>
>>>
>>> On 2/9/10 6:18 AM, Kathrin Stoerig wrote:
>>>> Hi Philippe,
>>>>
>>>> thanks, I just was confused because there is written on the manual
>>>> that the TTree-arguement is "no longer used" for PROOF.
>>>>
>>>> One last question:
>>>> You said, for TChains it is not possible to call Process with a
>>>> previously created selector directly. So, how am I then supposed to
>>>> pass certain arguements to this selector (besides the predefined
>>>> ones). I thought of something like normalization or some kind of
>>>> switches??
>>>> Let me give an example:
>>>> Create a TSelector, add some functions like
>>>> TSelector.SetArguements(weight=2, isBatch=true, ...)... and then
>>>> pass it to TTree/TChain tree.Process(&selector).
>>>> Now, that I can not Process(&selector) with a chain, two solutions
>>>> come to my mind (but I might be wrong):
>>>> - either I split the chain up in trees and do seperate calls for
>>>> tree.Process(&selector) but this would somehow ignore the things,
>>>> PROOF could do for me I guess
>>>> - or there is a way to pass arguements from the commandline to
>>>> tChain.Process("macro.C++"). I already tried
>>>> "macro.C++(parameters)" like you could do it from the command line
>>>> when starting root but it didn't work for me.
>>>>
>>>> Do I miss something here? Any suggestions would be helpful.
>>>> Cheers,
>>>>
>>>> Kathrin
>>>>
>>>>
>>>> On 02/08/2010 10:21 PM, Philippe Canal wrote:
>>>>> Hi Kathrin,
>>>>>
>>>>> That depends from where :). In a MakeProxy, you can use fChain
>>>>> if you need to. In a MakeSelector same thing.
>>>>> Otherwise, you would capture it by copying the argument pass to
>>>>> the Init function of the selector.
>>>>>
>>>>> Cheers,
>>>>> Philippe.
>>>>>
>>>>> On 2/8/10 11:19 AM, Kathrin Stoerig wrote:
>>>>>> Hi,
>>>>>>
>>>>>> one more maybe stupid question: How do I access the current TTree
>>>>>> inside proof?
>>>>>>
>>>>>> Cheers,
>>>>>> Kathrin
>>>>>>
>>>>>> On 02/05/2010 09:49 PM, Philippe Canal wrote:
>>>>>>> Hi Kathrin,
>>>>>>>
>>>>>>>> If you are still interested and want to track this bug, I can
>>>>>>>> test with my
>>>>>>>> old class line-by-line what causes this strange behavior
>>>>>>>> tomorrow.
>>>>>>>> Otherwise, I am happy that it is vanished now.
>>>>>>>
>>>>>>> If _and only_ if you have some time, this might be interesting
>>>>>>> to know what the cause was
>>>>>>> since we do expect any of our changes to have made a difference
>>>>>>> (and thus there is some
>>>>>>> change that the problem is just 'hiding'). However I also expect
>>>>>>> that this problem is due
>>>>>>> to a build problem (i.e. it might not come back :)) so I don't
>>>>>>> think that this is important :)
>>>>>>>
>>>>>>> > By the way, why has TChain no method Process(&TSelector)? -
>>>>>>> This is one of
>>>>>>> > the recommendations I found on TTree-Docu in order to process
>>>>>>> several
>>>>>>> > times..
>>>>>>>
>>>>>>> TChain does have a method Long64_t TChain::Process(TSelector*
>>>>>>> selector, Option_t* option, Long64_t nentries, Long64_t firstentry)
>>>>>>> .... However it is _not_ supported in Proof mode.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Philippe.
>>>>>>>
>>>>>>>
>>>>>>> On 2/5/10 2:41 PM, Kathrin Stoerig wrote:
>>>>>>>> Hi Philippe,
>>>>>>>>
>>>>>>>> I think you finally solved my problem :-)
>>>>>>>>
>>>>>>>> I installed your updated ROOT-version and now my
>>>>>>>> compiler-problems vanishes
>>>>>>>> magically.
>>>>>>>> I get exactly the same segfault of slave as you now, therefore
>>>>>>>> I will start
>>>>>>>> rebuilding my classes from the new MakeProxy-method.
>>>>>>>>
>>>>>>>> I tried your stdio-example and I can confirm your expectation.
>>>>>>>> It works
>>>>>>>> besides the "missing" TSelector.
>>>>>>>> If you are still interested and want to track this bug, I can
>>>>>>>> test with my
>>>>>>>> old class line-by-line what causes this strange behavior tomorrow.
>>>>>>>> Otherwise, I am happy that it is vanished now.
>>>>>>>>
>>>>>>>> By the way, why has TChain no method Process(&TSelector)? -
>>>>>>>> This is one of
>>>>>>>> the recommendations I found on TTree-Docu in order to process
>>>>>>>> several
>>>>>>>> times..
>>>>>>>>
>>>>>>>> Cheers and many thanks again,
>>>>>>>> Kathrin
>>>>>>>>
>>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>>> Von: Philippe Canal [mailto:pcanal_at_fnal.gov]
>>>>>>>> Gesendet: Freitag, 5. Februar 2010 20:45
>>>>>>>> An: Kathrin Stoerig
>>>>>>>> Cc: 'ganis'
>>>>>>>> Betreff: Re: AW: AW: [ROOT] problem compiling with PROOF and
>>>>>>>> stdio.h
>>>>>>>>
>>>>>>>> Hi Kathrin,
>>>>>>>>
>>>>>>>> I did try your example. The file proxyWD3PD.C does shows that
>>>>>>>> expected
>>>>>>>> (run-time segmentation
>>>>>>>> fault of the slave) and if I regenerate the proxy, it compiled
>>>>>>>> and works
>>>>>>>> properly out of the box.
>>>>>>>>
>>>>>>>> I was _unable_ to reproduce your compilation failure ...
>>>>>>>>
>>>>>>>> When you get a change to try again I recommend to try a simple
>>>>>>>> test with
>>>>>>>> a file containing
>>>>>>>> just
>>>>>>>>
>>>>>>>> #include<stdio.h>
>>>>>>>>
>>>>>>>> as the file that you pass to Process with Proof enabled. The
>>>>>>>> correct
>>>>>>>> behavior in that case
>>>>>>>> is no compilation error and a message complaining the library does
>>>>>>>> contain a TSelector object.
>>>>>>>>
>>>>>>>> If this test succeed, then you should try to remove from
>>>>>>>> proxyWD3PD.C
>>>>>>>> and proxyWD3PD.h
>>>>>>>> code until the compilation succeeds and send me the broken result.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Philippe.
>>>>>>>>
>>>>>>>> On 2/5/10 12:02 PM, Kathrin Stoerig wrote:
>>>>>>>>> Hello Phillipe,
>>>>>>>>>
>>>>>>>>> I did not have the time for testing your new ROOT version yet,
>>>>>>>>> but I
>>>>>>>> already
>>>>>>>>> put my basic code under (I hope this is everything you need):
>>>>>>>>> https://james.physik.uni-freiburg.de/~stoerig/public/
>>>>>>>>>
>>>>>>>>> Cheers and many thanks for the help,
>>>>>>>>> Kathrin
>>>>>>>>>
>>>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>>>> Von: Philippe Canal [mailto:pcanal_at_fnal.gov]
>>>>>>>>> Gesendet: Freitag, 5. Februar 2010 13:40
>>>>>>>>> An: Kathrin Stoerig
>>>>>>>>> Cc: 'ganis'
>>>>>>>>> Betreff: Re: AW: [ROOT] problem compiling with PROOF and stdio.h
>>>>>>>>>
>>>>>>>>> Hi Kathrin,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> What do you mean by running PROOF "locally"? This is what
>>>>>>>>>> I always do,
>>>>>>>>>> running only on my local computer (2cores, 2 workernodes).
>>>>>>>>>>
>>>>>>>>> That is what I meant ... So I am not sure what the problem was
>>>>>>>>> and
>>>>>>>>> whether or not the
>>>>>>>>> change I made address it. If you send me a complete running
>>>>>>>>> example, I
>>>>>>>>> will try to
>>>>>>>>> reproduce your error messages ....
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Philippe.
>>>>>>>>>
>>>>>>>>> On 2/5/10 4:00 AM, Kathrin Stoerig wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I am on shift for the next days, but afterwards I promise I
>>>>>>>>>> will have a
>>>>>>>>>>
>>>>>>>>> try
>>>>>>>>>
>>>>>>>>>> with the new version.
>>>>>>>>>>
>>>>>>>>>> What do you mean by running PROOF "locally"? This is what I
>>>>>>>>>> always do,
>>>>>>>>>> running only on my local computer (2cores, 2 workernodes).
>>>>>>>>>> If your question aims whether I can run at all any code with
>>>>>>>>>> proof, yes,
>>>>>>>> I
>>>>>>>>>> can. I tried successfully to reproduce the example class from
>>>>>>>>>> the ATLAS
>>>>>>>>>>
>>>>>>>>> SUSY
>>>>>>>>>
>>>>>>>>>> D3PD maker, which is based on MakeSelector.
>>>>>>>>>> (https://twiki.cern.ch/twiki/bin/view/AtlasProtected/SUSYD3PDMaker).
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Kathrin
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -----Ursprüngliche Nachricht-----
>>>>>>>>>> Von: Philippe Canal [mailto:pcanal_at_fnal.gov]
>>>>>>>>>> Gesendet: Donnerstag, 4. Februar 2010 23:38
>>>>>>>>>> An: Kathrin Stoerig
>>>>>>>>>> Cc: ganis
>>>>>>>>>> Betreff: Re: [ROOT] problem compiling with PROOF and stdio.h
>>>>>>>>>>
>>>>>>>>>> Hi Kathrin,
>>>>>>>>>>
>>>>>>>>>> It turns out that a couple of things in MakeProxy were not
>>>>>>>>>> playing nice
>>>>>>>>>> with PROOF.
>>>>>>>>>> I updated the trunk (revision 32218) and now the result of
>>>>>>>>>> MakeProxy
>>>>>>>>>> does work
>>>>>>>>>> (for me) with Proof. Could you give it a try?
>>>>>>>>>>
>>>>>>>>>> However the problem I found are (seemingly) unrelated to the
>>>>>>>>>> problem you
>>>>>>>>>> have.
>>>>>>>>>>
>>>>>>>>>> Can you try running first PROOF with a local session? (I am
>>>>>>>>>> suspecting
>>>>>>>> an
>>>>>>>>>> install problem with the worker node's compiler ...).
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Philippe.
>>>>>>>>>>
>>>>>>>>>> On 2/4/10 9:34 AM, Kathrin Stoerig wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Hi Phillipe,
>>>>>>>>>>>
>>>>>>>>>>> oh, sorry for the confusion, D3PDBase derives from proxyWD3PD.
>>>>>>>>>>> proxyWD3PD is (with small modifications) what came out of
>>>>>>>>>>> TChain.MakeProxy().
>>>>>>>>>>> But, nevertheless, the errors look just the same for using
>>>>>>>>>>> proxyWD3PD.
>>>>>>>>>>> I am more surprised by the fact, that it compiles without
>>>>>>>>>>> any problems
>>>>>>>>>>> inside ROOT directly.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Kathrin
>>>>>>>>>>>
>>>>>>>>>>> PS: errors for proxyWD3PD
>>>>>>>>>>>
>>>>>>>>>>> PD.h proxyWD3PD_C_ACLiC_linkdef.h:8:
>>>>>>>>>>> Note: Link requested for already precompiled class
>>>>>>>>>>> vector<float,allocator<float> > (ignore this message) :0:
>>>>>>>>>>> In file included from /usr/include/stdio.h:909,
>>>>>>>>>>> from
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.h:11,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> from
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.cxx:16:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> /usr/include/bits/stdio.h: In function ‘__ssize_t
>>>>>>>>>>> getline(char**,
>>>>>>>>>>> size_t*, FILE*)’:
>>>>>>>>>>> /usr/include/bits/stdio.h:118: error: ‘__getdelim’ was not
>>>>>>>>>>> declared in
>>>>>>>>>>> this scope
>>>>>>>>>>> g++:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.o:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> No such file or directory
>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error in<ACLiC>: Compilation failed!
>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error in<TSelector::GetSelector>: file
>>>>>>>>>>> proxyWD3PD.C++ does not have a valid class deriving from
>>>>>>>>>>> TSelector
>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error
>>>>>>>>>>> in<TProofPlayerSlave::Process>: cannot
>>>>>>>>>>> load: proxyWD3PD.C++
>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Warning
>>>>>>>>>>> in<TXProofServ::HandleProcess>: the
>>>>>>>>>>> output list is empty!
>>>>>>>>>>> Received SIGTERM: terminating
>>>>>>>>>>> 17:08:38 11507 Wrk-0.1 | Info in<TXProofServ::Terminate>:
>>>>>>>>>>> starting
>>>>>>>>>>> session termination operations ...
>>>>>>>>>>> 17:08:38 11507 Wrk-0.1 | Info in<TXProofServ::Terminate>:
>>>>>>>>>>> process
>>>>>>>>>>> memory footprint: 65668 kB virtual, 26912 kB resident
>>>>>>>>>>> Terminate: termination operations ended: quitting!
>>>>>>>>>>>
>>>>>>>>>>> On 02/04/2010 04:16 PM, Philippe Canal wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I am a bit confused. You are using:
>>>>>>>>>>>>
>>>>>>>>>>>> chain.Process("D3PDBase.C++","",100,0)
>>>>>>>>>>>>
>>>>>>>>>>>> but the log you list mentioned proxyWD3PD.h and
>>>>>>>>>>>> proxyWD3PD.C ...
>>>>>>>>>>>> Did you call chain.MakeProxy ?
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> Philippe.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 2/4/10 8:49 AM, Kathrin Stoerig wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> the problem is, it does not even compile..
>>>>>>>>>>>>>
>>>>>>>>>>>>> I use python for building the tChain, and the I do
>>>>>>>>>>>>> chain.Process("D3PDBase.C++","",100,0)
>>>>>>>>>>>>>
>>>>>>>>>>>>> PROOF launches, but never manages to compile, see errors
>>>>>>>>>>>>> below. I
>>>>>>>>>>>>> also tried it from CINT, but it did not work either.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>> Kathrin
>>>>>>>>>>>>>
>>>>>>>>>>>>> 16:45:56 11493 Mst-0 | Info in<TXProofServ::SetQueryRunning>:
>>>>>>>>>>>>> starting query: 1
>>>>>>>>>>>>> 16:45:56 11493 Mst-0 | Info in<TXProofServ::HandleInput>:
>>>>>>>>>>>>> kXPD_clusterinfo: tot: 1, act: 1, eff: 1.000000
>>>>>>>>>>>>> 16:45:57 11493 Mst-0 | Info in
>>>>>>>>>>>>> <TPacketizerAdaptive::TPacketizerAdaptive>: fraction of
>>>>>>>>>>>>> remote files
>>>>>>>>>>>>> 1.000000
>>>>>>>>>>>>> 16:45:57 11493 Mst-0 | SvcMsg
>>>>>>>>>>>>> in<TProofPlayerRemote::Process>:
>>>>>>>>>>>>> Start merging Memory information
>>>>>>>>>>>>> 16:45:57 11493 Mst-0 | Info in<TXProofServ::HandleInput>:
>>>>>>>>>>>>> kXPD_clusterinfo: tot: 1, act: 1, eff: 1.000000
>>>>>>>>>>>>> 16:45:57 11493 Mst-0 | Info in<TXProofServ::HandleInput>:
>>>>>>>>>>>>> kXPD_clusterinfo: tot: 1, act: 1, eff: 1.000000
>>>>>>>>>>>>> 16:46:00 11493 Mst-0 | SvcMsg in
>>>>>>>>>>>>> <TProofPlayerRemote::AddOutputObject>: Memory 79320
>>>>>>>>>>>>> virtual 23328
>>>>>>>>>>>>> resident after merging object MissingFiles
>>>>>>>>>>>>> 16:46:00 11493 Mst-0 | Info in<TXProofServ::HandleInput>:
>>>>>>>>>>>>> kXPD_clusterinfo: tot: 1, act: 1, eff: 1.000000
>>>>>>>>>>>>> 16:45:57 11507 Wrk-0.1 | Info in<TUnixSystem::ACLiC>:
>>>>>>>>>>>>> creating
>>>>>>>>>>>>> shared library
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C.so
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>> Warning: link requested for unknown srcfile
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD.h
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>> proxyWD3PD_C_ACLiC_linkdef.h:8:
>>>>>>>>>>>>> Note: Link requested for already precompiled class
>>>>>>>>>>>>> vector<float,allocator<float> > (ignore this message) :0:
>>>>>>>>>>>>> In file included from /usr/include/stdio.h:909,
>>>>>>>>>>>>> from
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.h:11,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>> from
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.cxx:16:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>> /usr/include/bits/stdio.h: In function ‘__ssize_t
>>>>>>>>>>>>> getline(char**,
>>>>>>>>>>>>> size_t*, FILE*)’:
>>>>>>>>>>>>> /usr/include/bits/stdio.h:118: error: ‘__getdelim’ was not
>>>>>>>>>>>>> declared
>>>>>>>>>>>>> in this scope
>>>>>>>>>>>>> g++:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265211937-11493/worker-0.1
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265211938-11507/./proxyWD3PD_C_ACLiC_dict.o:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>> No such file or directory
>>>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error in<ACLiC>: Compilation failed!
>>>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error in<TSelector::GetSelector>:
>>>>>>>>>>>>> file
>>>>>>>>>>>>> proxyWD3PD.C++ does not have a valid class deriving from
>>>>>>>>>>>>> TSelector
>>>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Error
>>>>>>>>>>>>> in<TProofPlayerSlave::Process>:
>>>>>>>>>>>>> cannot load: proxyWD3PD.C++
>>>>>>>>>>>>> 16:46:00 11507 Wrk-0.1 | Warning
>>>>>>>>>>>>> in<TXProofServ::HandleProcess>:
>>>>>>>>>>>>> the output list is empty!
>>>>>>>>>>>>> 100203 17:08:36 11493 Proofx-E: Conn::SendRecv: reading
>>>>>>>>>>>>> msg from
>>>>>>>>>>>>> connmgr (server [localhost.localdomain:1093])
>>>>>>>>>>>>> 100203 17:08:37 11493 Proofx-E: Conn::CheckResp: server
>>>>>>>>>>>>> [localhost.localdomain:1093] did not return OK replying to
>>>>>>>>>>>>> last
>>>>>>>> request
>>>>>>>>>>>>> 100203 17:08:37 11493 Proofx-E: Conn::CheckErrorStatus:
>>>>>>>>>>>>> error 3006:
>>>>>>>>>>>>> 'Invalid request: 3101' ....
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 02/04/2010 03:41 PM, Philippe Canal wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Kathrin,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What is the calling sequence you use with 'MakeProxy' and
>>>>>>>>>>>>>> Proof
>>>>>>>>>>>>>> that leads to a failure?
>>>>>>>>>>>>>> (a priori MakeProxy should work as well as MakeSelector
>>>>>>>>>>>>>> with Proof
>>>>>>>>>>>>>> unless you use it via TTree::Draw).
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> Philippe.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 2/4/10 8:15 AM, Kathrin Stoerig wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Gerri,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I already tried this dictionary-solution and replacing the
>>>>>>>>>>>>>>> TLorentzVector-Single-Components by vector<TLorentzVector>.
>>>>>>>>>>>>>>> I was not very successful, although the code compiled, I
>>>>>>>>>>>>>>> always
>>>>>>>>>>>>>>> got segfaults when I trying to access these objects. All
>>>>>>>>>>>>>>> other
>>>>>>>>>>>>>>> branches were perfectly fine, even vector<vector<int>
>>>>>>>>>>>>>>> > etc. -
>>>>>>>>>>>>>>> this was the point when I gave up on MakeSelector and tried
>>>>>>>>>>>>>>> MakeProxy (successfully).
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> At the moment, using PROOF is not my highest priority.
>>>>>>>>>>>>>>> With the
>>>>>>>>>>>>>>> Proxy, I get a lot of interesting features I can already
>>>>>>>>>>>>>>> use with
>>>>>>>>>>>>>>> root. So, for me it is perfectly fine to wait for a new
>>>>>>>>>>>>>>> ROOT
>>>>>>>>>>>>>>> version. :-)
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>> Kathrin
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 02/04/2010 02:24 PM, ganis wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Kathrin,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Including the dictionary for
>>>>>>>>>>>>>>>> vector<TLorentzVector> as
>>>>>>>>>>>>>>>> suggested by Philippe should work also with
>>>>>>>>>>>>>>>> TSelector. what errors do you get?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I will try to add support for proxies in PROOF asap.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>> Gerri
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Kathrin Stoerig wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Gerri,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> the principle idea was to read some "not-totally flat"
>>>>>>>>>>>>>>>>> ntuple
>>>>>>>>>>>>>>>>> (means vector<float> and vector<TLorentzVector>
>>>>>>>>>>>>>>>>> mainly) with
>>>>>>>>>>>>>>>>> automatically generated code and PROOF. - Example data
>>>>>>>>>>>>>>>>> file can
>>>>>>>>>>>>>>>>> be found at
>>>>>>>>>>>>>>>>> https://james.physik.uni-freiburg.de/~stoerig/testdata.root
>>>>>>>>>>>>>>>>> ,
>>>>>>>>>>>>>>>>> use Tree CommonContainersTree
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I already "played" around quite a while using
>>>>>>>>>>>>>>>>> MakeSelector, but
>>>>>>>>>>>>>>>>> I encountered the problem that I could not access the
>>>>>>>>>>>>>>>>> TLorentzVectors.. as the structure is not recognized
>>>>>>>>>>>>>>>>> correctly
>>>>>>>>>>>>>>>>> and also manual changes were not successful.
>>>>>>>>>>>>>>>>> I read somewhere that MakeProxy offers better support
>>>>>>>>>>>>>>>>> for such
>>>>>>>>>>>>>>>>> peculiar data types - and nearly out of the box,
>>>>>>>>>>>>>>>>> MakeProxy works
>>>>>>>>>>>>>>>>> fine for me and I can do my analysis.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Of course I am open for any suggestions.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>>>>> Kathrin
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 02/03/2010 07:12 PM, ganis wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Dear Kathrin,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> There no support for proxy in PROOF yet.
>>>>>>>>>>>>>>>>>> Can you give more details about what you are
>>>>>>>>>>>>>>>>>> trying to do so
>>>>>>>>>>>>>>>>>> that we can try to suggest a
>>>>>>>>>>>>>>>>>> possible solution?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Gerri Ganis
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Kathrin Stoerig wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I try to implement my analysis with MakeProxy and
>>>>>>>>>>>>>>>>>>> Proof.
>>>>>>>>>>>>>>>>>>> The automatically generated code works fine with
>>>>>>>>>>>>>>>>>>> ROOT (5-26a
>>>>>>>>>>>>>>>>>>> 32 bit from cernafs), but when I try to compile
>>>>>>>>>>>>>>>>>>> within PROOF,
>>>>>>>>>>>>>>>>>>> I get the following error messages related to stdio.h?!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Any help is very welcome.
>>>>>>>>>>>>>>>>>>> Kind regards,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Kathrin
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>>>>>>>>>> In file included from /usr/include/stdio.h:909,
>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265208987-10792/worker-0.0
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265208988-10803/./proxyWD3PD_C_ACLiC_dict.h:11,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> from
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265208987-10792/worker-0.0
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265208988-10803/./proxyWD3PD_C_ACLiC_dict.cxx:16:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> /usr/include/bits/stdio.h: In function ‘__ssize_t
>>>>>>>>>>>>>>>>>>> getline(char**, size_t*, FILE*)’:
>>>>>>>>>>>>>>>>>>> /usr/include/bits/stdio.h:118: error: ‘__getdelim’
>>>>>>>>>>>>>>>>>>> was not
>>>>>>>>>>>>>>>>>>> declared in this scope
>>>>>>>>>>>>>>>>>>> g++:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> /home/stoerig/.proof/session-pb-d-128-141-42-207-1265208987-10792/worker-0.0
>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -pb-d-128-141-42-207-1265208988-10803/./proxyWD3PD_C_ACLiC_dict.o:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> No such file or directory
>>>>>>>>>>>>>>>>>>> 15:56:48 10803 Wrk-0.0 | Error in<ACLiC>:
>>>>>>>>>>>>>>>>>>> Compilation failed!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
Received on Tue Feb 09 2010 - 17:36:15 CET
This archive was generated by hypermail 2.2.0 : Tue Feb 09 2010 - 17:50:01 CET