Intel compiler stub

This commit is contained in:
Rodrigo 2020-07-01 10:25:33 +02:00
parent 33a46f41ce
commit 61c799e7e4
2 changed files with 22 additions and 2 deletions

View File

@ -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";
};
}

View File

@ -35,14 +35,17 @@ let
enableCxx = true; 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-2019 = callPackage ./bsc/intel-mpi/default.nix {
# Intel MPI provides a debug version of the MPI library, but # Intel MPI provides a debug version of the MPI library, but
# by default we use the release variant for performance # by default we use the release variant for performance
enableDebug = false; enableDebug = false;
}; };
# Default Intel MPI version is 2019 (the last one) intel-compiler = intel-compiler-2020;
intel-mpi = intel-mpi-2019; intel-compiler-2020 = callPackage ./bsc/intel-compiler/default.nix {
};
fftw = callPackage ./bsc/fftw/default.nix { fftw = callPackage ./bsc/fftw/default.nix {
mpi = mpi; mpi = mpi;