lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 17.09-beta 50 lines 1.6 kB view raw
1{stdenv, fetchurl, gfortran, perl, libibverbs 2 3# Enable the Sun Grid Engine bindings 4, enableSGE ? false 5 6# Pass PATH/LD_LIBRARY_PATH to point to current mpirun by default 7, enablePrefix ? false 8}: 9 10with stdenv.lib; 11 12let 13 majorVersion = "1.10"; 14 15in stdenv.mkDerivation rec { 16 name = "openmpi-${majorVersion}.7"; 17 18 src = fetchurl { 19 url = "http://www.open-mpi.org/software/ompi/v${majorVersion}/downloads/${name}.tar.bz2"; 20 sha256 = "142s1vny9gllkq336yafxayjgcirj2jv0ddabj879jgya7hyr2d0"; 21 }; 22 23 buildInputs = [ gfortran ] 24 ++ optional (stdenv.isLinux || stdenv.isFreeBSD) libibverbs; 25 26 nativeBuildInputs = [ perl ]; 27 28 configureFlags = [] 29 ++ optional enableSGE "--with-sge" 30 ++ optional enablePrefix "--enable-mpirun-prefix-by-default" 31 ; 32 33 enableParallelBuilding = true; 34 35 preBuild = '' 36 patchShebangs ompi/mpi/fortran/base/gen-mpi-sizeof.pl 37 ''; 38 39 postInstall = '' 40 rm -f $out/lib/*.la 41 ''; 42 43 meta = { 44 homepage = http://www.open-mpi.org/; 45 description = "Open source MPI-2 implementation"; 46 longDescription = "The Open MPI Project is an open source MPI-2 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers."; 47 maintainers = [ stdenv.lib.maintainers.mornfall ]; 48 platforms = platforms.unix; 49 }; 50}