-
Notifications
You must be signed in to change notification settings - Fork 4
/
env.ips
38 lines (28 loc) · 1.13 KB
/
env.ips
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
export IPS_PATH=$IPS_DIR/ips-framework
export IPS_WRAPPER_PATH=$IPS_DIR/ips-wrappers
export IPS_EXAMPLES_PATH=$IPS_DIR/ips-examples
#####################################
# Get path to this file for later use
#####################################
MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#########################
# Add the IPS to the PATH
#########################
export PATH=$IPS_PATH/ipsframework/src:$PATH
#####################
# Python module paths
#####################
export IPS_WRAPPER_PYTHONPATH=$(find $IPS_WRAPPER_PATH/ -maxdepth 3 -type d | sed '/\/\./d' | tr '\n' ':' | sed 's/:$//')
export IPS_EXAMPLES_PYTHONPATH=$(find $IPS_EXAMPLES_PATH/ -maxdepth 3 -type d | sed '/\/\./d' | tr '\n' ':' | sed 's/:$//')
export PYTHONPATH=$IPS_PATH/ipsframework/src:$IPS_PATH/ipsframework/utils:$PYTHONPATH
export PYTHONPATH=$IPS_WRAPPER_PYTHONPATH:$PYTHONPATH
export PYTHONPATH=$IPS_EXAMPLES_PYTHONPATH:$PYTHONPATH
#################
# Dakota Settings
#################
#export DAKOTA_ROOT=
#export PATH=$DAKOTA_ROOT/bin:$PATH
#export LD_LIBRARY_PATH=$DAKOTA_ROOT/lib:$LD_LIBRARY_PATH
##############
# Load modules
##############