ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
tree
geant4-10.6-release
config
environments
examples
source
analysis
accumulables
csv
factory
g4tools
include
tools
mpi
dummy_mpi.h
Xt
gl2ps_def.h
src
hdf5
hntools
management
root
xml
digits_hits
error_propagation
event
externals
g3tog4
geometry
global
graphics_reps
intercoms
interfaces
materials
parameterisations
particles
persistency
physics_lists
processes
readout
run
track
tracking
visualization
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
dummy_mpi.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file dummy_mpi.h
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_mpi_dummy_mpi_h
5
#define tools_mpi_dummy_mpi_h
6
7
extern
"C"
{
8
12
13
typedef
void
*
MPI_Comm
;
14
typedef
void
*
MPI_Datatype
;
15
16
#define MPI_UNSIGNED 0
17
#define MPI_FLOAT 0
18
#define MPI_DOUBLE 0
19
#define MPI_UNSIGNED_CHAR 0
20
#define MPI_CHAR 0
21
#define MPI_LONG 0
22
#define MPI_SHORT 0
23
#define MPI_INT 0
24
#define MPI_UNSIGNED_LONG 0
25
#define MPI_LONG_LONG 0
26
#define MPI_UNSIGNED_LONG_LONG 0
27
28
#define MPI_ANY_SOURCE 0
29
30
#define MPI_SUCCESS 1
31
32
#ifdef TOOLS_USE_MPI_PACK_NOT_CONST
33
inline
int
MPI_Pack
(
void
*,
int
,MPI_Datatype,
void
*,
int
,
int
*,MPI_Comm){
return
0;}
34
inline
int
MPI_Unpack
(
void
*,
int
,
int
*,
void
*,
int
,MPI_Datatype,MPI_Comm){
return
0;}
35
#else
36
inline
int
MPI_Pack
(
const
void
*,
int
,MPI_Datatype,
void
*,
int
,
int
*,MPI_Comm){
return
0;}
37
inline
int
MPI_Unpack
(
const
void
*,
int
,
int
*,
void
*,
int
,MPI_Datatype,MPI_Comm){
return
0;}
38
#endif
39
43
44
struct
_MPI_Status
{
45
int
MPI_SOURCE
;
46
int
MPI_TAG
;
47
};
48
typedef
_MPI_Status
MPI_Status
;
49
50
inline
int
MPI_Probe
(
int
,
int
,MPI_Comm,MPI_Status*){
return
0;}
51
inline
int
MPI_Get_count
(
const
MPI_Status*,MPI_Datatype,
int
*){
return
0;}
52
inline
int
MPI_Send
(
const
void
*,
int
,MPI_Datatype,
int
,
int
,MPI_Comm){
return
0;}
53
inline
int
MPI_Recv
(
void
*,
int
,MPI_Datatype,
int
,
int
,MPI_Comm,MPI_Status*){
return
0;}
54
58
59
#define MPI_COMM_WORLD 0
60
#define MPI_MAX_PROCESSOR_NAME 100
61
62
inline
int
MPI_Init
(
int
*,
char
***){
return
0;}
63
inline
int
MPI_Finalize
(
void
){
return
0;}
64
inline
int
MPI_Comm_size
(MPI_Comm,
int
*){
return
0;}
65
inline
int
MPI_Comm_rank
(MPI_Comm,
int
*){
return
0;}
66
inline
int
MPI_Get_processor_name
(
char
*,
int
*){
return
0;}
67
68
}
69
70
71
#endif
geant4
tree
geant4-10.6-release
source
analysis
g4tools
include
tools
mpi
dummy_mpi.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:11
using
1.8.2 with
ECCE GitHub integration