A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setting categories with SMPI must always be after MPI_Init
[simgrid.git]
/
examples
/
smpi
/
NAS
/
DT-trace
/
dt-trace.c
diff --git
a/examples/smpi/NAS/DT-trace/dt-trace.c
b/examples/smpi/NAS/DT-trace/dt-trace.c
index
89ab4de
..
f231553
100644
(file)
--- a/
examples/smpi/NAS/DT-trace/dt-trace.c
+++ b/
examples/smpi/NAS/DT-trace/dt-trace.c
@@
-675,11
+675,11
@@
int main(int argc,char **argv ){
double bytes_sent=2.0,tot_time=0.0;
double bytes_sent=2.0,tot_time=0.0;
- TRACE_smpi_set_category ("start");
MPI_Init( &argc, &argv );
MPI_Comm_rank( MPI_COMM_WORLD, &my_rank );
MPI_Comm_size( MPI_COMM_WORLD, &comm_size );
MPI_Init( &argc, &argv );
MPI_Comm_rank( MPI_COMM_WORLD, &my_rank );
MPI_Comm_size( MPI_COMM_WORLD, &comm_size );
+ TRACE_smpi_set_category ("start");
if(argc!=2||
( strncmp(argv[1],"BH",2)!=0
if(argc!=2||
( strncmp(argv[1],"BH",2)!=0