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