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
46 lines
754 B
{ stdenv
|
|
, fetchzip
|
|
, openmpi
|
|
, libbfd
|
|
, papi
|
|
, which
|
|
, pkg-config
|
|
, callPackage
|
|
, cubew ? callPackage ../cubew { }
|
|
, cubelib ? callPackage ../cubelib { }
|
|
, otf2 ? callPackage ../otf2 { }
|
|
, opari2 ? callPackage ../opari2 { }
|
|
, ...
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scorep";
|
|
version = "8.3";
|
|
|
|
src = fetchzip {
|
|
url = "https://perftools.pages.jsc.fz-juelich.de/cicd/${pname}/tags/${pname}-${version}/${pname}-${version}.tar.gz";
|
|
hash = "sha256-YGF+qG4BSpj2HoyQD/Tnm3vGMtwN4iSSxFyF3coceOY=";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--with-mpi=openmpi"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
which
|
|
];
|
|
|
|
buildInputs = [
|
|
openmpi
|
|
libbfd
|
|
papi
|
|
cubew
|
|
cubelib
|
|
otf2
|
|
opari2
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
}
|
|
|