* [gentoo-science] petsc-3.5.1, missing fortran includes
@ 2014-07-29 13:43 marco restelli
2014-07-29 14:20 ` Justin (jlec)
0 siblings, 1 reply; 4+ messages in thread
From: marco restelli @ 2014-07-29 13:43 UTC (permalink / raw
To: Gentoo Science List
Hi all,
I notice that petsc-3.5.1.ebuild does not install some include
files which are useful when using the fortran interface of PETSC; for
me the problem is solved adding
191a192,196
> doins include/finclude/*.h90
> insinto /usr/include/${PN}/finclude/ftn-auto
> doins include/finclude/ftn-auto/*
> insinto /usr/include/${PN}/finclude/ftn-custom
> doins include/finclude/ftn-custom/*
Regards,
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] petsc-3.5.1, missing fortran includes
2014-07-29 13:43 [gentoo-science] petsc-3.5.1, missing fortran includes marco restelli
@ 2014-07-29 14:20 ` Justin (jlec)
2014-07-29 15:05 ` marco restelli
0 siblings, 1 reply; 4+ messages in thread
From: Justin (jlec) @ 2014-07-29 14:20 UTC (permalink / raw
To: gentoo-science
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
On 29/07/14 15:43, marco restelli wrote:
> Hi all,
> I notice that petsc-3.5.1.ebuild does not install some include
> files which are useful when using the fortran interface of PETSC; for
> me the problem is solved adding
>
> 191a192,196
>> doins include/finclude/*.h90
>> insinto /usr/include/${PN}/finclude/ftn-auto
>> doins include/finclude/ftn-auto/*
>> insinto /usr/include/${PN}/finclude/ftn-custom
>> doins include/finclude/ftn-custom/*
>
> Regards,
> Marco
>
Hi Marco,
do you like to send us a pull request over github?
Thanks,
Justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1016 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] petsc-3.5.1, missing fortran includes
2014-07-29 14:20 ` Justin (jlec)
@ 2014-07-29 15:05 ` marco restelli
2014-07-30 14:49 ` marco restelli
0 siblings, 1 reply; 4+ messages in thread
From: marco restelli @ 2014-07-29 15:05 UTC (permalink / raw
To: gentoo-science
2014-07-29 16:20 GMT+0200, Justin (jlec) <jlec@gentoo.org>:
> On 29/07/14 15:43, marco restelli wrote:
>> Hi all,
>> I notice that petsc-3.5.1.ebuild does not install some include
>> files which are useful when using the fortran interface of PETSC; for
>> me the problem is solved adding
>>
>> 191a192,196
>>> doins include/finclude/*.h90
>>> insinto /usr/include/${PN}/finclude/ftn-auto
>>> doins include/finclude/ftn-auto/*
>>> insinto /usr/include/${PN}/finclude/ftn-custom
>>> doins include/finclude/ftn-custom/*
>>
>> Regards,
>> Marco
>>
>
> Hi Marco,
>
> do you like to send us a pull request over github?
Hi Justin,
OK, how exactly does it work?
Another thing: I see now that, while the previous ebuild (petsc-3.4.2)
was installing the library /usr/lib64/libpetsc.so , the new one is
creating a symbolic link
/usr/lib64/libpetsc.so -> libpetsc.so.3.5.1
and there is no libpetsc.so.3.5.1. I am using these options:
USE="X cxx debug doc fortran hdf5 hypre mpi mumps scotch sparse
threads -afterimage -boost -complex-scalars -fftw -superlu"
Am I doing something wrong?
Thank you,
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-science] petsc-3.5.1, missing fortran includes
2014-07-29 15:05 ` marco restelli
@ 2014-07-30 14:49 ` marco restelli
0 siblings, 0 replies; 4+ messages in thread
From: marco restelli @ 2014-07-30 14:49 UTC (permalink / raw
To: gentoo-science
2014-07-29 17:05 GMT+0200, marco restelli <mrestelli@gmail.com>:
> 2014-07-29 16:20 GMT+0200, Justin (jlec) <jlec@gentoo.org>:
>> On 29/07/14 15:43, marco restelli wrote:
>>> Hi all,
>>> I notice that petsc-3.5.1.ebuild does not install some include
>>> files which are useful when using the fortran interface of PETSC; for
>>> me the problem is solved adding
>>>
>>> 191a192,196
>>>> doins include/finclude/*.h90
>>>> insinto /usr/include/${PN}/finclude/ftn-auto
>>>> doins include/finclude/ftn-auto/*
>>>> insinto /usr/include/${PN}/finclude/ftn-custom
>>>> doins include/finclude/ftn-custom/*
>>>
>>> Regards,
>>> Marco
>>>
>>
>> Hi Marco,
>>
>> do you like to send us a pull request over github?
>
> Hi Justin,
> OK, how exactly does it work?
>
> Another thing: I see now that, while the previous ebuild (petsc-3.4.2)
> was installing the library /usr/lib64/libpetsc.so , the new one is
> creating a symbolic link
>
> /usr/lib64/libpetsc.so -> libpetsc.so.3.5.1
>
> and there is no libpetsc.so.3.5.1. I am using these options:
Hi Justin,
I have created the pull request, it should solve both problems with
the include files and with the .so libraries.
Regards,
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-30 14:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 13:43 [gentoo-science] petsc-3.5.1, missing fortran includes marco restelli
2014-07-29 14:20 ` Justin (jlec)
2014-07-29 15:05 ` marco restelli
2014-07-30 14:49 ` marco restelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox