forked from NREL/REopt_API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
executable file
·66 lines (55 loc) · 2.8 KB
/
.bash_profile
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/bin/bash
#==============================================================================
# File: ~/.bash_profile
# Author: Nick Laws
#
# Description: Loads for all login shells. Sets path variable and others
# Set up for REopt API development on Mac OS. After defining XPRESSDIR
# and SRC_DIR, copy this file to your $HOME (~) directory:
# cp bash_profile ~/.bash_profile
# Note: the environment variables are not set until a new terminal session
# is opened. And if you already have a ~/.bash_profile defined, add the
# path definitions and exports below to your file.
#==============================================================================
# Source global definitions
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
#------------------------------------------------------------------------------
# Define the following based on your file structure
#------------------------------------------------------------------------------
# path to reopt_api/reo/src for SAM SDK C libraries
SRC_DIR="${HOME}/reopt_api/reo/src"
#==============================================================================
#------------------------------------------------------------------------------
# Choose your solver
#------------------------------------------------------------------------------
export SOLVER="cbc"
#==============================================================================
#------------------------------------------------------------------------------
# Uncomment the following if you are using the Xpress solver
#------------------------------------------------------------------------------
#XPRESSDIR="/usr/local/opt/xpress"
#DYLD_LIBRARY_PATH="${XPRESSDIR}/lib:${SRC_DIR}:${DYLD_LIBRARY_PATH}" # for Mac
#LD_LIBRARY_PATH="${XPRESSDIR}/lib:${SRC_DIR}:${LD_LIBRARY_PATH}" # for Linux
#CLASSPATH="${XPRESSDIR}/lib/xprs.jar:${XPRESSDIR}/lib/xprb.jar:${XPRESSDIR}/lib/xprm.jar:${CLASSPATH}"
#PATH="${XPRESSDIR}/bin:${PATH}"
#
#export PATH
#export XPRESS="$XPRESSDIR/bin"
#export DYLD_LIBRARY_PATH
#export LD_LIBRARY_PATH
#export CLASSPATH
#source /opt/xpressmp/bin/xpvars.sh
#==============================================================================
#------------------------------------------------------------------------------
# You can change the following to add Julia to your system Path
#------------------------------------------------------------------------------
PATH="/usr/lib/julia-1.3.1/bin:${PATH}"
export PATH
#==============================================================================
#------------------------------------------------------------------------------
# Leave the following unchanged
#------------------------------------------------------------------------------
export APP_ENV="local"
#==============================================================================