-
Notifications
You must be signed in to change notification settings - Fork 4
/
.bashrc
48 lines (40 loc) · 1.57 KB
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# .bash_profile for deployment on LSC DataGrid clusters.
# Run at the start of an interactive shell (including a login shell).
# Source global definitions.
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
source /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/etc/profile.d/conda.sh
conda activate igwn-py39-20220317
# Add user site directory to the PATH. On Linux, this is usuall ~/.local/bin.
export PATH="$(python -m site --user-base)/bin${PATH+:${PATH}}"
# Disable OpenMP threading by default.
# In this environmnet, it will be enabled selectively by processes that use it.
export OMP_NUM_THREADS=1
# Use mpich for parameter estimation.
module load mpi/mpich-x86_64
# Unless the user has set `GSSAPIDelegateCredentials no` in their ~/.ssh/config
# file, their Globus certificate will be copied in when they log in, shadowing
# the robot certificate. Set these environment variables to override.
#
# Note: according to SSH_CONFIG(5), the default for `GSSAPIDelegateCredentials`
# is `no`. That's obviously incorrect!
export X509_USER_CERT="$HOME/.globus/usercert.pem"
export X509_USER_KEY="$HOME/.globus/userkey.pem"
# Configuration for GWCelery web applications.
export FLASK_RUN_PORT=5556
export FLASK_URL_PREFIX=/gwcelery
export FLOWER_PORT=5555
export FLOWER_URL_PREFIX=/flower
# GWCelery configuration-dependent instance variables.
case "${USER}" in
emfollow)
export CELERY_CONFIG_MODULE="gwcelery.conf.production"
;;
emfollow-playground)
export CELERY_CONFIG_MODULE="gwcelery.conf.playground"
;;
emfollow-test)
export CELERY_CONFIG_MODULE="gwcelery.conf.test"
;;
esac