Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] running openmpi with specified lib path
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-05-07 10:48:21


On May 7, 2013, at 7:39 AM, Duke Nguyen <duke.lists_at_[hidden]> wrote:

>
>
> No I didnt (and that maybe the reason, I am not really sure I was
> correct when installation these things). What I did was:
>
> $ cd /opt/apps/openmpi/openmpi-1.7.2r28341_composer_xe_2013.3.163
> $ ./configure CC=/opt/intel/composer_xe_2013.3.163/bin/intel64/icc
> CXX=/opt/intel/composer_xe_2013.3.163/bin/intel64/icpc
> F77=/opt/intel/composer_xe_2013.3.163/bin/intel64/ifort
> FC=/opt/intel/composer_xe_2013.3.163/bin/intel64/ifort
> $ make -j8
> $ DESTDIR=`pwd` make -j8 install
>
> so all the compiled openmpi components were installed at
>
> $ ls /opt/apps/openmpi/openmpi-1.7.2r28341_composer_xe_2013.3.163/usr/local/
> bin etc include lib share
>
> Am I doing wrong??? Please advise.

That's the problem - you have to give a prefix that matches the ld-libary-path. This installation is looking for its libs in /usr/local, not in your actual location