Re: [Libmesh-users] Initializing LibMesh with MPI

2015-08-28 Thread Andrew Davis
That fixed it! Thanks. I knew it would be something silly like that. On Fri, Aug 28, 2015 at 12:53 PM, Derek Gaston wrote: > Are you using std::cout to print a message out? > > libMesh (by default) eats all std::cout output on all processors other > than processor zero. You can use the command

Re: [Libmesh-users] Initializing LibMesh with MPI

2015-08-28 Thread John Peterson
On Fri, Aug 28, 2015 at 10:49 AM, Andrew Donaldson Davis wrote: > Hello all, > > You might have to forgive me if this is a silly question but I'm having > some trouble understanding how LibMesh initializes MPI. > > I have the code: > > using namespace std; > namespace mpi = boost::mpi; > > int ma

Re: [Libmesh-users] Initializing LibMesh with MPI

2015-08-28 Thread Derek Gaston
Are you using std::cout to print a message out? libMesh (by default) eats all std::cout output on all processors other than processor zero. You can use the command-line option of "--keep-cout" to keep that from happening... or you can print to std::err (which is normally what I do in these cases

[Libmesh-users] Initializing LibMesh with MPI

2015-08-28 Thread Andrew Donaldson Davis
Hello all, You might have to forgive me if this is a silly question but I'm having some trouble understanding how LibMesh initializes MPI. I have the code: using namespace std; namespace mpi = boost::mpi; int main(int argc, char **argv) { mpi::environment env(argc, argv); unique_ptr worldC