-
Notifications
You must be signed in to change notification settings - Fork 0
/
bashrc-template
42 lines (31 loc) · 1.08 KB
/
bashrc-template
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
#!/bin/bash
umask 0022
source ~/.bashrc-default
source ~/.bash-env
# Reset PATH to default
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Make sure these paths are empty
export LIBRARY_PATH=
export LD_LIBRARY_PATH=
export PYTHONPATH=
# User PATH
export PATH=~/bin:${PATH}
export PATH=~/.local/bin:${PATH}
# Add some software to the PATH
export PATH=/opt/Trelis-17.1/bin:${PATH}
export PATH=/opt/software/MCNP620/bin:${PATH}
export PATH=/opt/software/SCALE-6.2.3/bin:${PATH}
export PATH=/opt/software/openmpi-4.1.4-intel/bin:${PATH}
export PATH=/opt/software/MCNP-intel/bin:${PATH}
# Setup PYTHONPATH
export PYTHONPATH=~/.local/lib/python3.8/site-packages
export PYTHONPATH=/opt/software/MCNPTOOLS-3.8.0/lib/python3.8/site-packages:${PYTHONPATH}
export PYTHONPATH=~/git/pynix:${PYTHONPATH}
# Location of software tarballs
export dist_dir=~/dist
# MCNP DATAPATH
export DATAPATH=/opt/software/MCNP620/MCNP_DATA
# WSL display
#export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0.0
#export LIBGL_ALWAYS_INDIRECT=1
ulimit -s unlimited