Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] VT problems on Debian
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2009-01-21 16:25:46

Can't speak officially for the VT folks, but it looks like the following
bits in ompi/vt/vt/acinclude.m4 needs to list SPARC and Alpha (maybe
ARM?) along side MIPS as gettimeofday() platforms. Alternatively
(perhaps preferred) one should turn this around to explicitly list the
platforms that *do* have cycle counter support (ppc64, ppc32, ia64, x86
IIRC) rather than listing those that don't.


        case $PLATFORM in
                AC_DEFINE([TIMER_GETTIMEOFDAY], [1], [Use `gettimeofday'
                AC_DEFINE([TIMER_CLOCK_GETTIME], [2], [Use
`clock_gettime' function])
                case $host_cpu in
                                AC_DEFINE([TIMER], [TIMER_GETTIMEOFDAY],
[Use timer (see below)])
                                AC_MSG_NOTICE([selected timer:
                                AC_DEFINE([TIMER_CYCLE_COUNTER], [3],
[Cycle counter (e.g. TSC)])
[TIMER_CYCLE_COUNTER], [Use timer (see below)])
                                AC_MSG_NOTICE([selected timer:

Jeff Squyres wrote:
> The Debian OMPI maintainers raised a few failures on some of their
> architectures to my attention -- it looks like there's some wonkyness
> on Debian on SPARC and Alpha -- scroll to the bottom of these two pages:
> They both seem to incur the same error:
> -I../../../../../../../ompi/contrib/vt/vt/vtlib -I..
> -I../../../../../../../ompi/contrib/vt/vt/tools/opari/lib
> -I../../../../../../../ompi/contrib/vt/vt/extlib/otf/otflib
> -I../extlib/otf/otflib -I../../../../../../../ompi/contrib/vt/vt
> -D_GNU_SOURCE -DBINDIR=\"/usr/bin\"
> -DDATADIR=\"/usr/share/vampirtrace\" -DRFG -DVT_MEMHOOK -DVT_IOWRAP
> -Wall -g -O2 -MT vt_pform_linux.o -MD -MP -MF .deps/vt_pform_linux.Tpo
> -c -o vt_pform_linux.o
> ../../../../../../../ompi/contrib/vt/vt/vtlib/vt_pform_linux.c
> ../../../../../../../ompi/contrib/vt/vt/vtlib/vt_pform_linux.c: In
> function 'vt_pform_wtime':
> ../../../../../../../ompi/contrib/vt/vt/vtlib/vt_pform_linux.c:179:
> error: impossible constraint in 'asm'
> make[6]: *** [vt_pform_linux.o] Error 1
> make[6]: Leaving directory
> `/build/buildd/openmpi-1.3/build/shared/ompi/contrib/vt/vt/vtlib'
> VT guys -- any ideas?

Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group                 Tel: +1-510-495-2352
HPC Research Department                   Fax: +1-510-486-6900
Lawrence Berkeley National Laboratory