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

Satish Balay balay at mcs.anl.gov
Tue Sep 7 11:11:22 CDT 2010


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_DIR=/home/rebecca/soft/petsc-3.1-p4 PETSC_ARCH=linux-gnu-c-debug
> all
> make PETSC_DIR=/home/rebecca/soft/petsc-3.1-p4 PETSC_ARCH=linux-gnu-c-debug
> test
> 
> When I check the valgrind version
> 
> rebecca at YuanWork:~/soft$ valgrind --version
> valgrind-3.5.0
> 
> When I check at
> http://valgrind.org/
> 
> the current release is 3.5.0. How could you get 3.6?

Are you using your own install of valgrind? [and not ubuntu install?]
If so - did you reinstall it after your OS upgrade?

Looks like valgrind packaged by ubuntu/debian is an SVN snapshot of upcoming 3.6

>>>>>>>>
balay at petsc:~ $ dpkg -l valgrind
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  valgrind               1:3.6.0~svn20100212-0u A memory debugger and profiler
balay at petsc:~ $ 
<<<<<<<

So your choice is to either:

1. install ubuntu valgrind [sudo apt-get install valgrind] - and delete personal copy
2. reinstall valgrind from source [for this upgraded OS]


Satish



More information about the petsc-users mailing list