Re: [OMPI users] MPI Datatypes and RMA

2016-04-29 Thread Gilles Gouaillardet
Bruce, which version of OpenMPI are you using ? out of curiosity, did you try your program with an other MPI implementation such as MPICH or it's derivative ? when using derived datatypes (ddt) in one sided communication, the ddt description must be sent with the data. two protocols are internally

[OMPI users] MPI Datatypes and RMA

2016-04-29 Thread Palmer, Bruce J
I've been trying to recreate the semantics of the Global Array gather and scatter operations using MPI RMA routines and I've run into some issues with MPI Datatypes. I've been focusing on building MPI versions of the GA gather and scatter calls, which I've been trying to implement using MPI data

Re: [OMPI users] OpenMPI MPMD Support

2016-04-29 Thread Scott Shaw
Thanks for the responses. I will try 1.10.3rc release and see this addresses the issue. From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ralph Castain Sent: Friday, April 29, 2016 2:30 PM To: Open MPI Users Subject: Re: [OMPI users] OpenMPI MPMD Support This might be a bug that ha

Re: [OMPI users] OpenMPI MPMD Support

2016-04-29 Thread Ralph Castain
This might be a bug that has been fixed - can you try the 1.10.3rc? If it doesn’t work, I’ll try to quickly fix it. > On Apr 29, 2016, at 10:59 AM, Scott Shaw wrote: > > I am using a –app file to run a serial application on N number of compute > nodes and each compute node has 24 cores availab

Re: [OMPI users] OpenMPI MPMD Support

2016-04-29 Thread Fabricio Cannini
On 29-04-2016 14:59, Scott Shaw wrote: I am using a –app file to run a serial application on N number of compute nodes and each compute node has 24 cores available. If I only want to use one core to execute the serial app I get a “not enough slots available” error when running OMPI. How do you d

Re: [OMPI users] OpenMPI MPMD Support

2016-04-29 Thread Scott Shaw
I am using a -app file to run a serial application on N number of compute nodes and each compute node has 24 cores available. If I only want to use one core to execute the serial app I get a "not enough slots available" error when running OMPI. How do you define the slots parameter to inform OM

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Siegmar Gross
Hi Ralph, Siegmar: have you tried the latest release candidate? Yes, it is still broken. Kind regards and thank you very much for your help Siegmar

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Ralph Castain
https://github.com/open-mpi/ompi-release/pull/1117 > On Apr 29, 2016, at 7:38 AM, Ralph Castain wrote: > > Ah, okay - I can fix that line. Thanks for pointing it out. > > Given that the rest of the code uses the app[i] syntax, I’d rather le

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Ralph Castain
Ah, okay - I can fix that line. Thanks for pointing it out. Given that the rest of the code uses the app[i] syntax, I’d rather leave that alone. > On Apr 29, 2016, at 7:27 AM, Gilles Gouaillardet > wrote: > > the second for loop is incorrect > > it reads > for (j=0; j < app->argc; j++) > bu

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Gilles Gouaillardet
the second for loop is incorrect it reads for (j=0; j < app->argc; j++) but should be for (j=0; j < app[i].argc; j++) as a matter of taste, I'd rather replace all app[i]. with app-> and app++; at the end (or in the for) of the outermost loop Cheers, Gilles On Friday, April 29, 2016, Ralph Cas

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Ralph Castain
Hmmm…well, I may have to wait and let Gilles fix this. So far as I can see, the code in the current OMPI 2.x tarball (and upstream) is correct: int pmix_bfrop_pack_app(pmix_buffer_t *buffer, const void *src, int32_t num_vals, pmix_data_type_t type) { pmix_app_t *app;

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Siegmar Gross
Hi Gilles, thank you very much for identifying the reason for the problem and fixing it. Have a nice weekend Siegmar Am 29.04.2016 um 03:38 schrieb Gilles Gouaillardet: Siegmar, in pmix_bfrop_pack_app, app->argc must be replaced with app[i].argc I will PR to pmix, ompi and ompi-release when

Re: [OMPI users] runtime errors for openmpi-v2.x-dev-1280-gc110ae8

2016-04-29 Thread Ralph Castain
Ouch - thanks for finding this, Gilles! I’ll take care of it on Friday. > On Apr 28, 2016, at 6:38 PM, Gilles Gouaillardet > wrote: > > Siegmar, > > in pmix_bfrop_pack_app, > app->argc > must be replaced with > app[i].argc > > I will PR to pmix, ompi and ompi-release when I am back at work on