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: Tue, 29 Jul 2014 15:05:27
Message-Id: CAHV2F1K30gtpaPnYsBxaZdy=BSbPa+CsB5tiEAej1YR9RdqFQw@mail.gmail.com
In Reply to: Re: [gentoo-science] petsc-3.5.1, missing fortran includes by "Justin (jlec)"
1 2014-07-29 16:20 GMT+0200, Justin (jlec) <jlec@g.o>:
2 > On 29/07/14 15:43, marco restelli wrote:
3 >> Hi all,
4 >> I notice that petsc-3.5.1.ebuild does not install some include
5 >> files which are useful when using the fortran interface of PETSC; for
6 >> me the problem is solved adding
7 >>
8 >> 191a192,196
9 >>> doins include/finclude/*.h90
10 >>> insinto /usr/include/${PN}/finclude/ftn-auto
11 >>> doins include/finclude/ftn-auto/*
12 >>> insinto /usr/include/${PN}/finclude/ftn-custom
13 >>> doins include/finclude/ftn-custom/*
14 >>
15 >> Regards,
16 >> Marco
17 >>
18 >
19 > Hi Marco,
20 >
21 > do you like to send us a pull request over github?
22
23 Hi Justin,
24 OK, how exactly does it work?
25
26 Another thing: I see now that, while the previous ebuild (petsc-3.4.2)
27 was installing the library /usr/lib64/libpetsc.so , the new one is
28 creating a symbolic link
29
30 /usr/lib64/libpetsc.so -> libpetsc.so.3.5.1
31
32 and there is no libpetsc.so.3.5.1. I am using these options:
33
34 USE="X cxx debug doc fortran hdf5 hypre mpi mumps scotch sparse
35 threads -afterimage -boost -complex-scalars -fftw -superlu"
36
37 Am I doing something wrong?
38
39 Thank you,
40 Marco

Replies

Subject Author
Re: [gentoo-science] petsc-3.5.1, missing fortran includes marco restelli <mrestelli@×××××.com>