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: Duke Nguyen (duke.lists_at_[hidden])
Date: 2013-05-07 11:07:09


On 5/7/13 9:48 PM, Ralph Castain wrote:
>
> 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
>

You SAVED me a whole week of headache!!!!! I was messing between DESTDIR
and PREFIX. I think it is sorted out now :).