From 61c799e7e418717418d2d3c0baf52f5c4f2fd3da Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Wed, 1 Jul 2020 10:25:33 +0200 Subject: [PATCH] Intel compiler stub --- bsc/intel-compiler/default.nix | 17 +++++++++++++++++ default.nix | 7 +++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 bsc/intel-compiler/default.nix 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;