Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] architecture questions
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-11-16 12:11:29

hello,I currently have a serial application with a GUI that runs some calculations.My next step is to use OpenMPI with the help of the Boost.MPI wrapper library in C++ to parallelize those calculations.There is a set of static data objects created once at startup or loaded from files.1. In terms of running mpi processes, I've chosen this route: starting up the GUI launches all the MPI processes. They wait listening for calculations to perform (via broadcast?) The GUI is the sort of master process.I've used mpirun to launch x processes on the same box. I assume there's a different setup to launch mpi processes on different boxes.Is there a way to hide the explicit launching of the mpi runtime? ie, can the user just start the GUI and the program actually launches the mpi runtime and the program actually becomes 1 of the mpi processes (a master process)2. what are the pros/cons of loading the static data objects individually from each separate mpi process vs broadcasting the static data via MPI itself after only the master reads/sets up the static data?regards,