Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simon May
config
Commits
ea091f61
Commit
ea091f61
authored
Apr 21, 2021
by
Simon May
Browse files
Add alias to compile AREPO into a different directory
parent
6e684c5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.alias
View file @
ea091f61
...
...
@@ -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" "$@"
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment