Thanks Ralph for your help. By adding --bind-to none, I am able to control core binding in my application, using libnuma.
Regards, Chaitra On Tue, May 12, 2015 at 10:03 AM, Ralph Castain <r...@open-mpi.org> wrote: > The 1.8 series automatically binds, so I suspect you are getting some > cross-interference. You might try adding —bind-to none to your cmd line. > > Or you could just let OMPI bind you to core anyway. > > > On May 11, 2015, at 9:26 PM, Chaitra Kumar <chaitragku...@gmail.com> > wrote: > > Hi Jeff, > > Thanks for your reply. > The code works without any errors on MVAPICH2. Using openMPI am getting > segmentation fault. I found in the older versions of openMPI we can enable > libnuma support by using the flag '--with-libnuma'. I am using openMPI > 1.8.1. Is there an option to configure latest version of openMPI with > libnuma? I am trying to bind processes to core using the function > numa_sched_setaffinity'. > > Regards, > Chaitra > > On Mon, May 11, 2015 at 10:00 PM, Jeff Squyres (jsquyres) < > jsquy...@cisco.com> wrote: > >> Can you provide a bit more detail? Is the seg fault in your code or in >> Open MPI? >> >> Note that Open MPI uses hwloc (which likely uses libnuma) internally, too. >> >> >> >> > On May 11, 2015, at 2:17 AM, Chaitra Kumar <chaitragku...@gmail.com> >> wrote: >> > >> > Hi Team, >> > >> > I am trying to test an application with libnuma on openmpi 1.8.1. The >> code compiles, but at runtime am getting libnuma warning and it dies with >> segmentation fault. >> > >> > libnuma: Warning: cpu argument 8 is out of range >> > >> > >> -------------------------------------------------------------------------- >> > mpirun noticed that process rank 1 with PID 62744 on node test-1 exited >> on signal 11 (Segmentation fault). >> > >> -------------------------------------------------------------------------- >> > >> > >> > System information: >> > RHEL 6.6 >> > GCC 4.4.7 >> > open-mpi 1.8.1 >> > >> > This code works perfectly on MVAPICH2. >> > >> > How can I enable libnuma on openmpi? >> > >> > Any help is greatly appreciated. >> > >> > Regards, >> > Chaitra >> > >> > >> > >> > >> > _______________________________________________ >> > users mailing list >> > us...@open-mpi.org >> > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> > Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/05/26852.php >> >> >> -- >> Jeff Squyres >> jsquy...@cisco.com >> For corporate legal information go to: >> http://www.cisco.com/web/about/doing_business/legal/cri/ >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2015/05/26853.php >> > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/05/26857.php > > > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/05/26858.php >