[OMPI users] [threads] How to configure Open MPI for thread support

2012-10-08 Thread Daniel Mitchell
Hi everyone,

I'm writing a hybrid parallel program and it seems that unless I
configure Open MPI with --enable-thread-multiple, then MPI_Init_thread
always provides MPI_THREAD_SINGLE, regardless of what I pass for the
required argument.

Does this mean that I have to configure with --enable-thread-multiple
even to use FUNNELED and SERIALIZED threads?

Daniel


[OMPI users] PAPI errors when compiling OpenMPI

2012-10-08 Thread Tohiko Looka
Greetings,

I am trying to compile openmpi-1.5.4, while it usually works out fine
it is failing on a specific node.
The error is
vt_metric_papi.c:262: error: too many arguments to function ‘PAPI_perror’
vt_metric_papi.c: In function ‘metric_warning’:

Of course configure runs successfully.
Any ideas?
Thanks



Re: [OMPI users] [threads] How to configure Open MPI for thread support

2012-10-08 Thread Ralph Castain
Yep - that is correct

On Mon, Oct 8, 2012 at 12:31 PM, Daniel Mitchell <
daniel.lewis.mitch...@gmail.com> wrote:

> Hi everyone,
>
> I'm writing a hybrid parallel program and it seems that unless I
> configure Open MPI with --enable-thread-multiple, then MPI_Init_thread
> always provides MPI_THREAD_SINGLE, regardless of what I pass for the
> required argument.
>
> Does this mean that I have to configure with --enable-thread-multiple
> even to use FUNNELED and SERIALIZED threads?
>
> Daniel
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>


[OMPI users] Communication Round-trip time

2012-10-08 Thread huydanlin
Hi,
   I'm currently doing MPI project in NUS University. My professor require
me make a monitoring tool to check the connection among processes in
Cluster. And also measure communication round-trip time.
   My solution is :
1. At the source process : start MPI_Send
2. At the destination process : start MPI_Recv to receive the message from
source
3. At the destination process : start MPI_Send to send immediately the same
message to source
4. At the source process : start MPI_Recv to receive the message from
destination
   I start timer( before (1) - t1=MPI_Wtime & after (4) - t2=MPI_Wtime )
   then t2 - t1 is time for communication. I also do (1) to (4) for N
times. then i calculate the avg round-trip time by (t2-t1)/N.
   So is it right? Because he tells it 's wrong. And what exactly is the
communication round-trip time ?
  Regards and hope to see your reply soon.