Gentoo Archives: gentoo-science

From: marco restelli <mrestelli@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] petsc-3.5.1, missing fortran includes
Date: Wed, 30 Jul 2014 14:49:34
Message-Id: CAHV2F1Ly81L+z1zUQfrat0yVy5uGp6mJHXjfCmDocQsKb=pu7g@mail.gmail.com
In Reply to: Re: [gentoo-science] petsc-3.5.1, missing fortran includes by marco restelli
1 2014-07-29 17:05 GMT+0200, marco restelli <mrestelli@×××××.com>:
2 > 2014-07-29 16:20 GMT+0200, Justin (jlec) <jlec@g.o>:
3 >> On 29/07/14 15:43, marco restelli wrote:
4 >>> Hi all,
5 >>> I notice that petsc-3.5.1.ebuild does not install some include
6 >>> files which are useful when using the fortran interface of PETSC; for
7 >>> me the problem is solved adding
8 >>>
9 >>> 191a192,196
10 >>>> doins include/finclude/*.h90
11 >>>> insinto /usr/include/${PN}/finclude/ftn-auto
12 >>>> doins include/finclude/ftn-auto/*
13 >>>> insinto /usr/include/${PN}/finclude/ftn-custom
14 >>>> doins include/finclude/ftn-custom/*
15 >>>
16 >>> Regards,
17 >>> Marco
18 >>>
19 >>
20 >> Hi Marco,
21 >>
22 >> do you like to send us a pull request over github?
23 >
24 > Hi Justin,
25 > OK, how exactly does it work?
26 >
27 > Another thing: I see now that, while the previous ebuild (petsc-3.4.2)
28 > was installing the library /usr/lib64/libpetsc.so , the new one is
29 > creating a symbolic link
30 >
31 > /usr/lib64/libpetsc.so -> libpetsc.so.3.5.1
32 >
33 > and there is no libpetsc.so.3.5.1. I am using these options:
34
35 Hi Justin,
36 I have created the pull request, it should solve both problems with
37 the include files and with the .so libraries.
38
39 Regards,
40 Marco