Re: [OMPI users] Extent of Distributed Array Type?

2012-07-24 Thread Richard Shaw
Thanks George, I'm glad it wasn't just me being crazy. I'll try and test that one soon. Cheers, Richard On Tuesday, 24 July, 2012 at 6:28 PM, George Bosilca wrote: > Richard, > > Thanks for identifying this issue and for the short example. I can confirm > your original understanding was

Re: [OMPI users] Extent of Distributed Array Type?

2012-07-24 Thread Jeff Squyres
On Jul 24, 2012, at 6:28 PM, George Bosilca wrote: > Thanks for identifying this issue and for the short example. I can confirm > your original understanding was right, the upper bound should be identical on > all ranks. I just pushed a patch (r26862), let me know if this fixes your > issue.

Re: [OMPI users] Extent of Distributed Array Type?

2012-07-24 Thread George Bosilca
Richard, Thanks for identifying this issue and for the short example. I can confirm your original understanding was right, the upper bound should be identical on all ranks. I just pushed a patch (r26862), let me know if this fixes your issue. Thanks, george. On Jul 24, 2012, at 17:27 ,

Re: [OMPI users] issue with addresses

2012-07-24 Thread Iliev, Hristo
Hi, Priyesh, The output of your program is pretty much what one would expect. 140736841025492 is 0x7FFFD96A87D4 which pretty much corresponds to a location in the stack, which is to be expected as a and b are scalar variables and most likely end up on the stack. As c is array its location is

Re: [OMPI users] Extent of Distributed Array Type?

2012-07-24 Thread Richard Shaw
I've been speaking off line to Jonathan Dursi about this problem. And it does seems to be a bug. The same problem crops up in a simplified 1d only case (test case attached). In this instance the specification seems to be comprehensible - looking at the pdf copy of MPI-2.2 spec, p92-93, the

Re: [OMPI users] compiling openMPI 1.6 with Intel compilers on Ubuntu, getting error

2012-07-24 Thread Stephen J. Barr
Thank you, that worked perfectly, and thanks for the explanation as well. Best, Stephen On Tue, Jul 24, 2012 at 7:58 AM, David Warren wrote: > Instead of sudo make install do > sudo bash > source /opt/intel/bin/compilervars.sh intel64 > make install > > Once you sudo

Re: [OMPI users] compiling openMPI 1.6 with Intel compilers on Ubuntu, getting error

2012-07-24 Thread David Warren
Instead of sudo make install do sudo bash source /opt/intel/bin/compilervars.sh intel64 make install Once you sudo you are starting a new shell as root, not a subshell. So, your environment does not go with it. You need to become root, then set the environment. On Tue, Jul 24, 2012 at 7:47 AM,

Re: [OMPI users] compiling openMPI 1.6 with Intel compilers on Ubuntu, getting error

2012-07-24 Thread Stephen J. Barr
'sudo which icpc' comes up blank, so that must be the problem. Thanks! On Tue, Jul 24, 2012 at 7:54 AM, Ralph Castain wrote: > When you use sudo, the shell replaces your existing environ and executes > the root's login script - is that setting the path to icpc? You can check

Re: [OMPI users] compiling openMPI 1.6 with Intel compilers on Ubuntu, getting error

2012-07-24 Thread Ralph Castain
When you use sudo, the shell replaces your existing environ and executes the root's login script - is that setting the path to icpc? You can check with "sudo which icpc". On Jul 24, 2012, at 7:47 AM, Stephen J. Barr wrote: > Greetings, > > I am working on building openmpi-1.6 on ubuntu 12.04

[OMPI users] compiling openMPI 1.6 with Intel compilers on Ubuntu, getting error

2012-07-24 Thread Stephen J. Barr
Greetings, I am working on building openmpi-1.6 on ubuntu 12.04 using the intel compiler suite. My configure command was: ./configure --prefix=/usr/local/lib CC=icc CXX=icpc F77=ifort FC=ifort which completed successfully, as did 'make all' I am having trouble with the 'sudo make install'