-
Notifications
You must be signed in to change notification settings - Fork 0
/
modules-aliases
executable file
·19 lines (15 loc) · 1.02 KB
/
modules-aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash
alias spack_setup="source /modules/spack/share/spack/setup-env.sh"
alias spack_list_json="spack list --format=version_json $1"
alias spack_regen_modfile="spack module tcl refresh $1"
alias spack_purge_regen_modfiles="spack module tcl refresh --delete-tree"
alias spack_install_dir="cd /modules/spack-package-installers"
alias spack_log_dir="cd /modules/spack-package-installers/logs"
alias spack_builtins_dir="cd /modules/spack/var/spack/repos/builtin/packages"
alias spack_config_dir="cd /modules/spack/etc/spack"
alias lmod_regen_cache="/modules/lmod/lmod/lmod/libexec/update_lmod_system_cache_files -d /modules/lmod/cache $MODULEPATH"
alias spack_setup_exp="source /modules/spack-generic/share/spack/setup-env.sh"
alias spack_install_dir_exp="cd /modules/spack-generic-package-installers"
alias spack_log_dir_exp="cd /modules/spack-generic-package-installers/logs"
alias spack_builtins_dir_exp="cd /modules/spack-generic/var/spack/repos/builtin/packages"
alias spack_config_dir_exp="cd /modules/spack-generic/etc/spack"