Ticket #37785: mpich2_to_mpich.diff
File mpich2_to_mpich.diff, 18.3 KB (added by eborisch (Eric A. Borisch), 12 years ago) |
---|
-
devel/valgrind/Portfile
5 5 name valgrind 6 6 conflicts valgrind-devel 7 7 version 3.8.1 8 revision 1 8 9 categories devel 9 10 platforms darwin 10 11 supported_archs i386 x86_64 … … 70 71 } 71 72 72 73 variant mpich2 description {Use mpich2 for MPI support} conflicts universal { 73 depends_lib-append p ort:mpich274 depends_lib-append path:bin/mpicc:mpich 74 75 configure.args-delete --without-mpicc 75 76 configure.args-append --with-mpicc=${prefix}/bin/mpicc 76 77 } -
devel/valgrind-devel/Portfile
7 7 svn.revision 13189 8 8 set vex_revision 2601 9 9 version 3.9.0-r${svn.revision} 10 revision 1 10 11 categories devel 11 12 platforms darwin 12 13 supported_archs i386 x86_64 … … 63 64 } 64 65 65 66 variant mpich2 description {Use mpich2 for MPI support} conflicts universal { 66 depends_lib-append p ort:mpich267 depends_lib-append path:bin/mpicc:mpich 67 68 configure.args-delete --without-mpicc 68 69 configure.args-append --with-mpicc=${prefix}/bin/mpicc 69 70 } -
graphics/vtk-devel/Portfile
5 5 6 6 name vtk-devel 7 7 version 5.4.2 8 revision 18 revision 2 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 11 11 categories graphics math science devel … … 760 760 variant mpi description "use message passing interface (mpich2) for parallel support" { 761 761 set nCPU [expr [exec sysctl -n hw.logicalcpu_max]] 762 762 depends_lib-append \ 763 p ort:mpich2763 path:bin/mpicc:mpich 764 764 configure.args-append \ 765 765 -DVTK_USE_MPI:BOOL=ON \ 766 766 -DMPI_COMPILER:FILEPATH=${prefix}/bin/mpicxx \ -
math/arpack/Portfile
5 5 6 6 name arpack 7 7 version 3.1.2 8 revision 1 8 9 categories math 9 10 license BSD 10 11 platforms darwin … … 52 53 } 53 54 54 55 variant mpich2 description {build with MPICH2} conflicts openmpi { 55 depends_lib-append p ort:mpich256 depends_lib-append path:bin/mpicc:mpich 56 57 configure.env-append MPIF77=${prefix}/bin/mpif77 57 58 } 58 59 -
math/fftw/Portfile
4 4 5 5 name fftw 6 6 version 2.1.5 7 revision 47 revision 5 8 8 categories math devel 9 9 license GPL-2+ 10 10 maintainers nomaintainer … … 71 71 } 72 72 73 73 variant mpi description {Include FFTW MPI library} { 74 depends_lib-append p ort:mpich274 depends_lib-append path:bin/mpicc:mpich 75 75 configure.args-append --enable-mpi 76 76 } -
math/fftw-3/Portfile
5 5 6 6 name fftw-3 7 7 version 3.3.3 8 revision 1 8 9 categories math 9 10 license GPL-2+ 10 11 platforms darwin … … 258 259 } 259 260 260 261 variant mpich2 description {compile FFTW MPI library with MPICH2} conflicts openmpi { 261 depends_lib-append path:bin/mpicc:mpich 2262 depends_lib-append path:bin/mpicc:mpich 262 263 configure.env MPICC=${prefix}/bin/mpicc 263 264 configure.args-append --enable-mpi 264 265 } -
math/fftw-single/Portfile
4 4 5 5 name fftw-single 6 6 version 2.1.5 7 revision 37 revision 4 8 8 categories math devel 9 9 license GPL-2+ 10 10 maintainers nomaintainer … … 74 74 } 75 75 76 76 variant mpi description {Include FFTW MPI library} { 77 depends_lib-append p ort:mpich277 depends_lib-append path:bin/mpicc:mpich 78 78 configure.args-append --enable-mpi 79 79 } 80 80 -
math/petsc/Portfile
6 6 7 7 name petsc 8 8 version 3.3-p5 9 revision 19 revision 2 10 10 categories math science 11 11 maintainers mmoll 12 12 description Portable, Extensible Toolkit for Scientific Computation … … 74 74 } 75 75 76 76 variant mpich2 description {Build using the MPICH2 compiler} conflicts openmpi { 77 depends_lib-append p ort:mpich277 depends_lib-append path:bin/mpicc:mpich 78 78 configure.args-append \ 79 79 --with-cc=${prefix}/bin/mpicc \ 80 80 --with-cxx=${prefix}/bin/picxx \ -
math/plda/Portfile
5 5 6 6 name plda 7 7 version 3.1 8 revision 18 revision 2 9 9 categories math textproc 10 10 maintainers hum openmaintainer 11 11 … … 33 33 CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" 34 34 35 35 variant mpi description {Add parallel lda} { 36 depends_lib p ort:mpich236 depends_lib path:bin/mpicc:mpich 37 37 build.target lda infer mpi_lda 38 38 post-destroot { 39 39 xinstall -m 755 ${worksrcpath}/mpi_lda ${destroot}${prefix}/bin/mpi_plda -
python/py-mpi4py/Portfile
6 6 7 7 name py-mpi4py 8 8 version 1.3 9 revision 29 revision 3 10 10 license BSD 11 11 description MPI for Python - Python bindings for MPI 12 12 long_description \ … … 45 45 variant mpich2 description {builds with the mpich2 port} { 46 46 build.args-delete "--mpicc=${prefix}/bin/openmpicc" 47 47 depends_lib-delete port:openmpi 48 depends_lib-append p ort:mpich248 depends_lib-append path:bin/mpicc:mpich 49 49 } 50 50 51 51 } -
science/hdf5/Portfile
5 5 6 6 name hdf5 7 7 version 1.6.9 8 revision 38 revision 4 9 9 categories science 10 10 license NCSA 11 11 maintainers nomaintainer … … 109 109 } 110 110 111 111 variant mpich2 description {Parallel HDF5 with mpich2 (disables C++)} { 112 depends_lib-append p ort:mpich2112 depends_lib-append path:bin/mpicc:mpich 113 113 configure.args-delete --enable-cxx 114 114 configure.cc ${prefix}/bin/mpicc 115 115 if { [variant_isset fortran] } { -
science/hdf5-18/Portfile
8 8 set realname hdf5 9 9 name ${realname}-18 10 10 version 1.8.10 11 revision 1 11 12 categories science 12 13 maintainers mmoll openmaintainer 13 14 … … 161 162 Enable Parallel HDF5 with mpich2. Uses compiler selected with mpich2. 162 163 +mpich2 is EXPERIMENTAL with +cxx or +threadsafe. 163 164 } conflicts universal openmpi gcc44 gcc45 gcc46 gcc47 { 164 depends_lib-append path:bin/mpicc:mpich 2165 depends_lib-append path:bin/mpicc:mpich 165 166 configure.cc ${prefix}/bin/mpicc 166 167 configure.cxx ${prefix}/bin/mpicxx 167 168 configure.fc ${prefix}/bin/mpif90 -
science/mpich2/Portfile
4 4 PortSystem 1.0 5 5 6 6 name mpich2 7 set pkgname mpich28 7 version 1.5 9 revision 68 revision 7 10 9 epoch 20121008 11 10 categories science parallel net 11 homepage http://www.mpich.org 12 12 license BSD 13 categories science parallel net14 platforms darwin15 maintainers eborisch \16 openmaintainer17 13 18 description Message Passing Interface (MPI) Library 14 replaced_by mpich 19 15 20 long_description MPICH2 is an implementation of the Message-Passing \ 21 Interface (MPI). The goals of MPICH2 are to provide an \ 22 MPI implementation for important platforms, including \ 23 clusters, SMPs, and massively parallel processors. It \ 24 also provides a vehicle for MPI implementation research \ 25 and for developing new and better parallel programming \ 26 environments. 16 PortGroup obsolete 1.0 27 17 28 homepage http://www.mpich.org/29 master_sites ${homepage}static/tarballs/${version}/30 distname ${pkgname}-${version}31 32 checksums \33 rmd160 69572f5c435aec1ef37af197f7509cfc073ce53a \34 sha256 7175926fc2e4230f00201e880318c08de4f949c0dbe167fe1b2e256ac79d5f6635 36 subport mpich2-devel {37 # Currently mpich2-devel == mpich238 conflicts mpich239 }40 41 universal_variant no42 43 depends_lib-append port:libxml244 conflicts-append lammpi \45 openmpi46 47 configure.args --disable-dependency-tracking \48 --disable-f77 \49 --disable-fc \50 --disable-silent-rules \51 --enable-base-cache \52 --enable-cache \53 --enable-cxx \54 --enable-fast=O2 \55 --enable-shared \56 --enable-smpcoll \57 --with-device=ch3:nemesis \58 --with-mpe \59 --with-pm=hydra \60 --with-thread-package=posix \61 "F90FLAGS='' F90=''"62 63 platform darwin {64 configure.args-append --enable-timer-type=mach_absolute_time65 }66 67 # We're making compiler wrappers here... don't default to -O2 for wrappers.68 # Actual library code is compiled with -O2 via --enable-fast=O2 configure arg69 configure.cflags-delete -O270 configure.cxxflags-delete -O271 configure.fflags-delete -O272 configure.fcflags-delete -O273 74 post-destroot {75 # Move examples directories to preferred location76 move ${destroot}${prefix}/share/examples \77 ${destroot}${prefix}/share/doc/${pkgname}/examples78 79 # Remove un-needed (in MacPorts) binaries80 file delete ${destroot}${prefix}/sbin/mpeuninstall81 file delete ${destroot}${prefix}/sbin/mpecheckinstall82 83 # That's what man pages are for84 delete ${destroot}${prefix}/share/doc/www485 }86 87 # As MPICH creates compiler wrappers, there are lots of88 # variants for what compiler the user would like to wrap.89 90 variant gcc47 description {91 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc47 port92 } conflicts gcc43 gcc44 gcc45 gcc46 llvm clang clang31 {93 depends_lib-append port:gcc4794 configure.compiler macports-gcc-4.795 }96 97 variant gcc46 description {98 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc46 port99 } conflicts gcc43 gcc44 gcc45 gcc47 llvm clang clang31 {100 depends_lib-append port:gcc46101 configure.compiler macports-gcc-4.6102 }103 104 variant gcc45 description {105 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45 port106 } conflicts gcc43 gcc44 gcc46 gcc47 llvm clang clang31 {107 depends_lib-append port:gcc45108 configure.compiler macports-gcc-4.5109 }110 111 variant gcc44 description {112 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44 port113 } conflicts gcc43 gcc45 gcc46 gcc47 llvm clang clang31 {114 depends_lib-append port:gcc44115 configure.compiler macports-gcc-4.4116 }117 118 variant gcc43 description {119 Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43 port120 } conflicts gcc44 gcc45 gcc46 gcc47 llvm clang clang31 {121 depends_lib-append port:gcc43122 configure.compiler macports-gcc-4.3123 }124 125 if {[ variant_isset gcc43 ] ||126 [ variant_isset gcc44 ] ||127 [ variant_isset gcc45 ] ||128 [ variant_isset gcc46 ] ||129 [ variant_isset gcc47 ]} {130 configure.args-append --enable-f77 --enable-fc131 configure.args-delete --disable-f77 --disable-fc132 }133 134 variant llvm description {135 Use Apple-supplied llvm-gcc136 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 clang clang31 {137 configure.compiler llvm-gcc-4.2138 }139 140 variant clang description {141 Use Apple-supplied clang142 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang31 {143 configure.compiler clang144 }145 146 variant clang31 description {147 Use clang 3.1 from MacPorts148 } conflicts gcc43 gcc44 gcc45 gcc46 gcc47 llvm clang {149 depends_lib-append port:clang-3.1150 configure.compiler clang151 configure.cc ${prefix}/bin/clang-mp-3.1152 configure.cxx ${prefix}/bin/clang++-mp-3.1153 }154 155 variant gforker description {156 Use gforker process manager instead of the default hydra157 } {158 configure.args-append --with-pm=gforker159 configure.args-delete --with-pm=hydra160 }161 162 variant tuned description {Build with more optimizations} {163 configure.args-delete --enable-fast=O2164 configure.args-append --enable-fast=all \165 MPICH2LIB_CFLAGS='-fomit-frame-pointer -O2'166 }167 168 if {${configure.compiler} == "clang"} {169 configure.env-append ac_cv_tls=none170 }171 172 livecheck.type regex173 livecheck.regex ${pkgname}-(\[0-9.pbrc\]+)${extract.suffix}174 livecheck.url ${homepage}downloads/index.php?s=downloads -
science/nco/Portfile
5 5 6 6 name nco 7 7 version 4.2.3 8 revision 18 revision 2 9 9 platforms darwin 10 10 maintainers takeshi 11 11 license GPL-3 … … 72 72 } 73 73 74 74 variant mpich2 description {enable MPI with mpich2} { 75 depends_lib-append p ort:mpich275 depends_lib-append path:bin/mpicc:mpich 76 76 configure.args-append --enable-mpi 77 77 } 78 78 -
science/netcdf/Portfile
6 6 name netcdf 7 7 epoch 2 8 8 version 4.2.1.1 9 revision 19 revision 2 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin 12 12 categories science … … 63 63 } 64 64 65 65 variant mpich2 conflicts openmpi description {compile with mpich2} { 66 depends_lib-append p ort:mpich266 depends_lib-append path:bin/mpicc:mpich 67 67 configure.cc mpicc 68 68 configure.cc_archflags "" 69 69 configure.ld_archflags "" -
science/netcdf-cxx/Portfile
5 5 6 6 name netcdf-cxx 7 7 version 4.2 8 revision 18 revision 2 9 9 distname ${name}-${version} 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin … … 57 57 } 58 58 59 59 variant mpich2 conflicts openmpi description {compile with mpich2} { 60 depends_lib-append p ort:mpich260 depends_lib-append path:bin/mpicc:mpich 61 61 configure.cc mpicc 62 62 configure.cxx mpicxx 63 63 } -
science/netcdf-cxx4/Portfile
5 5 6 6 name netcdf-cxx4 7 7 version 4.2 8 revision 1 8 9 distname ${name}-${version} 9 10 maintainers takeshi openmaintainer 10 11 platforms darwin … … 54 55 } 55 56 56 57 variant mpich2 conflicts openmpi description {compile with mpich2} { 57 depends_lib-append p ort:mpich258 depends_lib-append path:bin/mpicc:mpich 58 59 configure.cc mpicc 59 60 configure.cxx mpicxx 60 61 } -
science/netcdf-fortran/Portfile
6 6 7 7 name netcdf-fortran 8 8 version 4.2 9 revision 59 revision 6 10 10 maintainers takeshi openmaintainer 11 11 platforms darwin 12 12 categories science … … 134 134 } 135 135 136 136 variant mpich2 conflicts openmpi description {compile with mpich2} { 137 depends_lib-append p ort:mpich2137 depends_lib-append path:bin/mpicc:mpich 138 138 configure.fc mpif90 139 139 configure.cc mpicc 140 140 } -
science/ocaml-mpi/Portfile
4 4 5 5 name ocaml-mpi 6 6 version 1.01 7 revision 27 revision 3 8 8 categories science devel ml 9 9 maintainers mww 10 10 license LGPL-2 … … 21 21 sha1 4f836f02f7e8852ba72d4293aea43cf7a3438b0f \ 22 22 rmd160 c0a08090073c54e130cd2712c7d1cfbeb8d17793 23 23 24 depends_lib port:ocaml port:ocaml-findlib p ort:mpich224 depends_lib port:ocaml port:ocaml-findlib path:bin/mpicc:mpich 25 25 26 26 patchfiles Makefile.diff 27 27