impi: use fetchTarball
This commit is contained in:
parent
1e54fbdc43
commit
0a09affbc4
@ -1,5 +1,4 @@
|
||||
{ stdenv
|
||||
, requireFile
|
||||
, rpmextract
|
||||
, libfabric
|
||||
, gcc
|
||||
@ -11,25 +10,13 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "intel-mpi-${version}";
|
||||
version = "2019.7.217";
|
||||
dir_nr = "16546";
|
||||
|
||||
lib_variant = (if enableDebug then "debug" else "release");
|
||||
|
||||
src = requireFile {
|
||||
name = "l_mpi_2019.7.217.tgz";
|
||||
sha256 = "01wwmiqff5lad7cdi8i57bs3kiphpjfv52sxll1w0jpq4c03nf4h";
|
||||
message = ''
|
||||
The package with Intel MPI cannot be redistributed freely, so you must do it
|
||||
manually. Go to:
|
||||
|
||||
https://software.intel.com/content/www/us/en/develop/tools/mpi-library.html
|
||||
|
||||
And register in order to download Intel MPI (is free of charge). Then you will
|
||||
be allowed to download it. Copy the url and use:
|
||||
|
||||
nix-prefetch-url http://registrationcenter-download.intel.com/...../l_mpi_2019.7.217.tgz
|
||||
|
||||
To add it to the store. Then try again building this derivation.
|
||||
'';
|
||||
src = builtins.fetchTarball {
|
||||
url = "http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/${dir_nr}/l_mpi_${version}.tgz";
|
||||
sha256 = "19l995aavbn5lkiz9sxl6iwmjsrvjgjp14nn0qi1hjqs705db5li";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user