mpich: add enableDebug option
This commit is contained in:
parent
87809ef903
commit
196b681586
@ -1,13 +1,16 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchurl,
|
||||
perl,
|
||||
gfortran,
|
||||
openssh,
|
||||
hwloc,
|
||||
libfabric
|
||||
stdenv
|
||||
, fetchurl
|
||||
, perl
|
||||
, gfortran
|
||||
, openssh
|
||||
, hwloc
|
||||
, libfabric
|
||||
, enableDebug ? false
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpich";
|
||||
version = "3.3.2";
|
||||
@ -22,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||
"--enable-sharedlib"
|
||||
"--with-device=ch4:ofi"
|
||||
"--with-libfabric=${libfabric}"
|
||||
];
|
||||
]
|
||||
++ optional enableDebug "--enable-g=dbg,log";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -43,6 +43,7 @@ let
|
||||
osumb = callPackage ./bsc/osu/default.nix { };
|
||||
|
||||
mpich = callPackage ./bsc/mpich/default.nix { };
|
||||
mpichDbg = callPackage ./bsc/mpich/default.nix { enableDebug = true; };
|
||||
|
||||
# Default Intel MPI version is 2019 (the last one)
|
||||
impi = intel-mpi;
|
||||
|
Loading…
Reference in New Issue
Block a user