OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
StaticIpplInfo.h
Go to the documentation of this file.
1 #ifndef STATIC_IPPL_INFO_H
2 #define STATIC_IPPL_INFO_H
3 
4 #include <mpi.h>
5 
6 class Communicate;
7 class IpplStats;
8 class Inform;
9 
11 public:
14 
15  // Inform *Info;
16  // Inform *Warn;
17  // Inform *Error;
18  // Inform *Debug;
19 
20  // the parallel communication object
22 
23  // the statistics collection object
25 
30 
31  // flag telling whether to use optimization for reducing
32  // communication by deferring guard cell fills.
34 
35  // flag telling whether to turn off compression in the Field classes.
37 
38  // flag telling whether to try to (pseudo-)randomly offset the
39  // LField blocks to try to avoid cache conflicts.
41 
42  // flag telling whether to try to do a TryCompress after each
43  // individual LField has been processed in an expression.
45 
46  MPI_Comm communicator_m;
47 
48  // counter indicating how many IpplInit objects have been created.
49  // When this gets back to zero, it's time to delete the Comm and quit.
51 
52  // flag indicating whether this class has been created with
53  // argc,argv specified ever. This should only be done once.
55 
56  // flag indicating whether we should print out stats info at the
57  // end of the program.
58  bool PrintStats;
59 
60  // flag indicating if we need to delete the comm object at the end.
62 
63  // flag indicating whether to use checksums on messages
65 
66  // flag indicating whether to retransmit messages when errors occur
67  bool Retransmit;
68 
69  // data with argc and argv
70  int MyArgc;
71  char **MyArgv;
72 
73  // data with my node number and total number of nodes. These are
74  // only changed when a new Communicate object is created.
75  int MyNode;
77 
78  // data with SMP information. These are changed after a new
79  // Communicate object is created.
80  int NumSMPs;
81  int *SMPIDList;
83 
84  // data about a limit to the number of nodes that should be used
85  // in FFT operations. If this is <= 0 or > number of nodes, it is ignored.
87 
88  // Maximum read chunk size
89  int ChunkSize;
90 
91  // A boolean setting for whether we should attempt to use parallel
92  // I/O within a single SMP, for example by having multipple processors
93  // try to read from a single file (vs just having one node do it).
95 
96 };
97 
98 #endif
Definition: Inform.h:42
Communicate * Comm
bool extraCompressChecks
bool deferGuardCellFills
MPI_Comm communicator_m
IpplStats * Stats