10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 hash = "sha256-jiAyZXC7wiuEnOLsQFFLxhN3AsGXN09q/gHC2Hrb2gg=";
21 nativeBuildInputs = [ cmake ];
23 buildInputs = [ scalapack ] ++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.openmp;
25 propagatedBuildInputs = [ mpi ];
28 "-DCOSTA_SCALAPACK=CUSTOM"
29 "-DSCALAPACK_ROOT=${scalapack}"
34 description = "Distributed Communication-Optimal Shuffle and Transpose Algorithm";
35 homepage = "https://github.com/eth-cscs/COSTA";
36 license = licenses.bsd3;
37 platforms = platforms.linux;
38 maintainers = [ maintainers.sheepforce ];