[mvapich-discuss] Bug in mvapich2-1.6-0 make file.

Jonathan Perkins perkinjo at cse.ohio-state.edu
Mon Feb 28 13:06:04 EST 2011


Mike:
Thanks for sending us this patch.  I'll take a look at this to make
sure we can reproduce and see that this is resolved.  Our next SRPM
should contain this fix.

On Mon, Feb 28, 2011 at 12:40 PM, Mike Heinz <michael.heinz at qlogic.com> wrote:
> When trying to build a variant RPM of mvapich2, I ran into this error:
>
> Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.70358
> + umask 022
> + cd /var/tmp/QLogic-mvapich2/OFEDRPMS/BUILD
> + cd mvapich2-r4431
> + rm -rf /var/tmp/QLogic-mvapich2/build
> + make install DESTDIR=/var/tmp/QLogic-mvapich2/build
> Remove /usr/mpi/gcc/mvapich2-1.6/lib/libfmpich.so and rerun make install
> Remove /usr/mpi/gcc/mvapich2-1.6/lib/libmpich.so and rerun make install
> make: *** [install-preamble] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.70358 (%install)
>
> Reviewing the makefile it appears the error is in install-preamble:
>
> --- Makefile.bak        2011-02-28 12:32:06.000000000 -0500
> +++ Makefile    2011-02-28 12:32:18.000000000 -0500
> @@ -485,7 +485,7 @@
>  install-preamble:
>        @if [ "none" = none ] ; then\
>              found=no ; \
> -            for file in ${libdir}/lib*${MPILIBNAME}.so ; do \
> +            for file in ${DESTDIR}/${libdir}/lib*${MPILIBNAME}.so ; do \
>                  if [ -f $$file ] ; then \
>                     echo "Remove $$file and rerun ${MAKE} install" ; \
>                     found=yes ; \
>
> Adding the reference to DESTDIR allows the RPM to be rebuilt correctly.
>
>
> This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message.
>
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>



-- 
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo



More information about the mvapich-discuss mailing list