3 | | name openmpi |
4 | | version 1.2.6 |
5 | | categories science parallel net |
6 | | platforms darwin |
7 | | maintainers mww |
8 | | description A High Performance Message Passing Library |
9 | | long_description Open MPI is a project combining technologies and resources \ |
10 | | from several other projects (FT-MPI, LA-MPI, LAM/MPI, and \ |
11 | | PACX-MPI) in order to build the best MPI library available. A \ |
12 | | completely new MPI-2 compliant implementation, Open MPI offers \ |
13 | | advantages for system and software vendors, application developers \ |
14 | | and computer science researchers. |
| 4 | name openmpi |
| 5 | version 1.2.6 |
| 6 | categories science parallel net |
| 7 | platforms darwin |
| 8 | maintainers mww |
| 9 | description A High Performance Message Passing Library |
| 10 | long_description Open MPI is a project combining technologies and resources \ |
| 11 | from several other projects (FT-MPI, LA-MPI, LAM/MPI, and \ |
| 12 | PACX-MPI) in order to build the best MPI library available. A \ |
| 13 | completely new MPI-2 compliant implementation, Open MPI offers \ |
| 14 | advantages for system and software vendors, application developers \ |
| 15 | and computer science researchers. |
16 | | homepage http://www.open-mpi.org/ |
17 | | set subdir ompi/v1.2/downloads/ |
18 | | master_sites http://www.open-mpi.org/software/${subdir} \ |
19 | | http://www.open-mpi.de/software/${subdir} \ |
20 | | http://icl.cs.utk.edu/open-mpi/${subdir} \ |
21 | | freebsd |
22 | | checksums md5 f126793b68e71f5ec4a192c40675af2d \ |
23 | | sha1 b2960e2fd7432816cb70302a6b6c2f55fbd62cab |
24 | | use_bzip2 yes |
| 17 | homepage http://www.open-mpi.org/ |
| 18 | set subdir ompi/v1.2/downloads/ |
| 19 | master_sites http://www.open-mpi.org/software/${subdir} \ |
| 20 | http://www.open-mpi.de/software/${subdir} \ |
| 21 | http://icl.cs.utk.edu/open-mpi/${subdir} \ |
| 22 | freebsd |
| 23 | checksums md5 f126793b68e71f5ec4a192c40675af2d \ |
| 24 | sha1 b2960e2fd7432816cb70302a6b6c2f55fbd62cab |
| 25 | use_bzip2 yes |
28 | | configure.dir ${workpath}/build |
29 | | configure.cmd ${worksrcpath}/configure |
30 | | configure.args --disable-f77 --disable-f90 \ |
31 | | --with-xgrid \ |
32 | | --sysconfdir=${prefix}/etc/${name} \ |
33 | | --includedir=${prefix}/include/${name} \ |
34 | | --bindir=${prefix}/lib/${name}/bin \ |
35 | | --mandir=${prefix}/share/man |
| 29 | configure.dir ${workpath}/build |
| 30 | configure.cmd ${worksrcpath}/configure |
| 31 | configure.args --disable-f77 --disable-f90 \ |
| 32 | --with-xgrid \ |
| 33 | --sysconfdir=${prefix}/etc/${name} \ |
| 34 | --includedir=${prefix}/include/${name} \ |
| 35 | --bindir=${prefix}/lib/${name}/bin \ |
| 36 | --mandir=${prefix}/share/man |
42 | | foreach bin {mpirun mpiexec} { |
43 | | system "cd ${destroot}${prefix}/bin \ |
44 | | && ln -sf ${prefix}/lib/${name}/bin/orterun open${bin}" |
45 | | } |
46 | | foreach bin ${wrappers} { |
47 | | system "cd ${destroot}${prefix}/bin \ |
48 | | && ln -sf ${prefix}/lib/${name}/bin/opal_wrapper open${bin}" |
49 | | system "cd ${destroot}${prefix}/share/${name} \ |
50 | | && ln -sf ${prefix}/share/${name}/${bin}-wrapper-data.txt \ |
51 | | open${bin}-wrapper-data.txt" |
52 | | } |
| 43 | foreach bin {mpirun mpiexec} { |
| 44 | system "cd ${destroot}${prefix}/bin \ |
| 45 | && ln -sf ${prefix}/lib/${name}/bin/orterun open${bin}" |
| 46 | } |
| 47 | foreach bin ${wrappers} { |
| 48 | system "cd ${destroot}${prefix}/bin \ |
| 49 | && ln -sf ${prefix}/lib/${name}/bin/opal_wrapper open${bin}" |
| 50 | system "cd ${destroot}${prefix}/share/${name} \ |
| 51 | && ln -sf ${prefix}/share/${name}/${bin}-wrapper-data.txt \ |
| 52 | open${bin}-wrapper-data.txt" |
| 53 | } |
55 | | variant gcc42 description {build mpif77 and mpif90 using gcc42} conflicts gcc43 g95 { |
56 | | configure.args-delete --disable-f77 --disable-f90 |
57 | | configure.args-append --enable-f77 --enable-f90 |
58 | | configure.f77 ${prefix}/bin/gfortran-mp-4.2 |
59 | | configure.fc ${prefix}/bin/gfortran-mp-4.2 |
60 | | depends_lib-append port:gcc42 |
61 | | lappend wrappers mpif77 mpif90 |
| 56 | variant fortran description {build mpif77 and mpif90} conflicts gcc42 g95 { |
| 57 | if { ![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset g95] } { |
| 58 | default_variants +gcc43 |
| 59 | } |
| 60 | configure.args-delete --disable-f77 --disable-f90 |
| 61 | configure.args-append --enable-f77 --enable-f90 |
| 62 | lappend wrappers mpif77 mpif90 |
64 | | variant gcc43 description {build mpif77 and mpif90 using gcc43} conflicts gcc42 g95 { |
65 | | configure.args-delete --disable-f77 --disable-f90 |
66 | | configure.args-append --enable-f77 --enable-f90 |
67 | | configure.f77 ${prefix}/bin/gfortran-mp-4.3 |
68 | | configure.fc ${prefix}/bin/gfortran-mp-4.3 |
69 | | depends_lib-append port:gcc43 |
70 | | lappend wrappers mpif77 mpif90 |
| 65 | variant gcc42 conflicts gcc43 g95 description {Use gcc42 for compilation of OpenMPI and as base-compiler for wrappers} { |
| 66 | depends_lib-append port:gcc42 |
| 67 | configure.compiler macports-gcc-4.2 |
73 | | variant g95 description {build mpif77 and mpif90 using g95} conflicts gcc42 gcc43 { |
74 | | configure.args-delete --disable-f77 --disable-f90 |
75 | | configure.args-append --enable-f77 --enable-f90 |
76 | | configure.f77 ${prefix}/bin/g95 |
77 | | configure.fc ${prefix}/bin/g95 |
78 | | depends_lib-append port:g95 |
79 | | lappend wrappers mpif77 mpif90 |
| 70 | variant gcc43 conflicts gcc42 g95 description {Use gcc43 for compilation of OpenMPI and as base-compiler for wrappers} { |
| 71 | depends_lib-append port:gcc43 |
| 72 | configure.compiler macports-gcc-4.3 |