Hello guys, We have compilation problem of ompi v1.3 on Itanium ia64 + gcc + rhel 4.7. It seems that vt_pform_linux.c:46 includes asm/intrinsics.h which is unavailable on rhel47/ia64 in /usr/include/asm but is a part of kernel-headers rpm (in /usr/src/kernels/2.6.9-78.EL-ia64/include/asm-ia64/)
We compile ompi v1.3 from srpm with a command: configure_options="--define 'configure_options --enable-orterun-prefix-by-default --with-openib --enable-mpirun-prefix-by-default'" rpmbuild_options="--define 'install_in_opt 1' --define 'use_default_rpm_opt_flags 0' --define 'ofed 1' --define 'mflags -j4' --define '_vendor Voltaire' --define 'packager Voltaire'" rpmbuild --rebuild $configure_options $rpmbuild_options /path/to/openmpi_v1.3_src.rpm and getting the following error: tlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3/bin\" -DDATADIR=\" /opt/openmpi/1.3/share\" -DRFG -DVT_BFD -DVT_MEMHOOK -DVT_IOWRAP -MT vt_pform_ linux.o -MD -MP -MF .deps/vt_pform_linux.Tpo -c -o vt_pform_linux.o vt_pform_lin ux.c vt_pform_linux.c:46:31: asm/intrinsics.h: No such file or directory vt_pform_linux.c: In function `vt_pform_wtime': vt_pform_linux.c:172: error: `_IA64_REG_AR_ITC' undeclared (first use in this fu nction) vt_pform_linux.c:172: error: (Each undeclared identifier is reported only once vt_pform_linux.c:172: error: for each function it appears in.) make[5]: *** [vt_pform_linux.o] Error 1 make[5]: *** Waiting for unfinished jobs.... mv -f .deps/vt_otf_trc.Tpo .deps/vt_otf_trc.Po make[5]: *** Waiting for unfinished jobs.... mv -f .deps/vt_otf_gen.Tpo .deps/vt_otf_gen.Po mv -f .deps/vt_iowrap.Tpo .deps/vt_iowrap.Po make[5]: Leaving directory `/tmp/buildopenmpi-30371/BUILD/openmpi-1.3/ompi/contr ib/vt/vt/vtlib' make[4]: make[4]: Leaving directory `/tmp/buildopenmpi-30371/BUILD/openmpi-1.3/o mpi/contrib/vt/vt' *** [all-recursive] Error 1 Please suggest. Thanks