I can successfully build the rpm of openmpi by adding the flag.<br>Thanks.<br><br>Regards,<br>PN<br><br><br><div class="gmail_quote">2009/3/5 vkm <span dir="ltr"><<a href="mailto:viral.vkm@gmail.com">viral.vkm@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
JFYI,<div class="im"><br>
A workaround mentioned here <a href="http://www.open-mpi.org/community/lists/devel/2009/01/5176.php" target="_blank">http://www.open-mpi.org/community/lists/devel/2009/01/5176.php</a><br>
'--with-contrib-vt-flags=--disable-iotrace'<br>
helps.<br>
<br></div>
 no idea if workaround causes any harm in any way or how good is it to apply !! ??<div><div></div><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
PN wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
HI,<br>
<br>
I have a build error of OFED-1.4.1-rc1 under CentOS 5.2:<br>
<br>
.....<br>
Build openmpi_gcc RPM<br>
Running  rpmbuild --rebuild  --define '_topdir /var/tmp/OFED_topdir' --define 'dist %{nil}' --target x86_64 --define '_name openmpi_gcc' --define 'mpi_selector /usr/bin/mpi-selector' --define 'use_mpi_selector 1' --define 'install_shell_scripts 1' --define 'shell_scripts_basename mpivars' --define '_usr /usr' --define 'ofed 0' --define '_prefix /usr/mpi/gcc/openmpi-1.3.1rc4' --define '_defaultdocdir /usr/mpi/gcc/openmpi-1.3.1rc4' --define '_mandir %{_prefix}/share/man' --define 'mflags -j 4' --define 'configure_options   --with-openib=/usr --with-openib-libdir=/usr/lib64  CC=gcc CXX=g++ F77=gfortran FC=gfortran --enable-mpirun-prefix-by-default' --define 'use_default_rpm_opt_flags 1' /opt/software/packages/ofed/OFED-1.4.1-rc1/OFED-1.4.1-rc1/SRPMS/openmpi-1.3.1rc4-1.src.rpm <br>

Failed to build openmpi RPM<br>
See /tmp/OFED.28377.logs/openmpi.rpmbuild.log<br>
<br>
<br>
In /tmp/OFED.28377.logs/openmpi.rpmbuild.log:<br>
.....<br>
gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib     -D_GNU_SOURCE -DBINDIR=\"/usr/mpi/gcc/openmpi-1.3.1rc4/bin\" -DDATADIR=\"/usr/mpi/gcc/openmpi-1.3.1rc4/share\" -DRFG  -DVT_MEMHOOK -DVT_IOWRAP  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT vt_iowrap_helper.o -MD -MP -MF .deps/vt_iowrap_helper.Tpo -c -o vt_iowrap_helper.o vt_iowrap_helper.c<br>

mv -f .deps/vt_memhook.Tpo .deps/vt_memhook.Po<br>
gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib     -D_GNU_SOURCE -DBINDIR=\"/usr/mpi/gcc/openmpi-1.3.1rc4/bin\" -DDATADIR=\"/usr/mpi/gcc/openmpi-1.3.1rc4/share\" -DRFG  -DVT_MEMHOOK -DVT_IOWRAP  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -MT rfg_regions.o -MD -MP -MF .deps/rfg_regions.Tpo -c -o rfg_regions.o rfg_regions.c<br>

vt_iowrap.c:1242: error: expected declaration specifiers or '...' before numeric constant<br>
vt_iowrap.c:1243: error: conflicting types for '__fprintf_chk'<br>
mv -f .deps/vt_iowrap_helper.Tpo .deps/vt_iowrap_helper.Po<br>
make[5]: *** [vt_iowrap.o] Error 1<br>
make[5]: *** Waiting for unfinished jobs....<br>
mv -f .deps/vt_comp_gnu.Tpo .deps/vt_comp_gnu.Po<br>
mv -f .deps/rfg_regions.Tpo .deps/rfg_regions.Po<br>
make[5]: Leaving directory `/var/tmp/OFED_topdir/BUILD/openmpi-1.3.1rc4/ompi/contrib/vt/vt/vtlib'<br>
make[4]: *** [all-recursive] Error 1<br>
make[4]: Leaving directory `/var/tmp/OFED_topdir/BUILD/openmpi-1.3.1rc4/ompi/contrib/vt/vt'<br>
make[3]: *** [all] Error 2<br>
make[3]: Leaving directory `/var/tmp/OFED_topdir/BUILD/openmpi-1.3.1rc4/ompi/contrib/vt/vt'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/var/tmp/OFED_topdir/BUILD/openmpi-1.3.1rc4/ompi/contrib/vt'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/var/tmp/OFED_topdir/BUILD/openmpi-1.3.1rc4/ompi'<br>
make: *** [all-recursive] Error 1<br>
error: Bad exit status from /var/tmp/rpm-tmp.40739 (%build)<br>
<br>
<br>
RPM build errors:<br>
    user jsquyres does not exist - using root<br>
    group eng10 does not exist - using root<br>
    user jsquyres does not exist - using root<br>
    group eng10 does not exist - using root<br>
    Bad exit status from /var/tmp/rpm-tmp.40739 (%build)<br>
<br>
<br>
The error seems similar to <a href="http://www.open-mpi.org/community/lists/devel/2009/01/5230.php" target="_blank">http://www.open-mpi.org/community/lists/devel/2009/01/5230.php</a><br>
<br>
Regards,<br>
PN<br>
<br>
<br>
2009/3/5 Tziporet Koren <<a href="mailto:tziporet@mellanox.co.il" target="_blank">tziporet@mellanox.co.il</a> <mailto:<a href="mailto:tziporet@mellanox.co.il" target="_blank">tziporet@mellanox.co.il</a>>><br>

<br>
    Hi,<br>
<br>
    OFED-1.4.1-rc1 release is available on<br>
<br>
    _<a href="http://www.openfabrics.org/downloads/OFED/ofed-1.4.1/OFED-1.4.1-rc1.tgz_" target="_blank">http://www.openfabrics.org/downloads/OFED/ofed-1.4.1/OFED-1.4.1-rc1.tgz_</a> <br>
<br>
<br>
    To get BUILD_ID run ofed_info<br>
<br>
    Please report any issues in bugzilla<br>
    _<a href="https://bugs.openfabrics.org/_" target="_blank">https://bugs.openfabrics.org/_</a> for OFED 1.4.1<br>
<br>
    Vladimir & Tziporet<br>
<br>
    ======================================================================== <br>
<br>
<br>
    Release information:<br>
<br>
    ------------------------------<br>
<br>
    Linux Operating Systems:<br>
<br>
           - RedHat EL4 up4:  2.6.9-42.ELsmp      *<br>
<br>
           - RedHat EL4 up5:  2.6.9-55.ELsmp<br>
<br>
           - RedHat EL4 up6:  2.6.9-67.ELsmp<br>
<br>
           - RedHat EL4 up7:        2.6.9-78.ELsmp<br>
<br>
           - RedHat EL5:        2.6.18-8.el5<br>
<br>
           - RedHat EL5 up1:  2.6.18-53.el5<br>
<br>
           - RedHat EL5 up2:  2.6.18-92.el5<br>
<br>
           - RedHat EL5 up3:  2.6.18-128.el5<br>
<br>
           - OEL 4.5:               2.6.9-55.ELsmp<br>
<br>
           - OEL 5.2:               2.6.18-92.el5<br>
<br>
           - CentOS 5.2:         2.6.18-92.el5<br>
<br>
           - Fedora C9:           2.6.25-14.fc9          *<br>
<br>
           - SLES10:              2.6.16.21-0.8-smp<br>
<br>
           - SLES10 SP1:       2.6.16.46-0.12-smp<br>
<br>
           - SLES10 SP1 up1: 2.6.16.53-0.16-smp<br>
<br>
           - SLES10 SP2:       2.6.16.60-0.21-smp<br>
<br>
           - SLES11 RC3:    2.6.27.13-1-default<br>
<br>
           - OpenSuSE 10.3:   2.6.22.5-31             *<br>
<br>
           - <a href="http://kernel.org" target="_blank">kernel.org</a> <<a href="http://kernel.org" target="_blank">http://kernel.org</a>>:            2.6.26 and<br>
    2.6.27<br>
<br>
         * Minimal QA for these versions<br>
<br>
    Systems:<br>
<br>
           * x86_64<br>
<br>
           * x86<br>
<br>
           * ia64<br>
<br>
           * ppc64<br>
<br>
<br>
    Main Changes from OFED-1.4<br>
<br>
    ======================<br>
<br>
    - Added support for RHEL 5.3 and SLES11 RC3<br>
<br>
    - Added RHEL 5.2 backports for NFS/RDMA<br>
<br>
    - Updated MPI packages:<br>
<br>
            mvapich-1.1.0-3143<br>
<br>
            Open MPI 1.3.1-rc4<br>
<br>
    - Updated bonding package: ib-bonding-0.9.0-38<br>
<br>
    - Updated opensm version to include critical bug fixes<br>
<br>
    - Fixed RDS iWARP support<br>
<br>
    - Low level drivers updated: ehca, mlx4, cxgb3, nes<br>
<br>
    - Bug fixes<br>
<br>
    - Attached kernel git tree changes for details<br>
<br>
    <<ofa_kernel-1.4_1.4.1-rc1.log>><br>
<br>
    Tasks that should be completed for RC2:<br>
<br>
    =============================<br>
<br>
    1. High priority bug fixes<br>
<br>
    2. RHEL 5.2 32 bits compilation issue (due to NFS/RDMA backports)<br>
<br>
    3. Open MPI 1.3.1 release<br>
<br>
    4. MVAPICH 1.1.1.minor release with critical bug fixes<br>
<br>
    5. OSM release 3.2.6<br>
<br>
    6. Documentation update<br>
<br>
<br>
    _______________________________________________<br>
    general mailing list<br>
    <a href="mailto:general@lists.openfabrics.org" target="_blank">general@lists.openfabrics.org</a> <mailto:<a href="mailto:general@lists.openfabrics.org" target="_blank">general@lists.openfabrics.org</a>><br>
    <a href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general" target="_blank">http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general</a><br>
<br>
    To unsubscribe, please visit<br>
    <a href="http://openib.org/mailman/listinfo/openib-general" target="_blank">http://openib.org/mailman/listinfo/openib-general</a><br>
<br>
<br>
<br>
<br>
*Email Scanned for Virus & Dangerous Content by :* *<a href="http://www.CleanMailGateway.com" target="_blank">www.CleanMailGateway.com</a>*<br>
<br>
------------------------------------------------------------------------ <br>
<br>
_______________________________________________<br>
general mailing list<br>
<a href="mailto:general@lists.openfabrics.org" target="_blank">general@lists.openfabrics.org</a><br>
<a href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general" target="_blank">http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general</a><br>
<br>
To unsubscribe, please visit <a href="http://openib.org/mailman/listinfo/openib-general" target="_blank">http://openib.org/mailman/listinfo/openib-general</a><br>
</blockquote></blockquote>
<br>
</blockquote>
</div></div></blockquote></div><br>