projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r8087: changes to support suse amd64
[ctsim.git]
/
tools
/
mpiworld.cpp
diff --git
a/tools/mpiworld.cpp
b/tools/mpiworld.cpp
index 39d09a15ea37211e612e4a60d45e57d8bb980c89..8122cf9e58c67f593f10dfb7f581bccdfd3cf541 100644
(file)
--- a/
tools/mpiworld.cpp
+++ b/
tools/mpiworld.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
: mpiworld.cpp,v 1.2 2000/07/13 07:17:25 kevin Exp
$
+** $Id$
**
** 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
@@
-29,9
+29,9
@@
#include <mpiworld.h>
#include <mpiworld.h>
-MPIWorld::MPIWorld (int& argc, char**& argv)
+MPIWorld::MPIWorld (int& argc, char*
const
*& argv)
{
{
- MPI::Init (argc,
argv
);
+ MPI::Init (argc,
const_cast<char**&>(argv)
);
m_comm = MPI::COMM_WORLD.Dup();
m_nProcessors = m_comm.Get_size();
m_myRank = m_comm.Get_rank();
m_comm = MPI::COMM_WORLD.Dup();
m_nProcessors = m_comm.Get_size();
m_myRank = m_comm.Get_rank();