[petsc-users] [SLEPc] record against which PETSc installation it was compiled
Jose E. Roman
jroman at dsic.upv.es
Tue Mar 1 11:52:15 CST 2016
> El 29 feb 2016, a las 17:58, Denis Davydov <davydden at gmail.com> escribió:
>
>
>
>> On 29 Feb 2016, at 18:50, Jose E. Roman <jroman at dsic.upv.es> wrote:
>>
>>
>>> El 29 feb 2016, a las 7:45, Denis Davydov <davydden at gmail.com> escribió:
>>>
>>> Dear all,
>>>
>>> It would be good if SLEPc would store a location of PETSc used during the build in some
>>> config file, e.g. `slepcconf.h`, so that this information could be retrieved by external libraries (e.g. deal.ii)
>>> to prevent configuring with PETSc and SLEPc while SLEPc was linking to a different PETSc installation.
>>> See the discussion here https://github.com/dealii/dealii/issues/2167
>>>
>>> Kind regards,
>>> Denis
>>>
>>
>> I have added this:
>> https://bitbucket.org/slepc/slepc/branch/jose/configure
>>
>> However, I am not totally convinced of this change, because PETSC_DIR is then defined both in petscconf.h and slepcconf.h, so behaviour could change depending on whether user code includes one or the other in the first place.
>
> Thanks a lot, Jose.
> As an alternative one could call it PETSC_DIR_IN_SLEPC or alike, so that the two are different.
Ok. I changed it to SLEPC_PETSC_DIR.
Jose
>
> Regards,
> Denis.
>
>>
>> I will test this further before merging into master.
>>
>> Jose
More information about the petsc-users
mailing list