[Trilinos-Users] Epetra_CrsMatrix and AxtecOO: bug?

Simone Deparis deparis at MIT.EDU
Wed Oct 12 10:38:24 MDT 2005


Hi,

I have a matrix (Epetra_CrsMatrix) distributed among 2 processors.
the rowMap has some repeated indeces.
the rangeMap=DomainMap has _no_ repeated indeces.

After fillcomplete, I generate a Problem and an AztecOO instance.
this last command generate a SIGSEGV

Can try if he gets the same error, please?

attached you can find a Makefile (to be adapted to your trilinos
installation.

thank you very much
best
Simone

some technicals:
*) trilinos version: 6.0.3
trilinos configure:
../configure --prefix=/home/deparis/CODICE/supersizing/local
--enable-default-packages=no --enable-epetra --enable-triutils
--enable-epetraext --enable-aztecoo --with-mpi-libs=-lmpich
--with-mpi-compilers

*) uname -a
Linux simeon 2.6.8-11-amd64-k8-smp #1 SMP Wed Jun 1 00:01:27 CEST 2005
x86_64 GNU/Linux

*) here is my output
> mpirun   -np 2 ./testInversion2.exe
% using MPI
% using MPI
 sum(sum(A)) = 1.16667 = 1.16667
check input: 0
Mycol = 4 Myrows = 4
deparis at simeon:~/CODICE/supersizing/fem/test$ check input: 0
Mycol = 4 Myrows = 4
p1_12524:  p4_error: interrupt SIGSEGV: 11


-------------- next part --------------
top_srcdir = ../..# where my top directory is

#################### EPETRA_INLUDE ###############################
EPETRA_LIB_DIR		= $(top_srcdir)/local/lib
EPETRA_A		= -L$(EPETRA_LIB_DIR)  \
			  -lepetra  -lepetraext  -ltriutils -llapack -lblas\
			  -laztecoo
EPETRA_INCLUDE		= -I$(top_srcdir)/local/include

#################### MPICH ###############################
MPICH_LIB_DIR		= /usr/lib/mpich/lib
MPICH_A			= -L$(MPICH_LIB_DIR)  \
			  -lpmpich++ -lmpich
MPICH_INCLUDE		= -I/usr/lib/mpich/include/


#################### CCCFLAGS ###############################
OPT = DEBUG# DEBUG for debugging, OPT fot optimized
#OPT = OPT# DEBUG for debugging, OPT fot optimized
# g++ v. >= 2.7.0
#
CCC 	= g++
CC 	= gcc	
CCCFLAGS_DEBUG	= -DMV_VECTOR_BOUNDS_CHECK -g -Wall 
CCCFLAGS_OPT	= -O2
CCCFLAGS	= $(CCCFLAGS_$(OPT)) #'-DCOMPLEX=std::complex<double>'  

#############################################################
#############################################################

LDFLAGS	= $(EPETRA_A)  $(MPICH_A)

INCLUDES = $(EPETRA_INCLUDE) $(MPICH_INCLUDE)


#############################################################
.SUFFIXES: .cpp

.cpp.o:
	$(CCC) $(CCCFLAGS)  $(INCLUDES) -c $<

#############################################################
testInversion2: testInversion2.o
	$(CCC) $(CCCFLAGS)  -o $(<:.o=.exe) $^ $(LDFLAGS)

clean: 
	/bin/rm -f   testInversion2.exe testInversion2.o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testInversion2.cpp
Type: text/x-c++src
Size: 6043 bytes
Desc: not available
Url : http://software.sandia.gov/mailman/private/trilinos-users/attachments/20051012/63c07e61/testInversion2.bin


More information about the Trilinos-Users mailing list