[petsc-dev] Fwd: [petsc-maint #75139] issues with 64bit integer builds
Barry Smith
bsmith at mcs.anl.gov
Thu Jun 2 07:44:16 CDT 2011
Looks like too many people are pushing stuff without checking that it works with 64 bit ints.
Barry
Begin forwarded message:
> From: Lisandro Dalcin <dalcinl at gmail.com>
> Date: June 2, 2011 7:40:05 AM CDT
> To: petsc-maint <petsc-maint at mcs.anl.gov>
> Cc: Aron Ahmadia <aron.ahmadia at kaust.edu.sa>
> Subject: [petsc-maint #75139] issues with 64bit integer builds
> Reply-To: petsc-maint at mcs.anl.gov, Lisandro Dalcin <dalcinl at gmail.com>
>
> [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/objects/pinit.c.o
> /home/devel/petsc/dev/src/sys/objects/pinit.c: In function ‘PetscFinalize’:
> /home/devel/petsc/dev/src/sys/objects/pinit.c:1003: warning: passing
> argument 1 of ‘PetscOptionsAllUsed’ from incompatible pointer type
> /home/devel/petsc/dev/include/petscoptions.h:37: note: expected ‘int
> *’ but argument is of type ‘PetscInt *’
>
> [ 46%] Building C object
> CMakeFiles/petsc.dir/src/mat/impls/baij/mpi/bstream/mpibstream.c.o
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c: In
> function ‘MPIBSTRM_create_bstrm’:
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:36:
> warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘PetscInt’
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:36:
> warning: format ‘%d’ expects type ‘int’, but argument 3 has type
> ‘PetscInt’
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:36:
> warning: format ‘%d’ expects type ‘int’, but argument 4 has type
> ‘PetscInt’
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:36:
> warning: format ‘%d’ expects type ‘int’, but argument 5 has type
> ‘PetscInt’
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:43:
> warning: format ‘%d’ expects type ‘int’, but argument 2 has type
> ‘PetscInt’
> /home/devel/petsc/dev/src/mat/impls/baij/mpi/bstream/mpibstream.c:43:
> warning: format ‘%d’ expects type ‘int’, but argument 3 has type
> ‘PetscInt’
>
> [ 48%] Building C object CMakeFiles/petsc.dir/src/mat/impls/dense/seq/dense.c.o
> /home/devel/petsc/dev/src/mat/impls/dense/seq/dense.c: In function
> ‘MatMatSolve_SeqDense’:
> /home/devel/petsc/dev/src/mat/impls/dense/seq/dense.c:202: warning:
> passing argument 3 of ‘MatGetSize’ from incompatible pointer type
> /home/devel/petsc/dev/include/petscmat.h:582: note: expected ‘PetscInt
> *’ but argument is of type ‘PetscBLASInt *’
>
> [ 74%] Building C object CMakeFiles/petsc.dir/src/dm/sa/interface/sa.c.o
> /home/devel/petsc/dev/src/dm/sa/interface/sa.c: In function ‘SAAssemble’:
> /home/devel/petsc/dev/src/dm/sa/interface/sa.c:1711: warning: passing
> argument 4 of ‘PetscGatherNumberOfMessages’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscsys.h:2364: note: expected
> ‘PetscMPIInt *’ but argument is of type ‘PetscInt *’
>
> [ 74%] Building C object
> CMakeFiles/petsc.dir/src/dm/ao/impls/memscalable/aomemscalable.c.o
> /home/devel/petsc/dev/src/dm/ao/impls/memscalable/aomemscalable.c: In
> function ‘AOMap_MemoryScalable_private’:
> /home/devel/petsc/dev/src/dm/ao/impls/memscalable/aomemscalable.c:207:
> warning: passing argument 3 of ‘MPI_Waitany’ from incompatible pointer
> type
> /usr/include/mpich2-x86_64/mpi.h:573: note: expected ‘int *’ but
> argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/dm/ao/impls/memscalable/aomemscalable.c:227:
> warning: passing argument 3 of ‘MPI_Waitany’ from incompatible pointer
> type
> /usr/include/mpich2-x86_64/mpi.h:573: note: expected ‘int *’ but
> argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/dm/ao/impls/memscalable/aomemscalable.c: In
> function ‘AOCreateMemoryScalable_private’:
> /home/devel/petsc/dev/src/dm/ao/impls/memscalable/aomemscalable.c:385:
> warning: passing argument 3 of ‘MPI_Waitany’ from incompatible pointer
> type
> /usr/include/mpich2-x86_64/mpi.h:573: note: expected ‘int *’ but
> argument is of type ‘PetscInt *’
>
> [ 74%] Building C object CMakeFiles/petsc.dir/src/dm/ao/impls/basic/aobasic.c.o
> /home/devel/petsc/dev/src/dm/ao/impls/basic/aobasic.c: In function
> ‘AOCreate_Basic’:
> /home/devel/petsc/dev/src/dm/ao/impls/basic/aobasic.c:212: warning:
> passing argument 2 of ‘ISGetLocalSize’ from incompatible pointer type
> /home/devel/petsc/dev/include/petscis.h:124: note: expected ‘PetscInt
> *’ but argument is of type ‘PetscMPIInt *’
>
> [ 76%] Building C object
> CMakeFiles/petsc.dir/src/ksp/ksp/impls/gmres/dgmres/dgmres.c.o
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c: In
> function ‘KSPDGMRESComputeDeflationData_DGMRES’:
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:876:
> warning: passing argument 1 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:876:
> warning: passing argument 2 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:876:
> warning: passing argument 5 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c: In
> function ‘KSPDGMRESComputeSchurForm_DGMRES’:
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:948:
> warning: passing argument 3 of ‘dhseqr_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:21:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:960:
> warning: passing argument 3 of ‘PetscSortRealWithPermutation’ from
> incompatible pointer type
> /home/devel/petsc/dev/include/petscsys.h:2197: note: expected
> ‘PetscInt *’ but argument is of type ‘PetscBLASInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:995:
> warning: passing argument 3 of ‘dtrsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:25:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:995:
> warning: passing argument 4 of ‘dtrsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:25:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:995:
> warning: passing argument 11 of ‘dtrsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:25:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:995:
> warning: passing argument 16 of ‘dtrsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:25:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:995:
> warning: passing argument 17 of ‘dtrsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:25:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c: In
> function ‘KSPDGMRESApplyDeflation_DGMRES’:
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1050:
> warning: passing argument 3 of ‘dgetrs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:45: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1050:
> warning: passing argument 6 of ‘dgetrs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:45: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1050:
> warning: passing argument 9 of ‘dgetrs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:45: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1060:
> warning: passing argument 3 of ‘dgerfs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:23:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1060:
> warning: passing argument 8 of ‘dgerfs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:23:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1060:
> warning: passing argument 17 of ‘dgerfs_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:23:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c: In
> function ‘KSPDGMRESImproveEig_DGMRES’:
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1170:
> warning: passing argument 10 of ‘dgges_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:24:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1186:
> warning: passing argument 3 of ‘PetscSortRealWithPermutation’ from
> incompatible pointer type
> /home/devel/petsc/dev/include/petscsys.h:2197: note: expected
> ‘PetscInt *’ but argument is of type ‘PetscBLASInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1221:
> warning: passing argument 17 of ‘dtgsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:26:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1221:
> warning: passing argument 25 of ‘dtgsen_’ from incompatible pointer
> type
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmresimpl.h:26:
> note: expected ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1249:
> warning: passing argument 1 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1249:
> warning: passing argument 2 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1249:
> warning: passing argument 4 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
> /home/devel/petsc/dev/src/ksp/ksp/impls/gmres/dgmres/dgmres.c:1249:
> warning: passing argument 5 of ‘dgetrf_’ from incompatible pointer
> type
> /home/devel/petsc/dev/include/petscblaslapack.h:25: note: expected
> ‘PetscBLASInt *’ but argument is of type ‘PetscInt *’
>
> --
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> 3000 Santa Fe, Argentina
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169
>
More information about the petsc-dev
mailing list