WIP: Testing with automatic fetching

This commit is contained in:
2020-10-26 19:43:02 +01:00
parent 59346fa97e
commit 3bd4e61f3f
7 changed files with 149 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ stdenv.mkDerivation {
export GARLIC_EXPERIMENT=$(basename $out)
if [ -e "\$GARLIC_EXPERIMENT" ]; then
>&2 echo "skipping, experiment path already exists: \$GARLIC_EXPERIMENT"
>&2 echo "skipping, path exists: \$(pwd)/\$GARLIC_EXPERIMENT"
exit 0
fi

View File

@@ -5,13 +5,13 @@ if [ -e /nix ]; then
exit 1
fi
>&2 echo Running runexp for MN4
>&2 echo PATH=$PATH
#>&2 echo Running runexp for MN4
#>&2 echo PATH=$PATH
user=$(id -un)
group=$(id -gn)
export GARLIC_OUT="/gpfs/projects/$group/$user/garlic-out"
export GARLIC_OUT="/gpfs/projects/bsc15/garlic/out/$user"
mkdir -p "$GARLIC_OUT"
cd "$GARLIC_OUT"