<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/31/14 10:43, Karl Rupp wrote:<br>
</div>
<blockquote cite="mid:53DA01C9.6000402@iue.tuwien.ac.at" type="cite">Hi,
<br>
<br>
<br>
> Another crash when using ex2 (src/ksp/ksp/examples/tutorials)
in
<br>
<blockquote type="cite">parallel on GPU, when playing with
<br>
precondtionners:
<br>
<br>
mpiexec -np 1 ./ex2 -ksp_type cg -m 10 -n 10 -pc_type bjacobi
<br>
-sub_pc_type jacobi
<br>
Norm of error 5.71895e-06 iterations 14
<br>
mpiexec -np 1 ./ex2 -ksp_type cg -m 10 -n 10 -pc_type bjacobi
<br>
-sub_pc_type jacobi -mat_type aijcusp -vec_type cusp
<br>
Norm of error 5.71895e-06 iterations 14
<br>
mpiexec -np 2 ./ex2 -ksp_type cg -m 10 -n 10 -pc_type bjacobi
<br>
-sub_pc_type jacobi
<br>
Norm of error 5.71895e-06 iterations 14
<br>
mpiexec -np 2 ./ex2 -ksp_type cg -m 10 -n 10 -pc_type bjacobi
<br>
-sub_pc_type jacobi -mat_type aijcusp -vec_type cusp
<br>
[0]PETSC ERROR:
<br>
------------------------------------------------------------------------
<br>
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation
Violation,
<br>
probably memory access out of range
<br>
[0]PETSC ERROR: Try option -start_in_debugger or
-on_error_attach_debugger
<br>
[0]PETSC ERROR: or see
<br>
<a class="moz-txt-link-freetext" href="http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind">http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind</a>[0]PETSC
<br>
ERROR: or try <a class="moz-txt-link-freetext" href="http://valgrind.org">http://valgrind.org</a> on GNU/linux and Apple Mac OS
X to
<br>
find memory corruption errors
<br>
[0]PETSC ERROR: configure using --with-debugging=yes, recompile,
link,
<br>
and run
<br>
[0]PETSC ERROR: to get more information on the crash.
<br>
[0]PETSC ERROR: --------------------- Error Message
<br>
--------------------------------------------------------------
<br>
<br>
Whereas the last one should work exactly as:
<br>
mpiexec -np 2 ./ex2 -ksp_type cg -m 10 -n 10 -pc_type jacobi
-mat_type
<br>
aijcusp -vec_type cusp<br>
Norm of error 5.71895e-06 iterations 14
<br>
<br>
Or I miss something ?
<br>
</blockquote>
<br>
this is a known problem with block-jacobi for which Dominic
created a pull request here:
<br>
<a class="moz-txt-link-freetext" href="https://bitbucket.org/petsc/petsc/pull-request/178/make-cusp-and-cusparse-solver-packages">https://bitbucket.org/petsc/petsc/pull-request/178/make-cusp-and-cusparse-solver-packages</a>
<br>
<br>
I was talking to Dominic yesterday and we plan to get the series
of GPU-related pull requests merged into next and master within
the next couple of days. If it's urgent, please try that feature
branch in the meanwhile.
<br>
<br>
Best regards,
<br>
Karli
<br>
<br>
</blockquote>
Great, many thanks, I will wait and test in master branch when
Dominic's work will be pushed.<br>
<br>
Pierre<br>
<br>
<div class="moz-signature">-- <br>
<b>Trio_U support team</b>
<br>
Marthe ROUX (01 69 08 00 02) Saclay
<br>
Pierre LEDAC (04 38 78 91 49) Grenoble
</div>
</body>
</html>