Open MPI logo

Open MPI User's Mailing List Archives

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

From: Alex Tumanov (atumanov_at_[hidden])
Date: 2007-07-06 12:05:56


Eureka! I managed to get it working despite the incorrect _initial_
./configure invocation. For those interested, here are my compilation
options:
# cat ompi_build.sh
#!/bin/sh

rpmbuild --rebuild -D "configure_options \
                        --prefix=%{_prefix} \
                        --with-openib=/usr/include/infiniband \
                        --with-openib-libdir=/usr/lib64 \
                        --sysconfdir=%{_prefix}/etc" \
                    -D "install_in_opt 1" \
                    -D "_name openmpi_vendor" \
                    -D "_defaultdocdir %{_prefix}/share" \
                    -D "mflags all" openmpi-1.2.3-1.src.rpm

Thanks for looking :)
Alex.

On 7/5/07, Alex Tumanov <atumanov_at_[hidden]> wrote:
> Actually, tried compiling the RPM again, and at the very top, noticed
> that the ./configure is called with --sysconfdir set to /opt/openmpi
> instead of the new name provided. All other parameters are correct!
> Any ideas?
>
> ./configure --build=x86_64-redhat-linux-gnu
> --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu
> --program-prefix= --prefix=/opt/openmpi_mine/1.2.3
> --exec-prefix=/opt/openmpi_mine/1.2.3
> --bindir=/opt/openmpi_mine/1.2.3/bin
> --sbindir=/opt/openmpi_mine/1.2.3/sbin
> --sysconfdir=/opt/openmpi/1.2.3/etc
> --datadir=/opt/openmpi_mine/1.2.3/share
> --includedir=/opt/openmpi_mine/1.2.3/include
> --libdir=/opt/openmpi_mine/1.2.3/lib
> --libexecdir=/opt/openmpi_mine/1.2.3/libexec --localstatedir=/var
> --sharedstatedir=/opt/openmpi_mine/1.2.3/com
> --mandir=/opt/openmpi_mine/1.2.3/man --infodir=/usr/share/info
> --prefix=/opt/openmpi_mine/1.2.3 --with-openib=/usr/include/infiniband
> --with-openib-libdir=/usr/lib64
>
> Thanks,
> Alex.
>