[petsc-users] [Fortran] checking ierr return codes

2010-09-07 Thread Matthew Knepley
Wiener -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100907/d05b34a7/attachment.htm

[petsc-users] valgrind error comes out when upgrade from ubuntu 8.04 LTS to 10.04

2010-09-07 Thread Rebecca Xuefei Yuan
Dear Satish, I reinstalled PETSc by rm -rf petsc-3.1-p4 and downloaded petsc-lite-3.1-p4.tar.gz to start over. The commands are ./config/configure.py --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack=1 --download-mpich=1 make PETSC_DIR=/home/rebecca/soft/petsc-3.1-p4

[petsc-users] coupling with Matlab and parallel solution

2010-09-07 Thread Benjamin Sanderse
Hi Barry, I am still not too happy with the execution in parallel. I am working under Linux (64 bits) and still using your approach with two command windows (since it gives the best debugging possibility). As I said, sometimes things work, but most of the time not. Here is the output of two

[petsc-users] valgrind error comes out when upgrade from ubuntu 8.04 LTS to 10.04

2010-09-07 Thread Satish Balay
On Tue, 7 Sep 2010, Rebecca Xuefei Yuan wrote: Dear Satish, I reinstalled PETSc by rm -rf petsc-3.1-p4 and downloaded petsc-lite-3.1-p4.tar.gz to start over. The commands are ./config/configure.py --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack=1 --download-mpich=1 make

[petsc-users] valgrind error comes out when upgrade from ubuntu 8.04 LTS to 10.04

2010-09-07 Thread Satish Balay
Ubuntu valgrind is at /usr/bin/valgrind. /usr/local/bin/valgrind might be a personal install. [perhaps compiled on 8.04] Try: ~/soft/petsc-3.1-p4/externalpackages/mpich2-1.0.8/bin/mpiexec -np 2 /usr/bin/valgrind --tool=memcheck ./ex19.exe -malloc off -da_grid_x 30 -da_grid_y 30 [and then

[petsc-users] valgrind error comes out when upgrade from ubuntu 8.04 LTS to 10.04

2010-09-07 Thread Rebecca Xuefei Yuan
Dear Satish, Thanks very much for your kind help! Those tons of errors did not show up when I use the valgrind located at /usr/bin/valgrind. Cheers, Rebecca Quoting Satish Balay balay at mcs.anl.gov: Ubuntu valgrind is at /usr/bin/valgrind. /usr/local/bin/valgrind might be a personal

[petsc-users] nnz's in finite element stiffness matrix

2010-09-07 Thread stali
Petsc-users How can I efficiently calculate the _exact_ number of non-zeros that would be in the global sparse (stiffness) matrix given an unstructured mesh? Thanks

[petsc-users] Error message after call VecSet(R_, zero)

2010-09-07 Thread NAN ZHAO
* -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100907/c20a1d08/attachment.htm

[petsc-users] coupling with Matlab and parallel solution

2010-09-07 Thread Barry Smith
Are you closing the socket on Matlab between to the two sets? Just checking. You can try running with a different port number each time to see if it is related to trying to reuse the port. Run with PetscOpenSocket(5006) and the PETSc program with -viewer_socket_port 5006 then run both

[petsc-users] Error message after call VecSet(R_, zero)

2010-09-07 Thread Barry Smith
-- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100907/e899c48c/attachment.htm

[petsc-users] nnz's in finite element stiffness matrix

2010-09-07 Thread Dave Makhija
I used to have a decent setup that worked as follows: 1. Build node-element table (For a given node, which elements contain this node. You may already have this) OR build a node connectivity table (For a given node, which nodes are connected). 2. Build element-node table (For a given element,