problem. You will likely find StackOverflow to be a
> more effective way to get support on C++ issues.
>
> Jeff
>
> On Wed, Apr 3, 2019 at 8:47 AM Zhen Wang wrote:
>
>> Joseph,
>>
>> Thanks for your response. I'm no expert on Linux so please bear with me.
&
too, which sets each entry in the vector
> to it's initial value. There is no way you can catch that. You might
> want to try to disable overcommit in the kernel and see if
> std::vector::resize throws an exception because malloc fails.
>
> HTH,
> Joseph
>
> [1] https://www
Hi,
I have difficulty catching std::bac_alloc in an MPI environment. The code
is attached. I'm uisng gcc 6.3 on SUSE Linux Enterprise Server 11 (x86_64).
OpenMPI is built from source. The commands are as follows:
*Build*
g++ -I -L -lmpi memory.cpp
*Run*
-n 2 a.out
*Output*
0
0
1
1
Jeff,
Thanks for the explanation. It's very clear.
Best regards,
Zhen
On Mon, May 9, 2016 at 10:19 AM, Jeff Squyres (jsquyres) wrote:
> On May 9, 2016, at 8:23 AM, Zhen Wang wrote:
> >
> > I have another question. I thought MPI_Test is a local call, meaning it
> doesn
> "--mca btl_tcp_progress_thread 1" on the mpirun command line to enable the
> TCP progress thread to try it.
>
>
> > On May 4, 2016, at 7:40 PM, Zhen Wang wrote:
> >
> > Hi,
> >
> > I'm having a problem with Isend, Recv and Test in Linux
te:
> On May 5, 2016, at 10:09 PM, Zhen Wang wrote:
> >
> > It's taking so long because you are sleeping for .1 second between
> calling MPI_Test().
> >
> > The TCP transport is only sending a few fragments of your message during
> each iteration throu
_tcp_progress_thread 1" on the mpirun command line to enable the
> TCP progress thread to try it.
>
Does this mean there's an additional thread to transfer data in background?
>
>
> > On May 4, 2016, at 7:40 PM, Zhen Wang wrote:
> >
> > Hi,
> >
> &g
e_base_help_aggregate" to 0 to see
all help / error messages
>
> and see if one performs better than the other ?
>
> Cheers,
>
> Gilles
>
> On Thursday, May 5, 2016, Zhen Wang wrote:
>
>> Gilles,
>>
>> Thanks for your reply.
>>
>> Best reg
4 at 08:39:06.
MPI 0: MPI_Test of 4 at 08:39:06.
MPI 0: MPI_Test of 4 at 08:39:06.
MPI 1: Recv of 4 finished at 08:39:06.
MPI 0: MPI_Test of 4 at 08:39:06.
MPI 0: Isend of 4 finished at 08:39:06.
>
> Cheers,
>
> Gilles
>
>
> On Thursday, May 5, 2016, Zhen Wang wrote:
>
&
Hi,
I'm having a problem with Isend, Recv and Test in Linux Mint 16 Petra. The
source is attached.
Open MPI 1.10.2 is configured with
./configure --enable-debug --prefix=/home//Tool/openmpi-1.10.2-debug
The source is built with
~/Tool/openmpi-1.10.2-debug/bin/mpiCC a5.cpp
and run in one node wi
10 matches
Mail list logo