1 |
Below are approaches that I would suggest if you want to go for the local |
2 |
solution: |
3 |
|
4 |
1. Use brewlinux to install mumps. I assume brew will pull all required |
5 |
dependencies. This approach works well for me in different servers. |
6 |
|
7 |
2. Compile mumps and it dependencies locally. You need to play around with |
8 |
cmake or ccmake path setup so that mumps can use locally installed |
9 |
libraries. This solution allow you to try new compilers and libraries, |
10 |
however, you will have to maintain your build scripts. I have not tried |
11 |
mumps before so I cannot give you detail information. |
12 |
|
13 |
HTH |
14 |
Hung |
15 |
|
16 |
On Thu, Nov 23, 2017 at 12:14 PM, Helmut Jarausch <jarausch@××××××.be> |
17 |
wrote: |
18 |
|
19 |
> On 11/23/2017 06:07:39 PM, Hung Dang wrote: |
20 |
> |
21 |
>> Is this possible to install your packages locally in your home folder? |
22 |
>> This |
23 |
>> approach works better if you have to work on different machines. |
24 |
>> |
25 |
>> HTH |
26 |
>> Hung |
27 |
>> |
28 |
> |
29 |
> Yes, but how does this help. Cmake doesn't link to libscalapack and |
30 |
> therefore fails. |
31 |
> |
32 |
> |
33 |
>> On Thu, Nov 23, 2017 at 12:01 PM, Helmut Jarausch <_ j_ a_ r_ a_ u_ s_ |
34 |
>> c_ h_ @_ s_ k_ y_ n_ e_ t_ ._ b_ e> |
35 |
>> wrote: |
36 |
>> Hi, |
37 |
>> |
38 |
>> cmake is still a mystery to me. |
39 |
>> |
40 |
>> I like to add a? (non-Gentoo) package to my local overlay. |
41 |
>> This package is configured and built by 'cmake' |
42 |
>> |
43 |
>> It needs and finds a package 'mumps' (from the Science Overlay) |
44 |
>> but linkage fails since the 'mumps' library needs another library |
45 |
>> (scalapack) |
46 |
>> |
47 |
>> So, how can I "tell" 'cmake' to link to libscalapack (there |
48 |
>> is a |
49 |
>> /usr/lib64/pkgconfig/refscalapack.pc file on my machine) |
50 |
>> |
51 |
>> But 'sci-libs/mumps' doesn't install a pkg-config file. |
52 |
>> |
53 |
>> I have done 'grep' through all CMakeLists.txt files, |
54 |
>> but I have no idea where the 'mumps' library is included. |
55 |
>> |
56 |
>> I'd be grateful to any hints and links (for 'cmake' dummies) |
57 |
>> |
58 |
>> Helmut |
59 |
>> |
60 |
>> |
61 |
>> |
62 |
>> |
63 |
> |
64 |
> |