Jobs running in foreign workers

Hello,
I have configured a second proof farm at our site. When I run a job I have the impression that it is running on workers belonging to another proof farm.

I run the job:
I set the new proofmaster:
$ grep “proofmaster =” src/runHistogrammer.cxx
TString proofmaster = “tditaller025.pic.es”;

I run the job:
$ bin/main Protos/Protos_bb.txt Protos/JO_protos_bb.txt Muon

I get the output:

Starting master: opening connection …
Starting master: connection open: setting up server … ^MStarting master: OK

but then I get this output:
f001.pic.es
runHistogrammer: Package Histogrammer enabled…
*** Enabled packages on slave 0.91 on pf004.pic.es
HISTOGRAMMERPKG
*** Enabled packages on slave 0.92 on pf008.pic.es
HISTOGRAMMERPKG
*** Enabled packages on slave 0.93 on pf008.pic.es

pf00* are slaves from the other proof farm we have. The only slave should be italler026.pic.es

In the logs of the new proof master I do receive the request:

==> /var/log/root/xrootd/xrootd.log <==
111214 10:37:03 11623 xpd-I: ProofServCron: 1 sessions are currently active
111214 10:37:03 11623 xpd-I: ProofServCron: next sessions check in 30 secs
111214 10:37:32 11623 xpd-I: SchedCron: running regular checks
111214 10:37:33 11623 xpd-I: ProofServCron: 1 sessions are currently active
111214 10:37:33 11623 xpd-I: ProofServCron: next sessions check in 30 secs
111214 10:37:34 11623 xpd-I: cborrego.17907:31@ui02: Protocol::recycle: user cborrego disconnected; type: ClientMaster
111214 10:38:02 11623 xpd-I: SchedCron: running regular checks
111214 10:38:03 11623 xpd-I: ProofServCron: 1 sessions are currently active
111214 10:38:03 11623 xpd-I: ProofServCron: next sessions check in 30 secs
111214 10:38:03 11623 xpd-I: cborrego.8580:33@localhost.localdomain: Protocol::recycle: user cborrego disconnected; type: Int

In the configuration file from the proofmaster I have just one slave:
[root@tditaller025 ~]# grep taller /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root//etc/conf/xpd.cf
xpd.worker worker tditaller026.pic.es port=1093 repeat=12
xpd.master tditaller025.pic.es

Why it arriving to the other pf00* slaves? What am missing?
Thanks so much!
Carlos

Hello,

[quote=“cborrego”]I set the new proofmaster:
$ grep “proofmaster =” src/runHistogrammer.cxx
TString proofmaster = “tditaller025.pic.es”;

I run the job:
$ bin/main Protos/Protos_bb.txt Protos/JO_protos_bb.txt Muon[/quote]

Can you give more details about what ‘bin/main’ and ‘src/runHistogrammer.cxx’ are and are supposed to do?

G. Ganis

Thanks so much ganis for your quick response.
The job is a es analysis framework for the whole physics group from my institute. Perhaps you could provide me a simpler test which I can submit to our new proof farm
Thanks so much again
Carlos

You try to run PROOF bench:

root [] TProofBench pb("tditaller025.pic.es")
root [] pb.RunCPU()

and then continue with the data read benchs.
See root.cern.ch/drupal/content/new- … proofbench .

G. Ganis

Ps: if you manage to run the CPU bench, can you post or send me the output file? I am trying to collect some stats about specs of clusters and your information will be very appreciated …

Hello,
Thanks so much again:

If I run you job I get:
[cborrego@ui02.pic.es]#root -l
*** DISPLAY not set, setting it to 80.174.167.41.dyn.user.ono.com:0.0
root [0] TProofBench pb(“tditaller025.pic.es”)
| ignoring (apparently) non-responding session(s): 8919
Starting master: opening connection …
Starting master: OK
Opening connections to workers: OK (12 workers)
Setting up worker servers: OK (12 workers)
PROOF set to parallel mode (12 workers)
Info in TProofBench::SetOutFile: using default output file: ‘proofbench-tditaller025.pic.es-12w-20111214-1224.root’

Then if I run the other command:

root [1] pb.RunCPU()
0.9: caught exception triggered by signal ‘1’
0.10: caught exception triggered by signal ‘1’
0.4: caught exception triggered by signal ‘1’
0.6: caught exception triggered by signal ‘1’
Worker ‘tditaller026.pic.es-0.4’ has been removed from the active list

+++ Message from top master at tditaller025.pic.es:1093 : marking tditaller026.pic.es:1093 (0.4) as bad
+++ Reason: received kPROOF_FATAL

+++ Most likely your code crashed on worker 0.4 at tditaller026.pic.es:1093.
+++ Please check the session logs for error messages either using
+++ the ‘Show logs’ button or executing
+++
+++ root [] TProof::Mgr(“tditaller025.pic.es:1093”)->GetSessionLogs()->Display(“0.4”,0)

Worker ‘tditaller026.pic.es-0.3’ has been removed from the active list

+++ Message from top master at tditaller025.pic.es:1093 : marking tditaller026.pic.es:1093 (0.3) as bad
+++ Reason: received kPROOF_FATAL

+++ Most likely your code crashed on worker 0.3 at tditaller026.pic.es:1093.
+++ Please check the session logs for error messages either using
+++ the ‘Show logs’ button or executing
+++
+++ root [] TProof::Mgr(“tditaller025.pic.es:1093”)->GetSessionLogs()->Display(“0.3”,0)

In the log file of the slave I see this:

==> /var/log/root/xrootd/xrootd.log <==
111214 12:22:26 31467 xpd-I: SchedCron: running regular checks
111214 12:22:33 31467 xpd-I: cborrego.8919:31@tditaller025: ClientMgr::MapClient: user cborrego logged-in; type: MasterWorker
111214 12:22:33 31467 xpd-I: cborrego.8919:31@tditaller025: ProofServMgr::Create: use of fork() enforced: calling CreateFork()
111214 12:22:33 31467 xpd-I: ProofServ::SetAdminPath: creation/assertion of the status path /tmp/.xproofd.1093/activesessions/cborrego.default.7178.status was successful!
111214 12:22:34 31467 xpd-I: cborrego.7178:33@localhost.localdomain: ClientMgr::MapClient: user cborrego logged-in; type: Internal
111214 12:22:34 31467 xpd-I: cborrego.8919:31@tditaller025: ProofServMgr::Create: use of fork() enforced: calling CreateFork()
111214 12:22:34 31467 xpd-I: ProofServ::SetAdminPath: creation/assertion of the status path /tmp/.xproofd.1093/activesessions/cborrego.default.7183.status was successful!
111214 12:22:34 31467 xpd-I: cborrego.7183:34@localhost.localdomain: ClientMgr::MapClient: user cborrego logged-in; type: Internal
111214 12:22:34 31467 xpd-I: cborrego.8919:31@tditaller025: ProofServMgr::Create: use of fork() enforced: calling CreateFork()
111214 12:22:34 31467 xpd-I: ProofServ::SetAdminPath: creation/assertion of the status path /tmp/.xproofd.1093/activesessions

THanks so much for your help!
Carlos

Hello,

Uhmm … that’s strange.
But at least the workers are on the machine that you expect (tditaller026.pic.es).
Now, why you get this failure is a different thing.
Can you try basic operations, like:

$ root -b
root [] TProof *p = TProof::Open("tditaller025.pic.es")
...
root [] p->Print("a")
...
root [] p->Exec(".!ls ")
...

and then

root [] p->Process("$ROOTSYS/tutorials/proof/ProofSimple.C+", 10000000)

?
G. Ganis

Thanks so much G.!

This looks ok, the only thinks is it seems i do not have the tutorial installed

[cborrego@ui04.pic.es]#root -b


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/04 8 November 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.30/04 (branches/v5-30-00-patches@41803, De 05 2011, 11:42:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TProof *p = TProof::Open(“tditaller025.pic.es”)
Starting master: opening connection …
Starting master: OK
Opening connections to workers: OK (12 workers)
Setting up worker servers: OK (12 workers)
PROOF set to parallel mode (12 workers)
root [1] p->Print(“a”)
Connected to: tditaller025.pic.es (valid)
Port number: 1093
User: cborrego
ROOT version|rev: 5.30/04|r41803
Architecture-Compiler: linuxx8664gcc-gcc412
Proofd protocol version: 33
Client protocol version: 33
Remote protocol version: 33
Log level: 0
Session unique tag: tditaller025-1323936078-6063
Default data pool: root://tditaller025.pic.es//proofpool
*** Master server 0 (parallel mode, 12 workers):
Master host name: tditaller025.pic.es
Port number: 1093
User/Group: cborrego/default
ROOT version|rev|tag: 5.30/04|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
Protocol version: 33
Image name: tditaller025.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/master-0-tditaller025-1323936078-6063
Config directory:
Config file: proof.conf
Log level: 0
Number of workers: 12
Number of active workers: 12
Number of unique workers: 1
Number of inactive workers: 0
Number of bad workers: 0
Total MB’s processed: 0.00
Total real time used (s): 0.008
Total CPU time used (s): 0.000
List of workers:
*** Worker 0.0 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.0-tditaller026-1323936079-26030
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.001
CPU time used (s): 0.000
*** Worker 0.1 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.1-tditaller026-1323936079-26035
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.2 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.2-tditaller026-1323936079-26037
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.3 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.3-tditaller026-1323936079-26039
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.4 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.4-tditaller026-1323936079-26041
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.5 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.5-tditaller026-1323936079-26043
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.6 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.6-tditaller026-1323936079-26045
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.7 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.7-tditaller026-1323936079-26047
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.8 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.8-tditaller026-1323936080-26050
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.9 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.9-tditaller026-1323936080-26053
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.002
CPU time used (s): 0.000
*** Worker 0.10 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.10-tditaller026-1323936080-26059
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.000
CPU time used (s): 0.000
*** Worker 0.11 (valid)
Host name: tditaller026.pic.es
Port number: 1093
Worker session tag:
ROOT version|rev|tag: 5.30/04|r41803|5.30/04
Architecture-Compiler: linuxx8664gcc-gcc412
User/Group: cborrego/default
Proofd protocol version: 33
Image name: tditaller026.pic.es:/home/proof/cborrego
Working directory: /home/proof/cborrego/session-tditaller025-1323936078-6063/worker-0.11-tditaller026-1323936080-26056
Performance index: 100
MB’s processed: 0.00
MB’s sent: 0.00
MB’s received: 0.00
Real time used (s): 0.002
CPU time used (s): 0.000
root [2] p->Exec(".!ls “)
(Int_t)0
root [3] p->Exec(”.!/bin/ls “)
(Int_t)0
root [4] p->Exec(”.!ls “)
(Int_t)0
root [5] p->Process(”$ROOTSYS/tutorials/proof/ProofSimple.C+", 10000000)
(Long64_t)(-1)

Hi,
How do you install ROOT? Is this a common installation?
You should locate the of the installation (binaries should be under /bin and libs under /lib). Then tutorials should be under /share/doc/root/tutorials.

You may need to copy the tutorials dir in some place where you can write.

G. Ganis

Hello,
Thanks again!

I have compiled proof from:

ftp://root.cern.ch/root/root_v5.30.04.source.tar.gz

Installed in a shared nfs directory (/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/)

In this directory I just have the files the make install has copied. The rest (tutorial included are not there).

I have manually copied the tutorial directory and I still get some errors:

root [11] p->Process("$ROOTSYS/tutorials/proof/ProofSimple.C", 10000000)
(Long64_t)(-1)

Notice that:

[root@tditaller025 root]# ls /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C*
/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C

If I include the path it does not work either:

root [12] p->Process("/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C", 10000000)
(Long64_t)(-1)
root [13] p->Process("/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C+", 10000000)
(Long64_t)(-1)

Should I copy more files from the tar.gz? I thought the ones from make install were enough!

Thanks so much again!
Carlos

Hi,

It should. Does it create the ‘share’ directory under ‘/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/’ ?

Are you allowed to write under such NFS directory?

The ProofSimple.C needs also ProofSimple.h which is searched for in the same directory.
What do you get from

root [] TSelector *sel = TSelector::GetSelector("/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C+")

?
G. Ganis

Hello G,
Thanks again.

Yes, I have the share directory:

[cborrego@tditaller025.pic.es]#pwd
/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root
[cborrego@tditaller025.pic.es]#ls
admin/ bin/ core/ etc/ include/ lib/ logs/ logsbackup/ opt/ scripts/ setup.sh share/ src/ tutorials/

I have just seen that the tutorial is under:

[cborrego@tditaller025.pic.es]#pwd
/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root
[cborrego@tditaller025.pic.es]#find share/|grep ProofSimple.h
share/doc/root/tutorials/proof/ProofSimple.h

Concerning the command, this is what I get:

[cborrego@ui02.pic.es]#root -l
*** DISPLAY not set, setting it to deic-173.uab.es:0.0
root [0] TSelector *sel = TSelector::GetSelector("/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple.C+")
Warning in : /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof is not writeable!
Warning in : Output will be written to /tmp/cborrego
Info in TUnixSystem::ACLiC: creating shared library /tmp/cborrego//software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/tutorials/proof/ProofSimple_C.so

and, no, users can not write in /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/, should they? Isn’t it dangerous? a user could change the binaries, right?

Thanks so much again!
Carlos

[quote=“cborrego”]I have just seen that the tutorial is under:

[cborrego@tditaller025.pic.es]#pwd
/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root
[cborrego@tditaller025.pic.es]#find share/|grep ProofSimple.h
share/doc/root/tutorials/proof/ProofSimple.h[/quote]
Ok, as expected after ‘make install’ .

Yes, that’s ok. But the tutorials need you to be able to write, that’s why I was telling you to copy the full tutorials directory (at least tutorials/proof and tutorials/tree) some where in your local area and run them from there.

Try that and try to run the tutorials (have a look at tutorials/proof/runProof.C). Then we will see how to solve your original problem.

G. Ganis

Thanks G,

This seems to work, at least it does not complaint:

[cborrego@ui02.pic.es]#root -l *** DISPLAY not set, setting it to 80.174.167.41.dyn.user.ono.com:0.0 root [0] TProof *p = TProof::Open("tditaller025.pic.es") Starting master: opening connection ... Starting master: OK Opening connections to workers: OK (12 workers) Setting up worker servers: OK (12 workers) PROOF set to parallel mode (12 workers) root [1] TSelector *sel = TSelector::GetSelector("/tmp/tutorials/proof/ProofSimpInfo in <TUnixSystem::ACLiC>: creating shared library /tmp/tutorials/proof/ProofSimple_C.so

How can I know it is actually running the ProofSimpInfo? It looks to me that it is not doing anything.
Thanks
Carlos

Hello again,
I have run a job and it does not work:

[cborrego@ui04.pic.es]#chmod -R 0777 /tmp/tutorials/ [cborrego@ui04.pic.es]#source /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/setup.sh [cborrego@ui04.pic.es]#root -l *** DISPLAY not set, setting it to 80.174.167.41.dyn.user.ono.com:0.0 root [0] TProof *p = TProof::Open("tditaller025.pic.es") Starting master: opening connection ... Starting master: OK Opening connections to workers: OK (12 workers) Setting up worker servers: OK (12 workers) PROOF set to parallel mode (12 workers) root [1] p->Process("/tmp/tutorials/proof/ProofSimple.C+", 1000000) (Long64_t)(-1)

I am proably missing something the way it should be run!
Thanks so much!
Carlos

Hi,

No idea of what is going on. You have some issue with the display, but this should not prevent the task from going through.

Do the following (note the ‘-b’ for batch - no graphics):

$ root -b
root [] TProof *p = TProof::Open("tditaller025.pic.es")
...
root [] p->SetLogLevel(2)
root [] p->Process("/tmp/tutorials/proof/ProofSimple.C+", 1000000)
...
root [] TProofLog *pl = TProof::Mgr("tditaller025.pic.es")->GetSessionLogs()
...
root [] pl->Save("*", "proofsimple.txt")

and post ‘proofsimple.txt’ . Perhaps we can get some hint.

Gerri

Thanks so much again G,

This is what I get:

[code][cborrego@ui02.pic.es]#root -b


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.30/04 8 November 2011 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      http://root.cern.ch            *
    
  •                                     *
    

ROOT 5.30/04 (branches/v5-30-00-patches@41803, De 05 2011, 11:42:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] TProof *p = TProof::Open(“tditaller025.pic.es”)
Starting master: opening connection …
Starting master: OK
Opening connections to workers: OK (12 workers)
Setting up worker servers: OK (12 workers)
PROOF set to parallel mode (12 workers)
root [1] p->SetLogLevel(2)
root [2] p->Process("/tmp/tutorials/proof/ProofSimple.C+", 1000000)
(Long64_t)(-1)
root [3] TProofLog *pl = TProof::Mgr(“tditaller025.pic.es”)->GetSessionLogs()
Retrieving logs: 1 ok, 0 not ok (0 % processed)
Retrieving logs: 2 ok, 0 not ok (0 % processed)
Retrieving logs: 3 ok, 0 not ok (0 % processed)
Retrieving logs: 4 ok, 0 not ok (0 % processed)
Retrieving logs: 5 ok, 0 not ok (0 % processed)
Retrieving logs: 6 ok, 0 not ok (0 % processed)
Retrieving logs: 7 ok, 0 not ok (0 % processed)
Retrieving logs: 8 ok, 0 not ok (0 % processed)
Retrieving logs: 9 ok, 0 not ok (0 % processed)
Retrieving logs: 10 ok, 0 not ok (0 % processed)
Retrieving logs: 11 ok, 0 not ok (0 % processed)
Retrieving logs: 12 ok, 0 not ok (0 % processed)
Retrieving logs: 13 ok, 0 not ok (100 % processed)

root [4] pl->Save("*", “proofsimple.txt”)
(Int_t)0
[/code]

I attach the log file which seems to be everything ok! :frowning: I do not find any error.

Thanks so much again!
Carlos
proofsimple.txt (11.2 KB)

Hi,

It did not work.
You get an interrupt and nothing else. Weirder ad weirder.
Please do the following:

$ root -b
root [] TProof *p = TProof::Open("tditaller025.pic.es")
...
root [] p->SetLogLevel(2)
root [] p->Exec(".!ls -lt ..")
root [] p->Load("/tmp/tutorials/proof/ProofSimple.C++")
...
root [] p->Exec("ProofSimple", 1000000)
...
root [] TProofLog *pl = TProof::Mgr("tditaller025.pic.es")->GetSessionLogs()
...
root [] pl->Save("*", "proofsimple1.txt")

and post ‘proofsimple1.txt’ .

Gerri

Thanks G.,
I think it is a problem with the installation. It is not finding some files which are under the src directory and probably the make install did not copied (it did not complain at all).

Concerning the command you suggest, the ls commands works well, but the other does not:

It has complained about a directory called plugins which was under:

src/root/etc/plugins/
and I have copied it to

and it does not complaint anymore.

Now instead:

[code]root [1] p->SetLogLevel(2)
root [2] p->Load("/tmp/tutorials/proof/ProofSimple.C++")
Error in TPluginManager::FindHandler: Cannot find plugin handler for TVirtualStreamerInfo! Does $ROOTSYS/etc/plugins/TVirtualStreamerInfo exist?

*** Break *** segmentation violation
Error in TUnixSystem::StackTrace script /etc/root/gdb-backtrace.sh is missing
Root > .q
[/code]

The files are there, but not under $ROOTSYS but $ROOTSYS/src/root/etc…

[cborrego@ui02.pic.es]#ls /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/src/root/etc/plugins/TVirtualStreamerInfo
P010_TStreamerInfo.C

Should I copy all of them? Why does not the make install do this?
Thanks so much again!
Carlos

Hi,

[quote=“cborrego”]The files are there, but not under $ROOTSYS but $ROOTSYS/src/root/etc…

CODE: SELECT ALL
[cborrego@ui02.pic.es]#ls /software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/src/root/etc/plugins/TVirtualStreamerInfo
P010_TStreamerInfo.C

Should I copy all of them? [/quote]

Yes

Well, usually it does.
Could you remind me how you configured ROOT?

Gerri

Thanks so much again G.,

I did this:

#export $ROOTSYS=/software/at3/root/root-v5.30.04_slc57_gcc4.1.2_x86-64/root/ cd $ROOTSYS mkdir src cd src wget wget ftp://root.cern.ch/root/root_v5.30.04.source.tar.gz tar xvfz root_v5.30.04.source.tar.gz cd root ./configure --prefix=$ROOTSYS make make install

Everything shoud be then under $ROOTSYS, but apparently it is not. I have manually copied:

tutorials to /tmp

and

$ROOTSYS/src/root/etc/plugins/ to $ROOTSYS/etc/

Is there something I am doing wrong?
Thanks so much!
Carlos