forked from ORNL-Fusion/ips-wrappers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.ips.edison
138 lines (102 loc) · 5.37 KB
/
env.ips.edison
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export ATOM=/project/projectdirs/atom
export TEMPLATE_DATA_DIR=$ATOM/template-data
################
# Edison specfic
################
export ATOM_EDISON=$ATOM/atom-install-edison
export XOLOTL_PATH=$ATOM_EDISON/xolotl/xolotl-trunk-build
export JAVA_XOLOTL_EXE=/opt/java/jdk1.8.0_51/bin/java
export JAVA_XOLOTL_LIBRARY=/project/projectdirs/atom/atom-install-edison/xolotl/xolotl-trunk-source/gov.ornl.xolotl.preprocessor/deps
export XOLOTL_PREPROCESSOR_DIR=$XOLOTL_PATH/gov.ornl.xolotl.preprocessor/preprocessor/CMakeFiles/xolotlPreprocessor.dir/
export FTRIDYN_PATH=$ATOM_EDISON/fractal-tridyn
export FTRIDYN_PYTHON=$FTRIDYN_PATH/utils
export IPS_PATH_EDISON=$ATOM_EDISON/ips-gnu-sf
export IPS_CSWIM_WRAPPER_PATH_EDISON=$ATOM_EDISON/ips-cswim-wrappers
export IPS_WRAPPER_PATH_EDISON=$ATOM/users/$USER/ips-wrappers
export TRANSP_BIN_DIR_EDISON=$ATOM_EDISON/transp-build/transp/edison/intel/exe
export NTCC_BIN_DIR_EDISON=$ATOM_EDISON/ntcc-gnu/bin
export IPS_FASTRAN_DIR_EDISON=$IPS_WRAPPER_PATH_EDISON/ips-fastran
export TORIC_BIN_DIR_EDISON=$ATOM_EDISON/binaries/toric/default
export TORIC_BIN_NAME_EDISON=xtoric.intel.edison
# Temporary home for TORLH ***********************
export TORLH_BIN_DIR_EDISON=/global/u1/j/jungpyo/TORLH/trunk_266/trunk/base-edison/Linux/Par
export TORLH_BIN_NAME_EDISON=Ptoric.e
# ************************************************
export GENRAY_BIN_DIR_EDISON=$ATOM_EDISON/binaries/genray/mks_units
export GENRAY_BIN_NAME_EDISON=xgenray_mpi_intel.edison
export PSTOOL_BIN_DIR_EDISON=$ATOM_EDISON/binaries/pstool/dlg
export PSTOOL_BIN_NAME_EDISON=pstool
export UPDATE_STATE_BIN_DIR_EDISON=$ATOM_EDISON/binaries/update-state/default
export UPDATE_STATE_BIN_NAME_EDISON=xupdate-state.intel.edison
export NUBEAM_BIN_DIR_EDISON=$ATOM_EDISON/binaries/nubeam/ntcc-gnu-23-oct-15
export NUBEAM_BIN_NAME_EDISON=mpi_nubeam_comp_exec
export ESC_BIN_DIR_EDISON=$ATOM_EDISON/binaries/esc/default
export ESC_BIN_NAME_EDISON=xesc
export GEQXPL_BIN_DIR_EDISON=$ATOM_EDISON/binaries/geqxpl/default
export GEQXPL_BIN_NAME_EDISON=geqxpl
export WGEQDSK_BIN_DIR_EDISON=$ATOM_EDISON/binaries/wgeqdsk/default
export WGEQDSK_BIN_NAME_EDISON=wgeqdsk
export SOLPS5_SOURCE_DIR=$ATOM_EDISON/solps-5-eirene99
#################################################
# Generalize for machine independent config files
#################################################
export IPS_PATH=$IPS_PATH_EDISON
export TRANSP_BIN_DIR=$TRANSP_BIN_DIR_EDISON
export NUBEAM_BIN_DIR=$NUBEAM_BIN_DIR_EDISON
export NTCC_BIN_DIR=$NTCC_BIN_DIR_EDISON
export TORIC_BIN_DIR=$TORIC_BIN_DIR_EDISON
export IPS_FASTRAN_DIR=$IPS_FASTRAN_DIR_EDISON
export FASTRAN_ROOT=$IPS_FASTRAN_DIR
export IPS_CSWIM_WRAPPER_PATH=$IPS_CSWIM_WRAPPER_PATH_EDISON
export IPS_WRAPPER_PATH=$IPS_WRAPPER_PATH_EDISON
export IPS_NESTED_COMP_PATH=$IPS_WRAPPER_PATH/ips-iterative-xolotlFT/test_embeded_workFlows/component_driver
export IPS_COMPONENT_A_COMP_PATH=$IPS_WRAPPER_PATH/ips-iterative-xolotlFT/test_embeded_workFlows/component_a
export IPS_COMPONENT_FTX_COMP_PATH=$ATOM/users/$USER/ips-examples/nested_ftridyn_gitr_xolotl/component_FTX
export ECHO_INSTALL_PATH=/bin
export ECHO_INSTALL_NAME=echo
export GENRAY_BIN_NAME=$GENRAY_BIN_NAME_EDISON
export GENRAY_BIN_DIR=$GENRAY_BIN_DIR_EDISON
export TORIC_BIN_NAME=$TORIC_BIN_NAME_EDISON
export TORIC_BIN_DIR=$TORIC_BIN_DIR_EDISON
export PSTOOL_BIN_NAME=$PSTOOL_BIN_NAME_EDISON
export PSTOOL_BIN_DIR=$PSTOOL_BIN_DIR_EDISON
export UPDATE_STATE_BIN_DIR=$UPDATE_STATE_BIN_DIR_EDISON
export UPDATE_STATE_BIN_NAME=$UPDATE_STATE_BIN_NAME_EDISON
export NUBEAM_BIN_NAME=$NUBEAM_BIN_NAME_EDISON
export NUBEAM_BIN_DIR=$NUBEAM_BIN_DIR_EDISON
export ESC_BIN_NAME=$ESC_BIN_NAME_EDISON
export ESC_BIN_DIR=$ESC_BIN_DIR_EDISON
export GEQXPL_BIN_DIR=$GEQXPL_BIN_DIR_EDISON
export GEQXPL_BIN_NAME=$GEQXPL_BIN_NAME_EDISON
export WGEQDSK_BIN_DIR=$WGEQDSK_BIN_DIR_EDISON
export WGEQDSK_BIN_NAME=$WGEQDSK_BIN_NAME_EDISON
################################################################
# update_state has to be in the path for some stupid hack reason
################################################################
export PATH=$UPDATE_STATE_BIN_DIR:$PATH
###################################
# Not sure what I need this for yet
###################################
EXTERN_EDISON=/project/projectdirs/atom/users/elwasif/extern-edison
export LD_LIBRARY_PATH=$EXTERN_EDISON/lib:$EXTERN_EDISON/lib64:$LD_LIBRARY_PATH
#####################
# Python module paths
#####################
export PYTHONPATH=$IPS_WRAPPER_PATH/utils:$IPS_WRAPPER_PATH/generic-drivers/:$IPS_FASTRAN_DIR/share/python/:$IPS_FASTRAN_DIR/src/:$IPS_CSWIM_WRAPPER_PATH/bin:$EXTERN_EDISON/lib/python2.7/site-packages/Numeric:$EXTERN_EDISON/lib/python2.7/site-packages:$EXTERN_EDISON/lib/python2.7/site-packages/Scientific/linux2/:$PYTHONPATH:$XOLOTL_PATH:$FTRIDYN_PYTHON:$IPS_WRAPPER_PATH_EDISON/ips-iterative-xolotlFT/python_scripts_for_coupling/
export PYPLASMASTATE_PATH=$ATOM/users/elwasif/plasma_state_build/pyplasmastate
export PYTHONPATH=$PYPLASMASTATE_PATH:$PYTHONPATH
#################
# Dakota Settings
#################
export DAKOTA_ROOT=/project/projectdirs/atom/atom-install-edison/dakota
export PATH=$DAKOTA_ROOT/bin:$PATH
export LD_LIBRARY_PATH=$DAKOTA_ROOT/lib:$LD_LIBRARY_PATH
##############
# Load modules
##############
module load cmake
module load java
module load cray-hdf5-parallel
module load python #matplotlib numpy
#module load cray-netcdf