Mpich2 version 1.0.8 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 1.0.8

      View the most recent changes for the mpich2 port at: mpich2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mpich2.
      The raw portfile for mpich2 1.0.8 is located here:
      http://mpich2.darwinports.com/dports/science/mpich2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mpich2


      The mpich2 Portfile 57273 2009-09-08 15:00:42Z macsforever2000 macports.org $

      PortSystem 1.0
      Name: mpich2
      Version: 1.0.8
      Category: science parallel net
      Platform: darwin
      Maintainers: nomaintainer
      Description: Message Passing Interface (MPI) Library
      Long Description: MPICH2 is an implementation of the Message-Passing Interface (MPI). The goals of MPICH2 are to provide an MPI implementation for important platforms, including clusters, SMPs, and massively parallel processors. It also provides a vehicle for MPI implementation research and for developing new and better parallel programming environments.

      Homepage: http://www-unix.mcs.anl.gov/mpi/mpich2/
      Master Sites: http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/${version}/
      Checksums: md5 d9dfb6e38d7ca6f8ad92a191a413ee57 sha1 41d6f6ce1034ecec5c14fb03592730ae2dd071e5 rmd160 646cf50fbdc60a49809f4d0a6bcaf2835844db1f
      Patch Files: patch-Makefile.in patch-src-util-createshlib.in

      depends_lib port:python25

      # the default include-dir conflicts with openmpi!
      configure.args --with-thread-package=posix --enable-timer-type=gettimeofday --enable-cxx --mandir=${prefix}/share/man --with-htmldir=${prefix}/share/doc/${name} --includedir=${prefix}/include/${name} --with-docdir=${prefix}/share/doc/${name} --with-python=${prefix}/bin/python2.5 --disable-f77 --disable-f90

      use_parallel_build no

      Variant: g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gfortran {
      depends_lib-append port:g95
      configure.f77 "${prefix}/bin/g95"
      configure.fflags "-i4"
      configure.f90 "${prefix}/bin/g95"
      configure.f90flags "-i4"
      configure.args-append --enable-f77 --enable-f90
      }

      Variant: gfortran description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 {
      depends_lib-append port:gcc43
      configure.f77 "${prefix}/bin/gfortran-mp-4.3"
      configure.f90 "${prefix}/bin/gfortran-mp-4.3"
      configure.args-append --enable-f77 --enable-f90
      }

      Variant: gforker description {Use gforker process manager instead of the default mpd} {
      configure.args-append --with-pm=gforker
      }

      platform darwin {
      configure.args-append --enable-sharedlibs=osx-gcc
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/mpich2
      % sudo port install mpich2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching mpich2
      ---> Verifying checksum for mpich2
      ---> Extracting mpich2
      ---> Configuring mpich2
      ---> Building mpich2 with target all
      ---> Staging mpich2 into destroot
      ---> Installing mpich2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using mpich2 with these commands:
      %  man mpich2
      % apropos mpich2
      % which mpich2
      % locate mpich2

     Where to find more information:

    Darwin Ports



    Lightbox this page.