blob: d03750a68b34aaa7389a6cd90cfb0d777e477b58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
|