Modified solver routines cr.c, bcgs.c and bcgsl.c

Stephen R Ball Stephen.R.Ball at awe.co.uk
Mon Sep 22 09:54:56 CDT 2008


Hi

I thought it best to send this to petsc-dev rather than petsc-users.

One of our PETSc users has noticed that they obtain better performance
when they use the modified versions of solver routines cr.c, bcgs.c and
bcgsl.c attached.
In places they are using routines VecDotBegin()/VecDotEnd() instead of
VecDot() and VecNormBegin()/VecNormEnd() instead of VecNorm().

I am sending them to you so that you may test them with a view to you
possibly implementing them within PETSc if you find they improve
performance.

Regards

Stephen R. Ball
Advanced Technologies
HPC
DRAS
Rm: G17
Bldg: E1.1
AWE(A)
Aldermaston
Reading
Berkshire
ENGLAND
RG7 4PR
Tel: +44 (0)118 982 4528
e-mail: stephen.r.ball at awe.co.uk


 <<cr.c>>  <<bcgs.c>>  <<bcgsl.c>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cr.c
Type: application/octet-stream
Size: 6965 bytes
Desc: cr.c
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080922/623fb1e8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcgs.c
Type: application/octet-stream
Size: 5122 bytes
Desc: bcgs.c
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080922/623fb1e8/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcgsl.c
Type: application/octet-stream
Size: 17704 bytes
Desc: bcgsl.c
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20080922/623fb1e8/attachment-0002.obj>


More information about the petsc-dev mailing list