[OMPI users] error building openmpi-dev-1031-g008755a with Sun C 5.13

2015-02-19 Thread Siegmar Gross
Hi, today I tried to build openmpi-dev-1031-g008755a on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three platforms for both compilers. I used the following configure command for all platforms.

[OMPI users] error building openmpi-dev-1031-g008755a with gcc-4.9.2

2015-02-19 Thread Siegmar Gross
Hi, today I tried to build openmpi-dev-1031-g008755a on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three platforms for both compilers. I used the following configure command for all platforms.

[OMPI users] error building openmpi-dev-1031-g008755a with gcc-4.9.2

2015-02-19 Thread Siegmar Gross
Hi, today I tried to build openmpi-dev-1031-g008755a on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three platforms for both compilers. I used the following configure command for all platforms.

[OMPI users] error building openmpi-dev-1031-g008755a with Sun C 5.13

2015-02-19 Thread Siegmar Gross
Hi, today I tried to build openmpi-dev-1031-g008755a on my machines (Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three platforms for both compilers. I used the following configure command for all platforms.

Re: [OMPI users] error building openmpi-dev-1031-g008755a with Sun C 5.13

2015-02-19 Thread Jeff Squyres (jsquyres)
Siegmar -- This file (opal/mca/rcache/base/static-components.h) is generated during configure. I just downloaded the dev-1031 tarball from last night and ran configure on it, and the opal/mca/rcache/base/static-components.h file is there for me. Did something go wrong during your configure?

Re: [OMPI users] error building openmpi-dev-1031-g008755a with Sun C 5.13

2015-02-19 Thread Jeff Squyres (jsquyres)
Siegmar -- This one looks like a seg fault in your compiler. I don't know if there's much we can do about that. > On Feb 19, 2015, at 7:50 AM, Siegmar Gross > wrote: > > Hi, > > today I tried to build openmpi-dev-1031-g008755a on my machines >

Re: [OMPI users] error building openmpi-dev-1031-g008755a with gcc-4.9.2

2015-02-19 Thread Jeff Squyres (jsquyres)
Looks like --enable-heterogeneous builds are broken on master. I filed https://github.com/open-mpi/ompi/issues/403. Thanks for the heads-up! > On Feb 19, 2015, at 7:50 AM, Siegmar Gross > wrote: > > Hi, > > today I tried to build

Re: [OMPI users] error building openmpi-dev-1031-g008755a with gcc-4.9.2

2015-02-19 Thread Jeff Squyres (jsquyres)
Siegmar -- This looks like an error in ROMIO that we should report upstream. Thanks for the heads-up! > On Feb 19, 2015, at 8:00 AM, Siegmar Gross > wrote: > > Hi, > > today I tried to build openmpi-dev-1031-g008755a on my machines > (Solaris 10 Sparc,

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Eric Chamberland
By the way, I have tried two others things: #1- I launched it as root: mpiexec --mca mca_btl_vader_single_copy_mechanism cma --allow-run-as-root -np 2 ./hw #2- Found this (http://askubuntu.com/questions/146160/what-is-the-ptrace-scope-workaround-for-wine-programs-and-are-there-any-risks)

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
If you have yama installed you can try: echo 1 > /proc/sys/kernel/yama/ptrace_scope as root. -Nathan On Thu, Feb 19, 2015 at 11:06:09AM -0500, Eric Chamberland wrote: > By the way, > > I have tried two others things: > > #1- I launched it as root: > > mpiexec --mca

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Eric Chamberland
On 02/19/2015 11:56 AM, Nathan Hjelm wrote: If you have yama installed you can try: Nope, I do not have it installed... is it absolutely necessary? (and would it change something when it fails when I am root?) Other question: In addition to "--with-cma" configure flag, do we have to pass

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
On Thu, Feb 19, 2015 at 12:16:49PM -0500, Eric Chamberland wrote: > > On 02/19/2015 11:56 AM, Nathan Hjelm wrote: > > > >If you have yama installed you can try: > > Nope, I do not have it installed... is it absolutely necessary? (and would > it change something when it fails when I am root?) >

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Eric Chamberland
On 02/19/2015 02:58 PM, Nathan Hjelm wrote: On Thu, Feb 19, 2015 at 12:16:49PM -0500, Eric Chamberland wrote: On 02/19/2015 11:56 AM, Nathan Hjelm wrote: If you have yama installed you can try: Nope, I do not have it installed... is it absolutely necessary? (and would it change something

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
Great! I will add an MCA variable to force CMA and also enable it if 1) no yama and 2) no PR_SET_PTRACER. You might also look at using xpmem. You can find a version that supports 3.x @ https://github.com/hjelmn/xpmem . It is a kernel module + userspace library that can be used by vader as a

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Eric Chamberland
On 02/19/2015 03:53 PM, Nathan Hjelm wrote: Great! I will add an MCA variable to force CMA and also enable it if 1) no yama and 2) no PR_SET_PTRACER. cool, thanks again! You might also look at using xpmem. You can find a version that supports 3.x @ https://github.com/hjelmn/xpmem . It is a

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Aurélien Bouteiller
Nathan, I think I already pushed a patch for this particular issue last month. I do not know if it has been back ported to release yet. See here:https://github.com/open-mpi/ompi/commit/ee3b0903164898750137d3b71a8f067e16521102 Aurelien -- ~~~ Aurélien Bouteiller, Ph.D. ~~~

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
I don't think that will fix this issue. In this case yama is not installed and it appears PR_SET_PTRACER is not available. This forces vader to assume that CMA can not be used when that isn't always the case. I think it might be safe to assume that CMA is unrestricted here. -Nathan On Thu, Feb

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
Hmm, wait. Yes. Your change went in after 1.8.4 and has the same effect. If yama ins't installed it is safe to assume that the ptrace scope is effectively 0. So, your patch does fix the issue. -Nathan On Thu, Feb 19, 2015 at 02:53:47PM -0700, Nathan Hjelm wrote: > > I don't think that will fix

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Nathan Hjelm
Aurélien, I should also point out your fix has already been applied to the 1.8 branch and will be included in 1.8.5. -Nathan On Thu, Feb 19, 2015 at 02:57:38PM -0700, Nathan Hjelm wrote: > > Hmm, wait. Yes. Your change went in after 1.8.4 and has the same > effect. If yama ins't installed it

Re: [OMPI users] Help on getting CMA works

2015-02-19 Thread Eric Chamberland
Maybe it is a stupid question, but... why it is not tested and enabled by default at configure time since it is part of the kernel? Eric On 02/19/2015 03:53 PM, Nathan Hjelm wrote: Great! I will add an MCA variable to force CMA and also enable it if 1) no yama and 2) no PR_SET_PTRACER. You