Commit ea091f61 authored by Simon May's avatar Simon May
Browse files

Add alias to compile AREPO into a different directory

parent 6e684c5a
......@@ -39,3 +39,11 @@ alias srun-icobra='srun-idraco'
# alias to archive run output to /r/ in a single tar file
alias archive-run-single-tar='archive_run_dir=~/r/output/$(basename "$PWD"); mkdir -p "$archive_run_dir/" && tar --index-file="$archive_run_dir/data.toc" -cvvf "$archive_run_dir/data.tar" *'
# other aliases
make-arepo() {
config="$1"
dir=$(dirname "$config")
shift
make CONFIG="$config" BUILD_DIR="$dir/build/" EXEC="$dir/Arepo" "$@"
}
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