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.

38 lines
568 B

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