Re: [OMPI users] OpenMPI-1.10.0 bind-to core error

2015-09-17 Thread Gilles Gouaillardet
Ralph, you can reproduce this with master by manually creating a cpuset with less cores than available, and invoke mpirun with -bind-to core from within the cpuset. i made PR 904 https://github.com/open-mpi/ompi/pull/904 Brice, can you please double check the hwloc_bitmap_isincluded invokati

Re: [OMPI users] open mpi gcc

2015-09-17 Thread Thomas Jahns
The usual way to override the C compiler is to invoke configure like this: ./configure CC=nameofcc Regards, Thomas smime.p7s Description: S/MIME Cryptographic Signature

Re: [OMPI users] OpenMPI-1.10.0 bind-to core error

2015-09-17 Thread Ralph Castain
Thanks Gilles!! On Wed, Sep 16, 2015 at 9:21 PM, Gilles Gouaillardet wrote: > Ralph, > > you can reproduce this with master by manually creating a cpuset with less > cores than available, > and invoke mpirun with -bind-to core from within the cpuset. > > i made PR 904 https://github.com/open-mp

[OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Joel Hermanns
Hi all, I’m currently trying to use MPI within a Python extension (written in C++). I was able to compile the extension and import it correctly, but as soon as I run the function, which contains the MPI code, I get the following error: ``` [aia256:15841] mca: base: component_find: unable to ope

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Jeff Squyres (jsquyres)
Short version: The easiest way to do this is to configure your Open MPI installation with --disable-dlopen. More detail: Open MPI uses a bunch of plugins for its functionality. When you dlopen libmpi in a private namespace (like Python does), and then libmpi tries to dlopen its plugins, the

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Nick Papior
FYI, you can also see what they have done in mpi4py to by-pass this problem. I would actually highly recommend you to use mpi4py rather than implementing this from scratch your-self ;) 2015-09-17 15:21 GMT+00:00 Jeff Squyres (jsquyres) : > Short version: > > The easiest way to do this is to confi

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Joel Hermanns
Thanks for the quick answer! I have a few questions now: 1. Are there any downsides of using —disable-dlopen? 2. Are there any other options? We might not be able to change MPI installation, when this is running on a supercomputer. Joel On 17 Sep 2015, at 17:21, Jeff Squyres (jsquyres) wrote:

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Jeff Squyres (jsquyres)
On Sep 17, 2015, at 11:44 AM, Joel Hermanns wrote: > > Thanks for the quick answer! Be sure to see Nick's answer, too -- mpi4py is a nice package. > I have a few questions now: > > 1. Are there any downsides of using —disable-dlopen? You won't be able to add or remove plugins in the filesyste

[OMPI users] Have Trouble Setting Up a Ring Network Using Open MPI

2015-09-17 Thread Shang Li
Hi all, I wanted to setup a 3-node ring network, each connects to the other 2 using 2 Ethernet ports directly without a switch/router. The interface configurations could be found in the following picture. https://www.dropbox.com/s/g75i51rrjs51b21/mpi-graph%20-%20New%20Page.png?dl=0 I've used *i

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Joel Hermanns
> FYI, you can also see what they have done in mpi4py to by-pass this problem. Could you elaborate on this or give me some pointer to other resources? > I would actually highly recommend you to use mpi4py rather than implementing > this from scratch your-self ;) I fully agree that it is a bad

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Lisandro Dalcin
On 17 September 2015 at 18:56, Jeff Squyres (jsquyres) wrote: > On Sep 17, 2015, at 11:44 AM, Joel Hermanns wrote: >> >> Thanks for the quick answer! > > Be sure to see Nick's answer, too -- mpi4py is a nice package. > >> I have a few questions now: >> >> 1. Are there any downsides of using —disa

Re: [OMPI users] Problem with using MPI in a Python extension

2015-09-17 Thread Nick Papior
Depending on your exact usage and the data contained in the CDF-5 files I guess netcdf4-python would work for reading the files (if the underlying netcdf library is compiled against pnetcdf). However, this will not immediately yield mpi features. Yet, reading different segments of files could be ma

Re: [OMPI users] Have Trouble Setting Up a Ring Network Using Open MPI

2015-09-17 Thread Gilles Gouaillardet
Shang, can you please run mpirun --version i cannot find the ompi version you are running based on the git hash you reported as a temporary workaround, you can do minimal tcp routing : on the three nodes 1) run sysctl -w net.ipv4.ip_forward=1 2) route the other nodes interface not on the same

[OMPI users] C/R Enabled Debugging

2015-09-17 Thread gzzh...@buaa.edu.cn
Hi Team I am trying to use the MPI to do some test and study on the C/R enabled debugging. Professor Josh Hursey said that the feature never made it into a release so it was only ever available on the trunk, However , since that time the C/R functionality has fallen into disrepair. It is mos

Re: [OMPI users] C/R Enabled Debugging

2015-09-17 Thread Ralph Castain
I believe that the 1.6 series was the last to support C/R - you can find it on our web site. http://www.open-mpi.org/software/ompi/v1.6/ HTH Ralph On Thu, Sep 17, 2015 at 6:42 PM, gzzh...@buaa.edu.cn wrote: > Hi Team > I am trying to use the MPI to do some test and study on the C/R enabled >