[petsc-users] install petsc with valgrind
Sun, Hui
hus003 at ucsd.edu
Fri Apr 17 16:55:35 CDT 2015
Thank you, Matt and Barry. I was trying to run the following:
-@${PETSC_DIR}/bin/petscmpiexec -valgrind -n ${NP} ./test -mx ${ND} -my ${ND} -mz ${ND} -ksp_monitor_short -ksp_type fgmres -pc_type asm
where NP=2, ND=32
And in the makefile I have specified the following:
include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules
include ${PETSC_DIR}/lib/petsc/conf/test
Best,
Hui
________________________________________
From: Barry Smith [bsmith at mcs.anl.gov]
Sent: Friday, April 17, 2015 2:50 PM
To: Sun, Hui
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] install petsc with valgrind
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