[petsc-users] Using ViennaCL without recompiling
Franco Milicchio
fmilicchio at me.com
Sat Apr 29 01:14:42 CDT 2017
> On Apr 28, 2017, at 4:46pm, Satish Balay <balay at mcs.anl.gov> wrote:
>
> On Fri, 28 Apr 2017, Franco Milicchio wrote:
>
>>
>>> Not recompiling your own project is fine. PETSc has an ABI. You just reconfigure/recompile PETSc with
>>> ViennaCL support. Then you can use -mat_type viennacl etc.
>>
>> Thanks for your answer, Matt, but I expressed myself in an ambiguous way.
>>
>> I cannot recompile PETSc, I can do whatever I want with my code.
>
> You can always install PETSc.
>
> If you don't have write permission to the install you are currently
> using - you can start with a fresh tarball [of the same version], use
> reconfigure*.py from the current install to configure - and install
> your own copy [obviously at a different location.
Thanks, Satish.
As I understand, you are suggesting to just substitute PETSc at linking level with my ViennaCL-enabled library, and it should work “flawlessly”? (the milage may vary, obviously)
This would be a huge gain to the project.
Thanks,
Franco
/fm
--
Franco Milicchio <fmilicchio at me.com>
Department of Engineering
University Roma Tre
https://fmilicchio.bitbucket.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170429/e8165f36/attachment.html>
More information about the petsc-users
mailing list