You are not logged in.

#1 2013-10-29 16:46:26

piwwo
Member
Registered: 2013-05-15
Posts: 35

Can not install OpenMPI

Hello

I want to use openmpi for a build but I can not install it because it wants to download 216MB onto my server

# pacman -S openmpi
resolving dependencies...
:: There are 3 providers available for libgl:
:: Repository extra
   1) mesa-libgl  2) nvidia-304xx-utils  3) nvidia-libgl

Enter a number (default=1): 1
looking for inter-conflicts...

Packages (41): cairo-1.12.16-1  damageproto-1.2.1-2  dnssec-anchors-20130320-1
               elfutils-0.156-2  fixesproto-5.0-2  fontconfig-2.11.0-1
               freetype2-2.5.0.1-2  gcc-fortran-4.8.2-3  hwloc-1.7.2-1
               kbproto-1.0.6-1  keyutils-1.5.5-5  krb5-1.11.3-1  ldns-1.6.16-1
               libdrm-2.4.47-1  libedit-20130601_3.1-1  libpciaccess-0.13.2-2
               libpng-1.6.6-1  libvdpau-0.7-1  libx11-1.6.2-1  libxau-1.0.8-2
               libxcb-1.9.1-2  libxdamage-1.1.4-1  libxdmcp-1.1.1-1
               libxext-1.3.2-1  libxfixes-5.0.1-1  libxml2-2.9.1-3
               libxrender-0.9.8-1  libxxf86vm-1.1.3-1  llvm-libs-3.3-1
               mesa-9.2.2-1  mesa-libgl-9.2.2-1  openssh-6.3p1-1
               pixman-0.30.2-1  renderproto-0.11.1-2  valgrind-3.8.1-4
               wayland-1.3.0-1  xcb-proto-1.8-2  xextproto-7.2.1-1
               xf86vidmodeproto-2.3.1-2  xproto-7.0.24-1  openmpi-1.6.5-1

Total Download Size:    37.44 MiB
Total Installed Size:   216.00 MiB

:: Proceed with installation? [Y/n] ^C
Interrupt signal received

Why the heck is it trying to install wayland and all the graphic crap?

Offline

#2 2013-10-29 16:52:57

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: Can not install OpenMPI

Openmpi depends on hwloc, which in turn depends on cairo, which pulls in mesa and tons of other stuff. And it doesn't download 216MB, just 37.

Last edited by kaszak696 (2013-10-29 16:53:34)


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2013-10-29 16:54:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Can not install OpenMPI

Because it requires hwlock, which requires cairo. If you don't want all of that, I'd first check to see if you could build hwlock without cairo.

Offline

#4 2013-10-29 17:01:09

piwwo
Member
Registered: 2013-05-15
Posts: 35

Re: Can not install OpenMPI

Scimmia wrote:

Because it requires hwlock, which requires cairo. If you don't want all of that, I'd first check to see if you could build hwlock without cairo.

Hmm...how could I do that? Build from source?

Offline

#5 2013-10-29 17:03:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Can not install OpenMPI

piwwo wrote:
Scimmia wrote:

Because it requires hwlock, which requires cairo. If you don't want all of that, I'd first check to see if you could build hwlock without cairo.

Hmm...how could I do that? Build from source?

Yup.
Edit the PKGBUILD https://projects.archlinux.org/svntogit … es/openmpi
You have to remove the '--with-hwloc=/usr \' and hwloc from the dependencies.

Offline

#6 2013-10-29 17:07:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Can not install OpenMPI

Or use hwloc (use ABS) and don't use cairo:

hwloc's configure script wrote:

  --disable-cairo         Disable the Cairo back-end of hwloc's lstopo command


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB