Process#

#include <Process.h>
Brief description

Classe de base de TRUST (notamment Objet_U ).

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Process <class-process>`
[Process](#class-process)

Detailed description#

Elle fournit quelques services de base accessibles de partout dans le code (ces services etaient historiquement des methodes non statiques, depuis que tous ces services sont statiques, cette classe n’a plus vraiment d’autre fonction que de ranger ces methodes quelque part)

Inherited by#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classProcess__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

Complete Member Function Documentation#

~Process#

Definition
virtual Process::~Process()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`virtual Process::~Process() <process-public-virtual-process-dtor-process>`
[virtual Process::~Process()](#process-public-virtual-process-dtor-process)

abort#

Definition
void Process::abort()
Brief description

Routine de sortie de Trio - U sur une erreur abort()

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::abort() <process-public-static-void-process-abort>`
[void Process::abort()](#process-public-static-void-process-abort)

barrier#

Definition
void Process::barrier()
Brief description

Synchronise tous les processeurs du groupe courant (attend que tous les processeurs soient arrives a la barriere)

Detailed description

Instruction a executer sur tous les processeurs du groupe.

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::barrier() <process-public-static-void-process-barrier>`
[void Process::barrier()](#process-public-static-void-process-barrier)

check_int_overflow#

Definition
int Process::check_int_overflow(trustIdType)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::check_int_overflow(trustIdType) <process-public-static-int-process-check-int-overflow-trustidtype>`
[int Process::check_int_overflow(trustIdType)](#process-public-static-int-process-check-int-overflow-trustidtype)

exit#

Definition
void Process::exit(const Nom &message, int exit_code=-1)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::exit(const Nom &message, int exit_code=-1) <process-public-static-void-process-exit-const-nom-ref-message-int-exit-code-equal-1>`
[void Process::exit(const Nom &message, int exit_code=-1)](#process-public-static-void-process-exit-const-nom-ref-message-int-exit-code-equal-1)

exit#

Definition
void Process::exit(int exit_code=-1)
Brief description

Routine de sortie de TRUST dans une region Kokkos.

Detailed description

Routine de sortie de TRUST sur une erreur. Sauvegarde la memoire et de la hierarchie dans les fichiers “memoire.dump” et “hierarchie.dump”

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::exit(int exit_code=-1) <process-public-static-void-process-exit-int-exit-code-equal-1>`
[void Process::exit(int exit_code=-1)](#process-public-static-void-process-exit-int-exit-code-equal-1)

force_single_file#

Definition
bool Process::force_single_file(const int ranks, const Nom &filename)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Process::force_single_file(const int ranks, const Nom &filename) <process-public-static-bool-process-force-single-file-const-int-ranks-const-nom-ref-filename>`
[bool Process::force_single_file(const int ranks, const Nom &filename)](#process-public-static-bool-process-force-single-file-const-int-ranks-const-nom-ref-filename)

imprimer_ram_totale#

Definition
void Process::imprimer_ram_totale(int all_process=0)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::imprimer_ram_totale(int all_process=0) <process-public-static-void-process-imprimer-ram-totale-int-all-process-equal-0>`
[void Process::imprimer_ram_totale(int all_process=0)](#process-public-static-void-process-imprimer-ram-totale-int-all-process-equal-0)

is_parallel#

Definition
bool Process::is_parallel()
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Process::is_parallel() <process-public-static-bool-process-is-parallel>`
[bool Process::is_parallel()](#process-public-static-bool-process-is-parallel)

is_sequential#

Definition
bool Process::is_sequential()
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Process::is_sequential() <process-public-static-bool-process-is-sequential>`
[bool Process::is_sequential()](#process-public-static-bool-process-is-sequential)

je_suis_maitre#

Definition
int Process::je_suis_maitre()
Brief description

renvoie 1 si on est sur le processeur maitre du groupe courant (c’est a dire me() = = 0), 0 sinon.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::je_suis_maitre() <process-public-static-int-process-je-suis-maitre>`
[int Process::je_suis_maitre()](#process-public-static-int-process-je-suis-maitre)

Journal#

Definition
Sortie & Process::Journal(int message_level=0)
Brief description

Renvoie un objet statique de type Sortie qui sert de journal d’evenements.

Detailed description

Si message_level < = verbose_level_, on ecrit le message, sinon on l’envoie sur une Sortie_Nulle . Si le fichier journal est ouvert, on ecrit dans le fichier, sinon dans stderr.

Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Sortie & Process::Journal(int message_level=0) <process-public-static-sortie-ref-process-journal-int-message-level-equal-0>`
[Sortie & Process::Journal(int message_level=0)](#process-public-static-sortie-ref-process-journal-int-message-level-equal-0)

Kokkos_exit#

Definition
KOKKOS_INLINE_FUNCTION void Process::Kokkos_exit(const char *)
Brief description

Routine de sortie de TRUST dans une region Kokkos.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`KOKKOS_INLINE_FUNCTION void Process::Kokkos_exit(const char *) <process-public-static-kokkos-inline-function-void-process-kokkos-exit-const-char-ptr>`
[KOKKOS_INLINE_FUNCTION void Process::Kokkos_exit(const char *)](#process-public-static-kokkos-inline-function-void-process-kokkos-exit-const-char-ptr)

me#

Definition
int Process::me()
Brief description

renvoie mon rang dans le groupe de communication courant.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::me() <process-public-static-int-process-me>`
[int Process::me()](#process-public-static-int-process-me)

mp_and#

Definition
bool Process::mp_and(bool)
Brief description

Calcule le ‘et’ logique de b sur tous les processeurs du groupe courant.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Process::mp_and(bool) <process-public-static-bool-process-mp-and-bool>`
[bool Process::mp_and(bool)](#process-public-static-bool-process-mp-and-bool)

mp_max#

Definition
double Process::mp_max(double)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Process::mp_max(double) <process-public-static-double-process-mp-max-double>`
[double Process::mp_max(double)](#process-public-static-double-process-mp-max-double)

mp_max#

Definition
int Process::mp_max(int)
Brief description

renvoie le plus grand int i sur l’ensemble des processeurs du groupe courant.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::mp_max(int) <process-public-static-int-process-mp-max-int>`
[int Process::mp_max(int)](#process-public-static-int-process-mp-max-int)

mp_max#

Definition
trustIdType Process::mp_max(trustIdType)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`trustIdType Process::mp_max(trustIdType) <process-public-static-trustidtype-process-mp-max-trustidtype>`
[trustIdType Process::mp_max(trustIdType)](#process-public-static-trustidtype-process-mp-max-trustidtype)

mp_min#

Definition
double Process::mp_min(double)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Process::mp_min(double) <process-public-static-double-process-mp-min-double>`
[double Process::mp_min(double)](#process-public-static-double-process-mp-min-double)

mp_min#

Definition
int Process::mp_min(int)
Brief description

renvoie le plus petit int i sur l’ensemble des processeurs du groupe courant.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::mp_min(int) <process-public-static-int-process-mp-min-int>`
[int Process::mp_min(int)](#process-public-static-int-process-mp-min-int)

mp_min#

Definition
trustIdType Process::mp_min(trustIdType)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`trustIdType Process::mp_min(trustIdType) <process-public-static-trustidtype-process-mp-min-trustidtype>`
[trustIdType Process::mp_min(trustIdType)](#process-public-static-trustidtype-process-mp-min-trustidtype)

mp_or#

Definition
bool Process::mp_or(bool)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool Process::mp_or(bool) <process-public-static-bool-process-mp-or-bool>`
[bool Process::mp_or(bool)](#process-public-static-bool-process-mp-or-bool)

mp_sum#

Definition
double Process::mp_sum(double)
Brief description

Calcule la somme de x sur tous les processeurs du groupe courant.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Process::mp_sum(double) <process-public-static-double-process-mp-sum-double>`
[double Process::mp_sum(double)](#process-public-static-double-process-mp-sum-double)

mp_sum#

Definition
float Process::mp_sum(float)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`float Process::mp_sum(float) <process-public-static-float-process-mp-sum-float>`
[float Process::mp_sum(float)](#process-public-static-float-process-mp-sum-float)

mp_sum#

Definition
static trustIdType Process::mp_sum(int v)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`static trustIdType Process::mp_sum(int v) <process-public-static-static-trustidtype-process-mp-sum-int-v>`
[static trustIdType Process::mp_sum(int v)](#process-public-static-static-trustidtype-process-mp-sum-int-v)

mp_sum#

Definition
trustIdType Process::mp_sum(trustIdType)
Brief description

Calcule la somme de x sur tous les processeurs du groupe courant.

Detailed description

!!! Note that the sum of many int might result in a long !!!

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`trustIdType Process::mp_sum(trustIdType) <process-public-static-trustidtype-process-mp-sum-trustidtype>`
[trustIdType Process::mp_sum(trustIdType)](#process-public-static-trustidtype-process-mp-sum-trustidtype)

mp_sum_as_double#

Definition
static double Process::mp_sum_as_double(int v)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`static double Process::mp_sum_as_double(int v) <process-public-static-static-double-process-mp-sum-as-double-int-v>`
[static double Process::mp_sum_as_double(int v)](#process-public-static-static-double-process-mp-sum-as-double-int-v)

mp_sum_as_double#

Definition
static double Process::mp_sum_as_double(trustIdType v)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`static double Process::mp_sum_as_double(trustIdType v) <process-public-static-static-double-process-mp-sum-as-double-trustidtype-v>`
[static double Process::mp_sum_as_double(trustIdType v)](#process-public-static-static-double-process-mp-sum-as-double-trustidtype-v)

mppartial_sum#

Definition
static trustIdType Process::mppartial_sum(int i)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`static trustIdType Process::mppartial_sum(int i) <process-public-static-static-trustidtype-process-mppartial-sum-int-i>`
[static trustIdType Process::mppartial_sum(int i)](#process-public-static-static-trustidtype-process-mppartial-sum-int-i)

mppartial_sum#

Definition
trustIdType Process::mppartial_sum(trustIdType i)
Brief description

Calul de la somme partielle de i sur les processeurs 0 a me() - 1 (renvoie 0 sur le processeur 0).

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`trustIdType Process::mppartial_sum(trustIdType i) <process-public-static-trustidtype-process-mppartial-sum-trustidtype-i>`
[trustIdType Process::mppartial_sum(trustIdType i)](#process-public-static-trustidtype-process-mppartial-sum-trustidtype-i)

mpsum_multiple#

Definition
void Process::mpsum_multiple(double &x1, double &x2)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Process::mpsum_multiple(double &x1, double &x2) <process-public-static-void-process-mpsum-multiple-double-ref-x1-double-ref-x2>`
[void Process::mpsum_multiple(double &x1, double &x2)](#process-public-static-void-process-mpsum-multiple-double-ref-x1-double-ref-x2)

node_master#

Definition
int Process::node_master()
Brief description

renvoie 1 si on est sur le processeur maitre du noeud numa, 0 sinon.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::node_master() <process-public-static-int-process-node-master>`
[int Process::node_master()](#process-public-static-int-process-node-master)

nproc#

Definition
int Process::nproc()
Brief description

renvoie le nombre de processeurs dans le groupe courant Voir Comm_Group::nproc() et PE_Groups::current_group()

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Process::nproc() <process-public-static-int-process-nproc>`
[int Process::nproc()](#process-public-static-int-process-nproc)

ram_processeur#

Definition
double Process::ram_processeur()
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Process::ram_processeur() <process-public-static-double-process-ram-processeur>`
[double Process::ram_processeur()](#process-public-static-double-process-ram-processeur)

Attributes Documentation#

exception_sur_exit (public)
int Process::exception_sur_exit = 0
multiple_files (public)
int Process::multiple_files = 5120