Enable extrae mpi implementation input
This commit is contained in:
parent
83770803e5
commit
5a4068b497
@ -11,7 +11,7 @@
|
|||||||
, gcc
|
, gcc
|
||||||
, gfortran
|
, gfortran
|
||||||
, xml2
|
, xml2
|
||||||
#, mpi
|
, mpi ? null
|
||||||
, cuda ? null
|
, cuda ? null
|
||||||
#, withOpenmp ? false
|
#, withOpenmp ? false
|
||||||
}:
|
}:
|
||||||
@ -27,8 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ gcc gfortran libunwind ];
|
nativeBuildInputs = [ gcc gfortran libunwind ];
|
||||||
|
|
||||||
buildInputs = [ binutils-unwrapped boost boost.dev libiberty
|
buildInputs = [ binutils-unwrapped boost boost.dev libiberty mpi
|
||||||
# openmpi
|
|
||||||
xml2 libxml2.dev ];
|
xml2 libxml2.dev ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -54,7 +53,8 @@ stdenv.mkDerivation rec {
|
|||||||
--with-unwind=${libunwind.dev}
|
--with-unwind=${libunwind.dev}
|
||||||
--with-xml-prefix=${libxml2.dev}
|
--with-xml-prefix=${libxml2.dev}
|
||||||
--with-papi=${papi}
|
--with-papi=${papi}
|
||||||
--without-mpi
|
${if (mpi != null) then ''--with-mpi=${mpi}''
|
||||||
|
else ''--without-mpi''}
|
||||||
--without-dyninst)
|
--without-dyninst)
|
||||||
'';
|
'';
|
||||||
# --with-mpi=${mpi}
|
# --with-mpi=${mpi}
|
||||||
|
@ -12,13 +12,14 @@ let
|
|||||||
|
|
||||||
self.bsc = rec {
|
self.bsc = rec {
|
||||||
# Load the current implementations
|
# Load the current implementations
|
||||||
mpi = pkgs.mpich;
|
self.mpi = pkgs.mpich;
|
||||||
|
|
||||||
extrae = callPackage ./bsc/extrae {
|
extrae = callPackage ./bsc/extrae {
|
||||||
|
mpi = self.mpi;
|
||||||
};
|
};
|
||||||
|
|
||||||
tampi = callPackage ./bsc/tampi {
|
tampi = callPackage ./bsc/tampi {
|
||||||
mpi = mpi;
|
mpi = self.mpi;
|
||||||
};
|
};
|
||||||
|
|
||||||
nanos6 = callPackage ./bsc/nanos6 { };
|
nanos6 = callPackage ./bsc/nanos6 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user