English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TIntMPI.h Source File
Uranie / Launcher v4.9.0
/* @license-end */
TIntMPI.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
41#ifndef TINTMPI_H
42#define TINTMPI_H
43
44#include "TLauncher.h"
45
46// MPI
47#include "mpi.h" // For some private variables
48
49namespace URANIE
50{
51namespace Launcher
52{
54{
55private:
56public:
57 //---------------------------------------------
61
64 virtual ~TIntMPI();
66
68 static int init(int& argc, char**& argv);
69 static void exit();
71
73
75 static int getMyTid();
76
78 static int getNumProcs();
80
81 //---------------------------------------------
85 virtual void printLog(Option_t *option = "");
87
88 ClassDef(URANIE::Launcher::TIntMPI, ID_LAUNCHER)
89 //Classe de
90};
91
92} // Fin du namespace Distribution
93} // Fin du namespace URANIE
94#endif
Interface of the class URANIE::Launcher::TLauncher.
Description of the class TIntMPI.
Definition TIntMPI.h:54
static int getMyTid()
Returns PVM taskid or MPI rank.
static int getNumProcs()
Returns the number of processes.
TIntMPI()
Default constructor.
static int init(int &argc, char **&argv)
virtual void printLog(Option_t *option="")
virtual ~TIntMPI()
Default destructor.
Definition TCluster.h:67