[petsc-users] install petsc with valgrind

Barry Smith bsmith at mcs.anl.gov
Fri Apr 17 16:50:16 CDT 2015


  Please please please always show WHAT YOU RAN with the error message. Otherwise we just must guess


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



More information about the petsc-users mailing list