Below are approaches that I would suggest if you want to go for the local solution:
1. Use brewlinux to install mumps. I assume brew will pull all required dependencies. This approach works well for me in different servers. 2. Compile mumps and it dependencies locally. You need to play around with cmake or ccmake path setup so that mumps can use locally installed libraries. This solution allow you to try new compilers and libraries, however, you will have to maintain your build scripts. I have not tried mumps before so I cannot give you detail information. HTH Hung On Thu, Nov 23, 2017 at 12:14 PM, Helmut Jarausch <jarau...@skynet.be> wrote: > On 11/23/2017 06:07:39 PM, Hung Dang wrote: > >> Is this possible to install your packages locally in your home folder? >> This >> approach works better if you have to work on different machines. >> >> HTH >> Hung >> > > Yes, but how does this help. Cmake doesn't link to libscalapack and > therefore fails. > > >> On Thu, Nov 23, 2017 at 12:01 PM, Helmut Jarausch <_ j_ a_ r_ a_ u_ s_ >> c_ h_ @_ s_ k_ y_ n_ e_ t_ ._ b_ e> >> wrote: >> Hi, >> >> cmake is still a mystery to me. >> >> I like to add a? (non-Gentoo) package to my local overlay. >> This package is configured and built by 'cmake' >> >> It needs and finds a package 'mumps' (from the Science Overlay) >> but linkage fails since the 'mumps' library needs another library >> (scalapack) >> >> So, how can I "tell" 'cmake' to link to libscalapack (there >> is a >> /usr/lib64/pkgconfig/refscalapack.pc file on my machine) >> >> But 'sci-libs/mumps' doesn't install a pkg-config file. >> >> I have done 'grep' through all CMakeLists.txt files, >> but I have no idea where the 'mumps' library is included. >> >> I'd be grateful to any hints and links (for 'cmake' dummies) >> >> Helmut >> >> >> >> > >