Open MPI logo

Open MPI User's Mailing List Archives

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

From: Michael Kluskens (mklus_at_[hidden])
Date: 2006-10-12 10:34:17


On Oct 12, 2006, at 8:23 AM, amane001 wrote:

> Thanks for your reply. I actually meant OpenMPI

> Am 12.10.2006 um 09:52 schrieb amane001:
>
> > the code below. Even if I set the OMP_NUM_THREADS = 2, the print

> > setenv OMP_NUM_THREADS 2

These are OpenMP, not OpenMPI environmental variables.

> /usr/local/openmp-1.1.1/bin/mpirun -np 2 ../source/test.exe <
> input.dat>Output

This tells OpenMPI to run with 2 processes, note you have dropped the
"i" in openmpi in your directory names, this will continue to be a
source of confusion.

The first good test for any combination of any MPI and any scheduler
is the following:

mpirun -np 2 hostname

Michael