Discussion:
[OMPI users] Erors and segmentation faults when installing openmpi-2.1
Dimitrova, Maria
2017-03-23 09:38:58 UTC
Permalink
Hello,


I am setting up a freshly installed Ubuntu 16.04 computer to do some parallel programming and I need the MPI compilers for C and Fortran. Using the provided tar archive in the download page produces a series of errors (a very long list because I tried running make all many times but I can attach it if necessary). Instead, I tried just "sudo apt install libmpich-dev" but again a segmentation fault came up:

Get:4 http://www.nic.funet.fi/pub/mirrors/archive.ubuntu.com xenial/universe amd64 mpich amd64 3.2-6build1 [197 kB]
Fetched 2 427 kB in 0s (4 238 kB/s)
Selecting previously unselected package hwloc-nox.
(Reading database ... 212998 files and directories currently installed.)
Preparing to unpack .../hwloc-nox_1.11.2-3_amd64.deb ...
Unpacking hwloc-nox (1.11.2-3) ...
Selecting previously unselected package libmpich12:amd64.
Preparing to unpack .../libmpich12_3.2-6build1_amd64.deb ...
Unpacking libmpich12:amd64 (3.2-6build1) ...
Selecting previously unselected package libmpich-dev.
Preparing to unpack .../libmpich-dev_3.2-6build1_amd64.deb ...
Unpacking libmpich-dev (3.2-6build1) ...
Selecting previously unselected package mpich.
Preparing to unpack .../mpich_3.2-6build1_amd64.deb ...
Unpacking mpich (3.2-6build1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Setting up openmpi (2.1.0-2) ...
chown: invalid user: ‘jsquyres:named’
chown: invalid user: ‘jsquyres:named’
dpkg: error processing package openmpi (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up hwloc-nox (1.11.2-3) ...
Setting up libmpich12:amd64 (3.2-6build1) ...
Setting up libmpich-dev (3.2-6build1) ...
update-alternatives: using /usr/include/mpich to provide /usr/include/mpi (mpi) in auto mode
Setting up mpich (3.2-6build1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
openmpi


I suspect that the problem does not originate specifically from Open MPI but so far other packages that I installed have been functioning properly. Could you suggest some solution? Thank you in advance.



Best regards,

Maria
Jeff Squyres (jsquyres)
2017-03-23 09:44:09 UTC
Permalink
Note that Open MPI and MPICH are different implementations of the MPI specification.

If you are mixing an Open MPI tarball install with an MPICH apt install, things will likely go downhill from there.

You need to ensure to use Open MPI *or* MPICH.
Post by Dimitrova, Maria
Hello,
Get:4 http://www.nic.funet.fi/pub/mirrors/archive.ubuntu.com xenial/universe amd64 mpich amd64 3.2-6build1 [197 kB]
Fetched 2 427 kB in 0s (4 238 kB/s)
Selecting previously unselected package hwloc-nox.
(Reading database ... 212998 files and directories currently installed.)
Preparing to unpack .../hwloc-nox_1.11.2-3_amd64.deb ...
Unpacking hwloc-nox (1.11.2-3) ...
Selecting previously unselected package libmpich12:amd64.
Preparing to unpack .../libmpich12_3.2-6build1_amd64.deb ...
Unpacking libmpich12:amd64 (3.2-6build1) ...
Selecting previously unselected package libmpich-dev.
Preparing to unpack .../libmpich-dev_3.2-6build1_amd64.deb ...
Unpacking libmpich-dev (3.2-6build1) ...
Selecting previously unselected package mpich.
Preparing to unpack .../mpich_3.2-6build1_amd64.deb ...
Unpacking mpich (3.2-6build1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Setting up openmpi (2.1.0-2) ...
chown: invalid user: ‘jsquyres:named’
chown: invalid user: ‘jsquyres:named’
subprocess installed post-installation script returned error exit status 1
Setting up hwloc-nox (1.11.2-3) ...
Setting up libmpich12:amd64 (3.2-6build1) ...
Setting up libmpich-dev (3.2-6build1) ...
update-alternatives: using /usr/include/mpich to provide /usr/include/mpi (mpi) in auto mode
Setting up mpich (3.2-6build1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
openmpi
I suspect that the problem does not originate specifically from Open MPI but so far other packages that I installed have been functioning properly. Could you suggest some solution? Thank you in advance.
Best regards,
Maria
_______________________________________________
users mailing list
https://rfd.newmexicoconsortium.org/mailman/listinfo/users
--
Jeff Squyres
***@cisco.com

Loading...