[petsc-dev] usage of Malloc2 at VecScatterCopy_MPI_ToAll
Barry Smith
bsmith at mcs.anl.gov
Fri Jul 9 19:26:14 CDT 2010
I consider this bogus warnings.
Barry
On Jul 9, 2010, at 7:22 PM, Lisandro Dalcin wrote:
> While building with nvcc, I looked at this warning:
>
> libfast in: /usr/local/petsc/dev/src/vec/vec/utils
> vscat.c(322): warning: variable "sto" is used before its value is set
>
> Do we really need to use Malloc2 in such line? Perhaps we should
> actually use Malloc2 for sto->count and sto->displx ?
>
> --
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169
More information about the petsc-dev
mailing list