C++ matrix/vector initialization in constructor

2009-10-21 Thread Umut Tabak
Dear all, I tried to write a very primitive wrapper class for a linear equation solver, Ax=B. I am puzzled at a point and turned to the list. In my constructors, I use solveKxF::solveKxF(Mat K, Vec F, Vec x) { // assign A = K; B = F; VecDuplicate(x, y); // set up the solver

C++ matrix/vector initialization in constructor

2009-10-21 Thread Matthew Knepley
-users/attachments/20091021/4d37e16c/attachment.htm

C++ error! MPI_Finalize() could not be located!

2009-10-21 Thread Dominik Szczerba
I get the following error building petsc-3.0.0-p8 on 32 bit linux (Ubuntu 9.04): = Running make on MPICH; this may take several minutes

C++ error! MPI_Finalize() could not be located!

2009-10-21 Thread Matthew Knepley
-- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091021/b5332266/attachment.htm

[petsc-maint #36400] Re: C++ error! MPI_Finalize() could not be located!

2009-10-21 Thread Satish Balay
Since you are using hypre - also use the additional option -with-cxx=icpc [by default its picking up g++ - which is causing this incompatibility with icc etc..] Satish On Wed, 21 Oct 2009, Dominik Szczerba wrote: configure.log is attached. Looking forward your feedback. Dominik

PaStiX crash

2009-10-21 Thread Andreas Grassl
Satish Balay schrieb: Perhaps you can try running in valgrind to see here the problem is. You can also try --with-debugging=0 COPTFLAGS='-g -O' - and see if it crashes. If so - run in a debugger to determine the problem. here you find the output of valgrind: http://pastebin.com/m16478dcf