diff --git a/bsc/intel-compiler/default.nix b/bsc/intel-compiler/default.nix new file mode 100644 index 0000000..9b46d01 --- /dev/null +++ b/bsc/intel-compiler/default.nix @@ -0,0 +1,17 @@ +{ stdenv +, fetchurl +}: + +stdenv.mkDerivation rec { + version = "2019.1.217"; + name = "intel-compiler-${version}"; + + # From Arch Linux PKGBUILD + dir_nr="16526"; + tgz="parallel_studio_xe_2020_update1_cluster_edition.tgz"; + + src = fetchurl { + url = "http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/${dir_nr}/${tgz}"; + sha256 = "01wwmiqff5lad7cdi8i57bs3kiphpjfv52sxll1w0jpq4c03nf4h"; + }; +} diff --git a/default.nix b/default.nix index ab3f4a8..a593fb2 100644 --- a/default.nix +++ b/default.nix @@ -35,14 +35,17 @@ let enableCxx = true; }; + # Default Intel MPI version is 2019 (the last one) + intel-mpi = intel-mpi-2019; intel-mpi-2019 = callPackage ./bsc/intel-mpi/default.nix { # Intel MPI provides a debug version of the MPI library, but # by default we use the release variant for performance enableDebug = false; }; - # Default Intel MPI version is 2019 (the last one) - intel-mpi = intel-mpi-2019; + intel-compiler = intel-compiler-2020; + intel-compiler-2020 = callPackage ./bsc/intel-compiler/default.nix { + }; fftw = callPackage ./bsc/fftw/default.nix { mpi = mpi;