[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warn message in log summary
- To: petsc-dev@xxxxxxxxxxx
- Subject: Re: warn message in log summary
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Mon, 26 Nov 2007 13:20:55 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=tSJpjFUO1jrHvXvvc3UTXRKDgAHg19Hu32EjlhtEC20=; b=a3MmWHD+F2906l25drQ9ZyF9VQ8561h6tlgJUPbbP5HGdzwoZjyXgG4wWMw0mLtMgXIGu2DJFPeGrSdrzNJgdrdVzKEJ/oB/XkaC3oxwdtcum5NtFZuMnhGuZ4L46rnzKvkoCo6BCU9dh3TZcsIJBuIQkimOuFz65wmsecrSbrM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=xZReJ8dyocK9VuEsnLo6fQDL/KdvHBYzqeAu0YoL1XYhNZR+sp6n6ULmNKNPuDeukN8mEAT6gu/B2kdJRz3lzllgGR8+MplZg9yBga+H/fFIdrF1gbY8wrW1hOvvnILt2H+vDkEQ+n6gt0qwVBL9B/AV7HEd1/8ELSrZjaT3LeE=
- In-reply-to: <78A39F37-4BAA-4AE4-B585-07896D96ECFA@mcs.anl.gov>
- References: <e7ba66e40711241525l64e1258al9464a18eb8544000@mail.gmail.com> <78A39F37-4BAA-4AE4-B585-07896D96ECFA@mcs.anl.gov>
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
On 11/24/07, Barry Smith <bsmith@xxxxxxxxxxx> wrote:
> > To minor question about this message:
> > * What means 'to rapid calls'? Is it a typo? Should be 'too rapid
> > calls' ?
> Yup
> > * Perhaps a newline could be added after the warn mesage?
> Yup
Then I'll fix the formating.
> I hate this message and problem, I wish there was a real fix.
Perhaps PETSc should use MPI_Wtime as default timer. If a better one
is available, then use it. But then MPIUNI have to also provide an
useful, default implementation.
Runing a simple test, like this (MPICH2):
int main(void)
{
int i;
double t0[100],t1[100];
MPI_Init(0,0);
for (i=0; i<100; i++) {
t0[i] = MPI_Wtime();
t1[i] = MPI_Wtime();
}
for (i=0; i< 100; i++) {
printf("t0=%e, t1=%e, dt=%e\n",t0[i],t1[i],t1[i]-t0[i]);
}
MPI_Finalize();
return 0;
}
and in the SAME box I get the PETSc warning, it consistently gives me
positive time deltas of the order of MPI_Wtick()...
> >
> >
> >
> > --
> > Lisandro Dalcín
> > ---------------
> > Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> > Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> > Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> > PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> > Tel/Fax: +54-(0)342-451.1594
> >
>
>
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594