Posted on February 23, 2009 by kurniawano
I am having problem running an openmpi program. It kept on giving me this error:
[opto023:31621] pls:tm: failed to poll for a spawned proc, return status = 17002
[opto023:31621] [0,0,0] ORTE_ERROR_LOG: In errno in file ../../../../../orte/mca/rmgr/urm/rmgr_urm.c at line 462
[opto023:31621] mpirun: spawn failed with errno=-11
I after I searched in the net, it might be due to OpenMPI and [...]
Filed under: Uncategorized | Tagged: mpi, parallel | Leave a Comment »
Posted on December 1, 2008 by kurniawano
I am using IT++ for some of my code and I tried to parallelize it. It came to the point where I need to sum up all the vectors from all the process. So in MPI, I will need to use MPI_Reduce. My question is since IT++ vector is not an array, can we then [...]
Filed under: Uncategorized | Tagged: c++, IT++, mpi | Leave a Comment »
Posted on November 28, 2008 by kurniawano
#include “mpi.h”
int main(int argc,char** argv)
{
MPI_Init(&argc,&argv);
…
…
MPI_Finalize();
}
then compile with
mpicxx
to run it, use
mpirun -np 4 ./a.out
for using 4 copies in 4 processors.
Filed under: Uncategorized | Tagged: Add new tag, c++, mpi | Leave a Comment »