[petsc-users] ERROR Arguments are incompatible in MatSetValues()

Matthew Knepley petsc-maint at mcs.anl.gov
Wed Nov 16 11:33:13 CST 2011


On Wed, Nov 16, 2011 at 10:09 AM, PEREZ CERQUERA MANUEL RICARDO <
manuel.perezcerquera at polito.it> wrote:

> Hi all,
>
> I have a petsc code which works for a certain number of unknowns, I mean
> it works with a matrix of 12000X 12000 elements, then when I increase the
> Number of unknowns to 25000 X 25000 I got this error at certain point in
> one of the MatSetValues() function, I don't know which are the possible
> causes, I have enough memory to handle it. Could you give me some ideas of
> whats going on? . Thanks
>

It appears that you are overflowing the integer offsets. I recommend trying
this either:

  a) With a 64-bit OS

or if you cannot upgrade the machine

  b) Configuring with --with-64-bit-indices

  Thanks,

      Matt


> [0]PETSC ERROR: Fortran Pause - Enter command<CR> or <CR> to continue.
> --------------------- Error Message ------------------------------**------
> [0]PETSC ERROR: Arguments are incompatible!
> [0]PETSC ERROR: Memory regions overlap: either use PetscMemmov()
>              or make sure your copy regions and lengths are correct.
>              Length (bytes) 1217067760 first address -844745856 second
> address
> -1712377200!
> [0]PETSC ERROR: ------------------------------**
> ------------------------------**----
> --------
> [0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 13:45:54
> CDT 20
> 11
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR: ------------------------------**
> ------------------------------**----
> --------
> [0]PETSC ERROR: C:\Documents and Settings\d022117\Desktop\**
> MPIRunsPatrju\patreju1
> .1.exe on a arch-mswi named GVSRV by d022117 Tue Nov 15 19:00:13 2011
> [0]PETSC ERROR: Libraries linked from /home/d022117/petsc-3.2-p5/**
> arch-mswin-cxx-
> debug/lib
> [0]PETSC ERROR: Configure run at Mon Nov  7 13:06:56 2011
> [0]PETSC ERROR: Configure options --with-cc="win32fe cl"
> --with-fc="win32fe ifor
> t" --with-cxx="win32fe cl" --download-f-blas-lapack=1
> --with-scalar-type=complex
>  --with-clanguage=cxx --useThreads=0
> [0]PETSC ERROR: ------------------------------**
> ------------------------------**----
> --------
> [0]PETSC ERROR: PetscMemcpy() line 1779 in src/mat/impls/aij/seq/e:\**
> users\manuel
> \phd\cygwin\home\d022117\**petsc-3.2-p5\include\petscsys.**h
> [0]PETSC ERROR: MatSetValues_SeqAIJ() line 331 in
> src/mat/impls/aij/seq/E:\Users
> \Manuel\Phd\Cygwin\home\**d022117\PETSC-~2.2-P\src\mat\**
> impls\aij\seq\aij.c
> [0]PETSC ERROR: MatSetValues() line 1115 in src/mat/interface/E:\Users\**
> Manuel\Ph
> d\Cygwin\home\d022117\PETSC-~**2.2-P\src\mat\INTERF~1\matrix.**c
>
> job aborted:
> rank: node: exit code[: error message]
> 0: gvsrv.delen.polito.it: 1: process 0 exited without calling finalize
>
> Eng. Manuel Ricardo Perez Cerquera. MSc. Ph.D student
> Antenna and EMC Lab (LACE)
> Istituto Superiore Mario Boella (ISMB)
> Politecnico di Torino
> Via Pier Carlo Boggio 61, Torino 10138, Italy
> Email: manuel.perezcerquera at polito.it
> Phone: +39 0112276704
> Fax: +39 011 2276 299
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111116/f98593ae/attachment.htm>


More information about the petsc-users mailing list