Intel compiler stub
This commit is contained in:
parent
33a46f41ce
commit
61c799e7e4
17
bsc/intel-compiler/default.nix
Normal file
17
bsc/intel-compiler/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user