openmpi

Perl: How to add an interrupt handler so one can control a code executed by mpirun via system()?

We use a cluster with Perceus (warewulf) software to do some computing. This software package has wwmpirun program (a Perl script) to prepare a hostfile and execute mpirun: # ... system("$mpirun -hostfile $tmp_hostfile -np $mpirun_np @ARGV"); # ... We use this script to run a math program (CODE) on several nodes, and CODE is normally ...

Initialize an array using openmpi once

I am trying to run some tests using OPENmpi processing data in an array by spliting up the work across nodes (the second part is with matricies). I am running into some problems now because the data array is being initialized every time and I don't know how to prevent this from happening. How, using ANSI C can I create a variable leng...

using OpenMPI or MPICH2 with Boost MPI using Win and Linux machines together

hi All These days I am approaching MPI world. I am willing to use Boost MPI libraries probably with OpenMPI or MPICH2 ( even if with MPICH2 still I am not sure whether it will work fine because of some post I read around ). My real question is the following: with these 2 libraries and Boost MPI on top of it, is it possible to combine r...

ATLAS Linear algebra and openmpi on multicore with python

I use mpi4py and openmpi on a multi-cpu/core machine to do linear algebra. My numpy is built using ATLAS. Suppose I have a 4 core machine and I would like to run a 4 node python script that does linear algebra on each node using numpy. How can I ensure that ATLAS does not use more than one core when it is doing linear algebra in each no...

OpenMpi error - "mpirun noticed that job rank 0 ... exited on signal 15 (Terminated)"

Hi, I have an OpenMPI program implementing the Game of Life. It works with 1 processor as expected. When I increase the number of processors, all jobs are killed as soon as process 0 finishes its 1st iteration. int main(int argc,char *argv[]){ // DO SOME INITIALIZATION HERE for (iter=0; iter<numIterations; iter++) { int myray[count]; f...

Why Do All My Open MPI Processes Have Rank 0?

I'm writing a parallel program using Open MPI. I'm running Snow Leopard 10.6.4, and I installed Open MPI through the homebrew package manager. When I run my program using mpirun -np 8 ./test, every process reports that it has rank 0, and believes the total number of processes to be 1, and 8 lines of process rank: 0, total processes: 1 g...

What is easier to learn and debug OpenMP or MPI?

Hi, I have a number crunching C/C++ application. It is basically a main loop for different data sets. We got access to a 100 node cluster with openmp and mpi available. I would like to speedup the application but I am an absolut newbie for both mpi and openmp. I just wonder what is the easiest one to learn and to debug even if the perfo...