[petsc-users] install petsc with valgrind

Matthew Knepley knepley at gmail.com
Fri Apr 17 16:31:54 CDT 2015


On Fri, Apr 17, 2015 at 3:58 PM, Sun, Hui <hus003 at ucsd.edu> wrote:

> 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?
>

It appears that you are trying to run mpiexec valgrind and it cannot find
the valgrind executable.

   Matt


> Best,
> Hui
>
> ________________________________________
> From: Barry Smith [bsmith at mcs.anl.gov]
> Sent: Friday, April 17, 2015 1:08 PM
> To: Sun, Hui
> Cc: petsc-users at mcs.anl.gov
> 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 <hus003 at ucsd.edu> 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
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150417/803e34bc/attachment-0001.html>


More information about the petsc-users mailing list