[Trilinos-Users] help with NOX - AztecOO

hon fai choi honfai.choi at uz.kuleuven.ac.be
Wed Jan 20 03:12:50 MST 2010

Dear Trilinos users,

I have encountered a problem while trying to run NOX in parallel in combination with AztecOO. I have generated a distributed Epetra_CrsMatrix and Epetra_Vector
which are used to create a LinearSystemAztecOO object. I use the map of the Epetra_Vector as row map for the Epetra_CrsMatrix. The column map of the Epetra_CrsMatrix is generated by calling
'FillComplete()' (So the domain and range maps are the same as the row map). However, when I run the NOX-solver, I somehow get the error message: "AZ_extract_comm_info: Received elements must be stored after all local elements". Apparently this message is generated in the file 'az_comm.c' in the AztecOO package, in the function 'AZ_extract_comm_info' (line 3056).
I tried to figure out what is wrong and it seems that the wrong number of local columns (N_cols) are passed to this function on some processes. The number of local columns (N_cols) which are passed to this function seems to be equal to the number of local elements in the row map but not to the number of local column elements in the column map.
I either did something wrong or this might be a bug. Should the column map always contain the local elements of the row map as local columns? I have included the row map and column map of the
Epetra_CrsMatrix in the attachment, as well as some output I generated from the function 'AZ_extract_comm_info'.
If someone could help with this problem, I would greatly appreciate it...

Kind regards,

Hon Fai Choi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100120/a007183c/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AZ_extract_comm_info_error.out
Type: application/octet-stream
Size: 9951 bytes
Desc: AZ_extract_comm_info_error.out
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20100120/a007183c/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Epetra_CrsMatrix_colmap.out
Type: application/octet-stream
Size: 17141 bytes
Desc: Epetra_CrsMatrix_colmap.out
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20100120/a007183c/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Epetra_CrsMatrix_rowmap.out
Type: application/octet-stream
Size: 3580 bytes
Desc: Epetra_CrsMatrix_rowmap.out
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20100120/a007183c/attachment-0005.obj 

More information about the Trilinos-Users mailing list