[root] / trunk / proof / proof / src / TProofServLite.cxx Repository:
ViewVC logotype

Log of /trunk/proof/proof/src/TProofServLite.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44556 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 5 09:20:41 2012 UTC (2 years, 7 months ago) by axel
File length: 18892 byte(s)
Diff to previous 44507
Remaining fixes for AIX, Solaris after removal of using namespace std from Riostream.h

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 18871 byte(s)
Diff to previous 41627
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 41627 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 28 13:47:10 2011 UTC (3 years, 2 months ago) by ganis
File length: 18861 byte(s)
Diff to previous 38142
Fix another bunch of Coverity issues

Revision 38142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 18 12:09:02 2011 UTC (3 years, 11 months ago) by ganis
File length: 18824 byte(s)
Diff to previous 34721
Make sure the log file is flushed at the end of startup to avoid spurious log messages on next commands

Revision 34721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 4 09:14:43 2010 UTC (4 years, 5 months ago) by ganis
File length: 18758 byte(s)
Diff to previous 34286
Use TSTring::Format(...) instead of the deprecated Form(...)

Revision 34286 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 20:38:57 2010 UTC (4 years, 6 months ago) by rdm
File length: 18621 byte(s)
Diff to previous 33824
fix format errors related to TString::Form(), TString::Format(), Form()
and Printf().

Revision 33824 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 10 14:43:40 2010 UTC (4 years, 7 months ago) by ganis
File length: 18612 byte(s)
Diff to previous 33693
 - Add new directive 'xpd.datadir' to better control the user data directories and their
   permission settings. The syntax is 'xpd.datadir <datadir> <opts>' where <datadir> is
   the root path for the datadirs (the final datadir will be <datadir>/<group>/<user>) and
   <opts> can contain a combination of the following letters: 'g', 'a', 'M', 'W' ["gW"];
   the lower case control the write permissions: 'g' group, 'a' everybody; the upper case
   control where the data dirs shoudl be created: 'W' on the workers, 'M' on the master,
   "WM" everywhere.
 - Better handle the removal of empty data directories in TProofServ and derivatives
 - In TProofOutputFile:
    - extend support for URL options
    - correctly take the URL options into account

   This should solve a problem observed in the new ALICE CAF.

Revision 33693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 1 11:16:30 2010 UTC (4 years, 7 months ago) by ganis
File length: 19064 byte(s)
Diff to previous 33054
Remove data directory in Terminate if empty: avoid having many empty dirs around

Revision 33054 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 16:47:24 2010 UTC (4 years, 9 months ago) by pcanal
File length: 18365 byte(s)
Diff to previous 31840
From Axel:

Move CINT specific initialization (i.e. preventing CINT from #include-ing files it cannot parse) from TRint into TCint. Consistently tell the interpreter to #include <string>, not <_string>. Set the include path in TCint / TCling so they can load interpreter specific headers (like RtypesCint.h). Whether or not to remove the interpreter includes in TProofServLite::SetupOnFork() will
be studied by Gerri, for now they should not hurt.

Revision 31840 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 11 10:01:17 2009 UTC (5 years, 1 month ago) by ganis
File length: 18722 byte(s)
Diff to previous 31598
   Fix a last bunch of Coverity issues

Revision 31598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 7 15:21:47 2009 UTC (5 years, 1 month ago) by rdm
File length: 18685 byte(s)
Diff to previous 25958
From Gerri:
Fix a few pending issues in PROOF-Lite:
  - Source the env file before running 'proofserv'; this allows to run valgrind
    or other wrapper scripts (e.g. experiment-specific environment initializers)
    before proofserv, as in normal PROOF
  - Fix a problem with Load()
  - Add the possibility for the administrator to control the number of workers
    for PROOF-Lite or eventually to forbid the use of it (request on the forum).
    The rootrc variable ProofLite.MaxWorkers is read out of /etc/system.rootrc
    and cannot be overwritten by users.

Improve handling of Ctrl-C:
  - Fix a problem in TMonitor affecting the effectiveness of interrupts.
  - Do not send the results from workers to masters if the query has been
    aborted.

Miscellanea:
  - Make sure that the size of the cache sent back to the packetizer by the
    workers is meaningful in case the defaults are used (i.e. not -1).
  - Make the current processed element available to selectors via the
    input list; this allows to write a more simple and effective packetizers
    for tasks where the entry is a file (e.g., dataset generation in the
    benchmark suite).

Revision 25958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 26 10:46:39 2008 UTC (6 years, 2 months ago) by ganis
File length: 18639 byte(s)
Diff to previous 25926
Fix coding conventions

Revision 25926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 22 18:46:45 2008 UTC (6 years, 3 months ago) by ganis
File length: 18502 byte(s)
Diff to previous 25922
From Bertrand: fix compilation problems on Windows

Revision 25922 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 22 16:14:00 2008 UTC (6 years, 3 months ago) by ganis
File length: 18496 byte(s)
Diff to previous 25919
Fix gcc 4.3.2 {warnings,errors}

Revision 25919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 22 15:07:02 2008 UTC (6 years, 3 months ago) by ganis
File length: 18477 byte(s)
Diff to previous 25918
Make a debug printout conditional on the debug flags

Revision 25918 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Oct 22 15:00:04 2008 UTC (6 years, 3 months ago) by ganis
File length: 18443 byte(s)
   First version of PROOFLite, a 2-tier realization of PROOF intended for multi-core
   machines. In PROOFLite the client start directly the workers; no daemon is required.

   Currently this works on Unix only. Some issues with the internal connection still need
   to be sorted out on Windows.

   To start a session just use

            TProof::Open("")  or TProof::Open("lite")

   From there on everything should be as in normal PROOF. To start a standard PROOF
   session (i.e. via daemons) on the localhost use TProof::Open("localhost").
   (The default meaning of "" in TProof::Open() is controlled via the rc value
    'Proof.LocalDefault').

   To run stressProof with PROOFLite pas the argument 'lite':

            ./stressProof lite

   By default, PROOFLite sets the number of workers equal to the number of cores.
   The number of workers is controlled by the rc variable 'ProofLite.Workers'; it can
   also be set on the fly with the option "workers=<n>", e.g. TProof::Open("lite?workers=2").

   This patch also introduces the rc variable 'Proof.Sandbox' to control the local location
   of the sandboxes. The default has been changed from "~/proof" to "~/.proof" to avoid
   interferences with possible users' working areas. The sandbox contains the directory
   'packages' (with the clients packages; used by standard PROOF and PROOF Lite),
   and some directories used only by PROOFLite: 'cache' (binary cache) and 'datasets' with 
   the datasets. The location of these directories is controlled by the rc variables
   'Proof.PackageDir', 'Proof.CacheDir' and 'Proof.DataSetDir'.
   The working directory for PROOFLite is in the form workdir=<sandbox>/path-to-current-dir where
   ~/path/to/current/dir is the directory from where the session in launched. The directory
   <workdir> contains the session working dirs (in the form 'session-<host>-<time>-<pid>'),
   with the symlink 'last-lite-session' pointing to the last started session, and the 'queries'
   directory, with the results of queries started from the current directory.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9