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 you are starting a new shell

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, St

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 > with "sudo which

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' step.