> On Apr 28, 2017, at 4:46pm, Satish Balay <[email protected]> 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 <[email protected]>
Department of Engineering
University Roma Tre
https://fmilicchio.bitbucket.io/