Package Details: mpich 3.4a2-1

Git Clone URL: (read-only, click to copy)
Package Base: mpich
Description: An improved implementation of the Message Passing Interface.
Upstream URL:
Licenses: custom
Replaces: mpich2
Submitter: jedbrown
Maintainer: jedbrown
Last Packager: jedbrown
Votes: 85
Popularity: 0.30
First Submitted: 2012-12-31 21:25
Last Updated: 2020-06-06 04:10

Dependencies (8)

Sources (2)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

wcdawn commented on 2020-06-11 19:36

I just compiled successfully. Fortran seems to be working now.

deep_thought commented on 2020-05-18 07:55

This fails to build - probably due to gcc-fortran 10.1.0:

checking whether gfortran allows mismatched arguments... no configure: error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.

(The same holds for mpich2)

regards, deep_thought

polarathene commented on 2018-06-29 09:02

Build failing due to error "strncmp is required"? How to resolve?

In file included from ../../../src/mpl/include/mpl.h:111, from ../../../src/mpl/src/mpltrmem.c:16: ../../../src/mpl/include/mplstr.h:48:2: error: #error "strncmp is required" #error "strncmp is required" ^~~~~ In file included from ../../../src/mpl/include/mpl.h:111, from ../../../src/mpl/src/mplenv.c:7: ../../../src/mpl/include/mplstr.h:48:2: error: #error "strncmp is required" #error "strncmp is required" ^~~~~ ../../../src/mpl/src/mpltrmem.c:36:12: error: conflicting types for ‘free’ extern int free(void ); ^~~~ In file included from ../../../src/mpl/include/mpl.h:111, from ../../../src/mpl/src/mplmsg.c:7: ../../../src/mpl/include/mplstr.h:48:2: error: #error "strncmp is required" #error "strncmp is required" ^~~~~ In file included from ../../../src/mpl/include/mpl.h:13, from ../../../src/mpl/src/mpltrmem.c:16: /usr/include/stdlib.h:563:13: note: previous declaration of ‘free’ was here extern void free (void ptr) THROW; ^~~~ In file included from ../../../src/mpl/include/mpl.h:111, from ../../../src/mpl/src/mplstr.c:7: ../../../src/mpl/include/mplstr.h:48:2: error: #error "strncmp is required" #error "strncmp is required" ^~~~~ ../../../src/mpl/src/mplenv.c: In function ‘MPL_env2range’: ../../../src/mpl/src/mplenv.c:21:22: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] while (p && isspace(p)) ^~~~~~~ ../../../src/mpl/src/mplenv.c:23:22: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] while (p && isdigit(p)) ^~~~~~~ ../../../src/mpl/src/mplstr.c: In function ‘MPL_snprintf’: ../../../src/mpl/src/mplstr.c:41:17: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration] if (isdigit(nc)) { ^~~~~~~ make[2]: [Makefile:732: src/mplenv.lo] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [Makefile:732: src/mplmsg.lo] Error 1 make[2]: [Makefile:732: src/mpltrmem.lo] Error 1 make[2]: [Makefile:732: src/mplstr.lo] Error 1 make[2]: Leaving directory '/tmp/.cache/aur/mpich/src/mpich-3.2.1/build/src/mpl' make[1]: [Makefile:38608: all-recursive] Error 1 make[1]: Leaving directory '/tmp/.cache/aur/mpich/src/mpich-3.2.1/build' make: *** [Makefile:10337: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build mpich package(s)

jedbrown commented on 2018-05-10 03:51

@jbarnett Appending is intentional. Many people have both installed and /opt/mpich should not take precedence over /usr.

You should not need LD_LIBRARY_PATH because this package installs /etc/

Anonymous comment on 2018-04-21 14:10

For users who want to replace openmpi with mpich add "provides=('openmpi')" and "conflicts=('openmpi')" to your PKGBUILD. Also change "--prefix" to "/usr" in the configure part. Also remove any references to mpich.profile. Note that some packages may depend on openmpi libraries that mpich does not provide, so if you go this route you would need to rebuild them. For example, I had to rebuild arpack against mpich.

I'm also unsure if "--with-python" does anything. I can't find any documentation on that configure flag.

Anonymous comment on 2018-02-24 20:42

mpich.profile is incomplete. You are actually appending (not prepending) the mpich path to PATH. So if you have openmpi installed as well, then its executable is found first. If you have trouble with libraries not being found, you need to set LD_LIBRARY_PATH in the profile.

Archange commented on 2018-02-08 14:23

I agree, though there have been huge progresses with the release of OpenMPI 3.0.

That being said I intend to provide both, but there is a lot of work toward that result. The easiest thing I could do currently is having both stacks (MPI + HDF, NetCDF, etc.) available but mutually exclusive. Would that suit everyone here?

We could still keep this package with a different name, like mpich-opt, for co-installability.

mizuchi commented on 2018-02-08 12:45

MPICH should be the default MPI provider in Arch, I guess. Many scientific applications poorly run with OpenMPI unlike MPICH.

jedbrown commented on 2016-05-02 18:13

@melkir The package provides /etc/profile.d/ to set the path. This is automatically executed by /etc/profile. I strongly discourage linking into /usr because it conflicts with openmpi and because it is not managed by the package manager. It sounds like you're executing your IDE in an environment that misses /etc/profile.

melkir commented on 2016-05-02 16:11

If you need to use mpich in your IDE you need to execute the following lines :
ln -sf /opt/mpich/lib/*.so /usr/lib/
ln -sf /opt/mpich/include/* /usr/include/
ln -sf /opt/mpich/bin/* /usr/local/bin/

If you prefer you can add to your path /opt/mpich/bin instead of linking /opt/mpich/bin to /usr/local/bin.

I don't know if there is a better way to do that but maybe something like that should be included in the installation process !