Re: [OMPI users] how to build a relocatable OpenMPI RPM ?

2013-09-10 Thread caohaijun
thanks. :) On Tue, Sep 10, 2013 at 10:19 PM, Ralph Castain wrote: > Ha - needed to read one email further down :-) > > Sent from my iPhone > > On Sep 10, 2013, at 3:03 AM, caohaijun wrote: > > I got it. Thank you very much. > > > Best, > Jimmy > >

Re: [OMPI users] how to build a relocatable OpenMPI RPM ?

2013-09-10 Thread caohaijun
rt relocatable RPMs, in the RPM sense of the word > "relocatable". > > You can, however, override OMPI's hard-coded installation location with > various environment variables, however. See > http://www.open-mpi.org/faq/?category=building#installdirs. > > > >

Re: [OMPI users] how to build a relocatable OpenMPI RPM ?

2013-09-10 Thread caohaijun
10, 2013 at 11:23 AM, Ralph Castain wrote: > You need to put prefix location in your path and ld_library_path > > Sent from my iPhone > > On Sep 9, 2013, at 8:02 PM, caohaijun wrote: > > Hi all > > How to build a relocatable OpenMPI RPM ? > > I just use the followi

[OMPI users] how to build a relocatable OpenMPI RPM ?

2013-09-09 Thread caohaijun
Hi all How to build a relocatable OpenMPI RPM ? I just use the following command to build a OpenMPI RPM from SRPM. rpmbuild --rebuild --define 'configure_options --with-devel-headers' openmpi-1.7.2-1.src.rpm It can successfully build the RPM. After installing with 'rpm -ivh --prefix=/somewhere