aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpich2.rb
diff options
context:
space:
mode:
authorMike Steder2012-02-16 10:26:16 -0600
committerAdam Vandenberg2012-05-16 07:02:20 -0700
commit69231eb23c6ed1e3b391126e3788f4254bc7e269 (patch)
treef12753ce15388d1473da6854946ad66017db3ced /Library/Formula/mpich2.rb
parent3222ca143e804d689ea3508d7917d17f17882b15 (diff)
downloadhomebrew-69231eb23c6ed1e3b391126e3788f4254bc7e269.tar.bz2
MPICH2 1.4.1p1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mpich2.rb')
-rw-r--r--Library/Formula/mpich2.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb
new file mode 100644
index 000000000..d03750a68
--- /dev/null
+++ b/Library/Formula/mpich2.rb
@@ -0,0 +1,26 @@
+require 'formula'
+
+class Mpich2 < Formula
+ homepage 'http://www.mcs.anl.gov/research/projects/mpich2/index.php'
+ url 'http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.4.1p1/mpich2-1.4.1p1.tar.gz'
+ version '1.4.1p1'
+ md5 'b470666749bcb4a0449a072a18e2c204'
+
+ def install
+ system "./configure", "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--disable-f77",
+ "--disable-fc",
+ "--with-device=ch3:nemesis",
+ "--enable-shared"
+ system "make"
+ system "make install"
+ end
+
+ def caveats; <<-EOS.undent
+ Please be aware that installing this formula along with the OpenMPI
+ formula will cause neither MPI installation to work correctly as
+ both packages install their own versions of mpicc/mpicxx and mpirun.
+ EOS
+ end
+end