Re: [OMPI devel] mca_btl_tcp_alloc

2012-04-04 Thread Shamis, Pavel
> In mca_btl_tcp_alloc (openmpi-trunk/ompi/mca/btl/tcp/btl_tcp.c:188) the > first segment is initialized to point to "frag + 1". > I don't get it... how/when is this location allocated? Isn't it just > after the mca_btl_tcp_frag_t structure ends? Alex, The frag allocation macros take the fragmen

Re: [OMPI devel] mca_btl_tcp_alloc

2012-04-04 Thread Jeffrey Squyres
t make sense? > > >> -Original Message- >> From: devel-boun...@open-mpi.org [mailto:devel-boun...@open-mpi.org] >> On Behalf Of Alex Margolin >> Sent: Wednesday, April 04, 2012 9:23 AM >> To: Open MPI Developers >> Subject: [OMPI devel] mca_btl

Re: [OMPI devel] mca_btl_tcp_alloc

2012-04-04 Thread Rolf vandeVaart
From: devel-boun...@open-mpi.org [mailto:devel-boun...@open-mpi.org] >On Behalf Of Alex Margolin >Sent: Wednesday, April 04, 2012 9:23 AM >To: Open MPI Developers >Subject: [OMPI devel] mca_btl_tcp_alloc > >Hi, > >As I'm working out the bugs in my component I used TCP as

[OMPI devel] mca_btl_tcp_alloc

2012-04-04 Thread Alex Margolin
Hi, As I'm working out the bugs in my component I used TCP as reference and came across the following: In mca_btl_tcp_alloc (openmpi-trunk/ompi/mca/btl/tcp/btl_tcp.c:188) the first segment is initialized to point to "frag + 1". I don't get it... how/when is this location allocated? Isn't it jus