NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
754 B

  1. { stdenv
  2. , fetchzip
  3. , openmpi
  4. , libbfd
  5. , papi
  6. , which
  7. , pkg-config
  8. , callPackage
  9. , cubew ? callPackage ../cubew { }
  10. , cubelib ? callPackage ../cubelib { }
  11. , otf2 ? callPackage ../otf2 { }
  12. , opari2 ? callPackage ../opari2 { }
  13. , ...
  14. }:
  15. stdenv.mkDerivation rec {
  16. pname = "scorep";
  17. version = "8.3";
  18. src = fetchzip {
  19. url = "https://perftools.pages.jsc.fz-juelich.de/cicd/${pname}/tags/${pname}-${version}/${pname}-${version}.tar.gz";
  20. hash = "sha256-YGF+qG4BSpj2HoyQD/Tnm3vGMtwN4iSSxFyF3coceOY=";
  21. };
  22. configureFlags = [
  23. "--with-mpi=openmpi"
  24. ];
  25. nativeBuildInputs = [
  26. pkg-config
  27. which
  28. ];
  29. buildInputs = [
  30. openmpi
  31. libbfd
  32. papi
  33. cubew
  34. cubelib
  35. otf2
  36. opari2
  37. ];
  38. enableParallelBuilding = true;
  39. }