projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6aff840
)
r409: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 17 Jan 2001 06:25:15 +0000
(06:25 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 17 Jan 2001 06:25:15 +0000
(06:25 +0000)
tools/phm2pj.cpp
patch
|
blob
|
history
diff --git
a/tools/phm2pj.cpp
b/tools/phm2pj.cpp
index 313045a7262858637d1946447c3ae5866264da42..34557af8a08e0ca40b331b4a53fa335bb9648a7c 100644
(file)
--- a/
tools/phm2pj.cpp
+++ b/
tools/phm2pj.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: phm2pj.cpp,v 1.2
2 2001/01/09 22:31:47
kevin Exp $
+** $Id: phm2pj.cpp,v 1.2
3 2001/01/17 06:25:15
kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
@@
-50,7
+50,7
@@
static struct option phm2pj_options[] =
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.2
2 2001/01/09 22:31:47
kevin Exp $";
+static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.2
3 2001/01/17 06:25:15
kevin Exp $";
void
void
@@
-281,7
+281,8
@@
phm2pj_main (int argc, char* const argv[])
mpiWorld.getComm().Bcast (&opt_verbose, 1, MPI::INT, 0);
mpiWorld.getComm().Bcast (&opt_debug, 1, MPI::INT, 0);
mpiWorld.getComm().Bcast (&opt_trace, 1, MPI::INT, 0);
mpiWorld.getComm().Bcast (&opt_verbose, 1, MPI::INT, 0);
mpiWorld.getComm().Bcast (&opt_debug, 1, MPI::INT, 0);
mpiWorld.getComm().Bcast (&opt_trace, 1, MPI::INT, 0);
- timerBcast.timerEndAndReport ("Time to broadcast variables");
+ if (opt_verbose)
+ timerBcast.timerEndAndReport ("Time to broadcast variables");
if (mpiWorld.getRank() > 0 && optPhmName != "")
phm.createFromPhantom (optPhmName.c_str());
if (mpiWorld.getRank() > 0 && optPhmName != "")
phm.createFromPhantom (optPhmName.c_str());