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

PEREZ CERQUERA MANUEL RICARDO manuel.perezcerquera at polito.it
Wed Nov 16 10:09:37 CST 2011

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

[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 
               or make sure your copy regions and lengths 
are correct.
               Length (bytes) 1217067760 first address 
-844745856 second address
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat 
Oct 29 13:45:54 CDT 20
[0]PETSC ERROR: See docs/changes/index.html for recent 
[0]PETSC ERROR: See docs/faq.html for hints about trouble 
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: C:\Documents and 
.1.exe on a arch-mswi named GVSRV by d022117 Tue Nov 15 
19:00:13 2011
[0]PETSC ERROR: Libraries linked from 
[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-clanguage=cxx --useThreads=0
[0]PETSC ERROR: PetscMemcpy() line 1779 in 
[0]PETSC ERROR: MatSetValues_SeqAIJ() line 331 in 
[0]PETSC ERROR: MatSetValues() line 1115 in 

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

More information about the petsc-users mailing list