Commit b572b5eb authored by Valentin Reis's avatar Valentin Reis
Browse files

application fixes: stream binary name.

parent 7f0457b8
Pipeline #5446 canceled with stages
in 29 seconds
......@@ -140,16 +140,23 @@ let
echo "ENTERING ENVIRONMENT: Moreover, sandboxing is disabled, in particular because of:"
echo "ENTERING ENVIRONMENT: /tmp/nrm-* sockets, /etc/argo, /var/run/, /var/lock/ which all need read access. "
echo "ENTERING ENVIRONMENT: until these components are patched to allow for alternative paths, no sandbox use is possible."
source ${argotk}/share/argotk.sh
source ${argotk}/share/argotk.sh # bash completion
echo ""
''; # bash completion
ARGOTK_SHARE = "${argotk}/share"; # for argotk to find its versioned data
'';
# for argotk to find its versioned data
ARGOTK_SHARE = "${argotk}/share";
#SUDO = builtins.toPath sudoPath;
};
expe = test.overrideAttrs (old:{
buildInputs = old.buildInputs ++
[amg lammps qmcpack stream openmc openmc-data];
buildInputs = old.buildInputs ++ [
amg
lammps
qmcpack
(stream.override {iterationCount = "20000";})
openmc
openmc-data
];
OPENMC_CROSS_SECTIONS = "${openmc-data}/cross_sections.xml";
OPENMC_PWD = "${argotk}/share/openmc";
});
......
......@@ -19,7 +19,7 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin/
cp stream_c.exe $out/bin/stream_c_${iterationCount}
cp stream_f.exe $out/bin/stream_f_${iterationCount}
cp stream_c.exe $out/bin/stream_c
cp stream_f.exe $out/bin/stream_f
'';
}
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