Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] ompi v1.3 compilation problem on ia64/gcc/rhel4.7
From: Mike Dubman (mike.ompi_at_[hidden])
Date: 2009-02-19 03:52:55

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
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

and getting the following error:

tlib/otf/otflib -D_GNU_SOURCE -DBINDIR=\"/opt/openmpi/1.3/bin\"
/opt/openmpi/1.3/share\" -DRFG -DVT_BFD -DVT_MEMHOOK -DVT_IOWRAP -MT
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
vt_pform_linux.c:172: error: (Each undeclared identifier is reported only
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
make[5]: Leaving directory
make[4]: make[4]: Leaving directory
*** [all-recursive] Error 1

Please suggest.