[mvapich-discuss] Re: mvapich2 crash

SpiglerG spiglerg at gmail.com
Fri Nov 14 07:38:17 EST 2008


> This is somewhat strange. Does using the latest MVAPICH2 without explitly
> setting --enable-threads=multiple work? There has been a bug fix to
> ptmalloc with the latest release as well.
>
> Your example works fine on my system here with the latest MVAPICH2:
> [koop at wci1-oib mvapich2-trunk3]$ ./bin/mpirun_rsh -np 1 wci1 ./pt
> In main: creating thread 0
> In main: creating thread 1
> In main: creating thread 2
> In main: creating thread 3
> In main: creating thread 4
> Hello, World! It's me, thread #5!
> Hello, World! It's me, thread #5!
> Hello, World! It's me, thread #5!
> Hello, World! It's me, thread #5!
> Hello, World! It's me, thread #5!
>
> Unless you are making MPI calls from the threads using MPI_THREAD_MULTIPLE
> should not be required (and would require MPI_Init_thread).
>

I'm not calling mpi commands from within threads, just mallocing/freeing.
I think the problem was with ptmalloc library, as this was already
suggested by a few other coders.

        Giacomo


More information about the mvapich-discuss mailing list