Re: [OMPI users] pinning processes by default

2014-05-23 Thread Albert Solernou
Very useful! Thank you Ralph. Albert On Fri 23 May 2014 15:26:58 BST, Ralph Castain wrote: On May 23, 2014, at 7:14 AM, Albert Solernou wrote: Well, the problem is that I don't know how to do any of these things Ah! You might want to read this: http://www.open-mpi.org/faq/?category=tuni

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Ralph Castain
On May 23, 2014, at 7:14 AM, Albert Solernou wrote: > Well, > the problem is that I don't know how to do any of these things Ah! You might want to read this: http://www.open-mpi.org/faq/?category=tuning#mca-params > , so more explicitly: > - does OpenMPI accept any environment variable that

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Albert Solernou
Well, the problem is that I don't know how to do any of these things, so more explicitly: - does OpenMPI accept any environment variable that prevents binding like MV2_ENABLE_AFFINITY does on MVAPICH2? - what is the default mca param file? Is it a runtime file? or a configuration file? how do

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Ralph Castain
On May 23, 2014, at 6:58 AM, Albert Solernou wrote: > Hi, > thanks a lot for your quick answers, and I see my error, it is "--bind-to > none" instead of "--bind-to-none". > > However, I need to be able to run "mpirun -np 2" without any binding argument > and get a "--bind-to none" behaviour.

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Albert Solernou
Hi, thanks a lot for your quick answers, and I see my error, it is "--bind-to none" instead of "--bind-to-none". However, I need to be able to run "mpirun -np 2" without any binding argument and get a "--bind-to none" behaviour. I don't know if I can export an environment variable to do that,

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Ralph Castain
Note that the lama mapper described in those slides may not work as it hasn't been maintained in a while. However, you can use the map-by and bind-to options to do the same things. If you want to disable binding, you can do so by adding "--bind-to none" to the cmd line, or via the MCA param "hw

Re: [OMPI users] pinning processes by default

2014-05-23 Thread Brock Palen
Albert, Actually doing affinity correctly for hybrid got easier in OpenMPI 1.7 and newer, In the past you had to make a lot of assumptions, stride by node etc, Now you can define a layout: http://blogs.cisco.com/performance/eurompi13-cisco-slides-open-mpi-process-affinity-user-interface/ Broc

[OMPI users] pinning processes by default

2014-05-23 Thread Albert Solernou
Hi, after compiling and installing OpenMPI 1.8.1, I find that OpenMPI is pinning processes onto cores. Although this may be desirable on some cases, it is a complete disaster when runnning hybrid OpenMP-MPI applications. Therefore, I want to disable this behaviour, but don't know how. I confi