Thank you Barry. I just have it installed. And I was running a code, and got the following error message:
HYDU_create_process (utils/launch/launch.c:75): execvp error on file valgrind: (No such file or directory) =================================================================================== = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES = PID 66059 RUNNING AT math178.ucsd.edu = EXIT CODE: 255 = CLEANING UP REMAINING PROCESSES = YOU CAN IGNORE THE BELOW CLEANUP MESSAGES =================================================================================== What does this mean? Best, Hui ________________________________________ From: Barry Smith [[email protected]] Sent: Friday, April 17, 2015 1:08 PM To: Sun, Hui Cc: [email protected] Subject: Re: [petsc-users] install petsc with valgrind The development copy of PETSc allows using --prefix with MPICH http://www.mcs.anl.gov/petsc/developers/index.html > On Apr 17, 2015, at 2:38 PM, Sun, Hui <[email protected]> wrote: > > Hello, > > I want to install petsc with valgrind. And I read some documentations, which > suggests me to do > ./configure --download-mpich --with-valgind-dir=… > > However, I also want to specify --prefix, but petsc doesn't allow me, because > --download-mpich option does not work with --prefix install. > > Is there anyway that I can have petsc --prefix, together with valgrind? > > Best, > Hui
