Commit 44ba58b7 authored by Valentin Reis's avatar Valentin Reis

added stream and fixed qmcpack.

parent 90dbfa27
......@@ -27,7 +27,9 @@ in rec {
applications = {
lammps = pkgs.lammps-mpi;
amg = callPackage ./amg {};
qmcpack = callPackage ./qmcpack {};
openmc = callPackage ./openmc {};
stream = callPackage ./stream {};
};
}
......
{ stdenv, fetchgit, mpich2, cmake, liblapack, blas, fftw, libxml2, hdf5, pythonPackages, hdf5-fortran}:
stdenv.mkDerivation {
name = "qmcpack";
src = fetchgit {
url="https://github.com/QMCPACK/qmcpack.git";
sha256="0fdlvmg0ri4mpwdxx4ky8mxc4rlkrq25smqld8b02lgjw1dvclki";
rev="1009b07ad6fa873d71a0755747e6a7f610eb169b";
};
#phases = ["unpackPhase" "installPhase"];
#cmakeFlags = [
#"-DHDF5_INCLUDE_DIRS=${hdf5-cpp}/include"
#"-DHDF5_ROOT=${hdf5-cpp}/"
#"-DHDF5_LIBRARIES=${hdf5}/lib"
#"-DHDF5_LIBRARY_DIRS=${hdf5}/lib"
#"-DHDF5_FOUND=true"
#] ;
nativeBuildInputs = [ cmake ];
buildInputs = [ liblapack blas fftw libxml2 hdf5 hdf5-fortran pythonPackages.numpy];
propagatedBuildInputs = [ pythonPackages.numpy ];
#buildPhase = "make ZMQ_PATH=${zeromq} MPI_INCLUDE=${mpich2}";
#propagatedBuildInputs = [zulu];
#installPhase = ''
#mkdir -p $out/bin
#cp test/amg $out/bin
#'';
}
{ stdenv, fetchgit, gfortran }:
stdenv.mkDerivation {
name = "stream";
src = fetchgit {
url="https://github.com/freuk/STREAM.git";
sha256="0yvchhp4vhliy1r55v2bq9f70cwr3974vadbpi3mpxk7dcm41rm5";
};
nativeBuildInputs = [ gfortran ];
installPhase = ''
mkdir $out/bin/
cp stream_c.exe $out/bin
cp stream_f.exe $out/bin
'';
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment