forked from LLNL/STAT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSTAT.in
82 lines (78 loc) · 2.34 KB
/
STAT.in
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
#!/bin/sh
# @configure_input@
export prefix=@prefix@
export exec_prefix=@exec_prefix@
if test -n "$STAT_PREFIX" ; then
export prefix=$STAT_PREFIX
fi
export STAT_BIN=$prefix/bin/STATbin
export STATBENCH_BIN=$prefix/bin/STATBenchbin
if test -z $LD_LIBRARY_PATH
then
export LD_LIBRARY_PATH=$prefix/lib
else
export LD_LIBRARY_PATH=$prefix/lib:$LD_LIBRARY_PATH
fi
if test -z "$STAT_LMON_REMOTE_LOGIN" ; then
export STAT_LMON_REMOTE_LOGIN=@rshcmd@
fi
if test -z "$STAT_XPLAT_RSH" ; then
export STAT_XPLAT_RSH=@rshcmd@
fi
if test -z "$STAT_GDB" ; then
export STAT_GDB=@gdbcmd@
fi
if test -z "$STAT_FGFS_FILTER_PATH" ; then
if test -n "$FGFS_PREFIX" ; then
export STAT_FGFS_FILTER_PATH=$FGFS_PREFIX/lib/libfgfs_filter.so
else
export STAT_FGFS_FILTER_PATH=@FGFSFILTERPATH@
fi
fi
if test -z "$STAT_MRNET_COMM_PATH" ; then
if test -n "$MRNET_PREFIX" ; then
export STAT_MRNET_COMM_PATH=$MRNET_PREFIX/bin/mrnet_commnode
else
export STAT_MRNET_COMM_PATH=@MRNETCOMMNODEBIN@
fi
fi
if test -z "$STAT_LMON_PREFIX" ; then
if test -n "$LMON_PREFIX" ; then
export STAT_LMON_PREFIX=$LMON_PREFIX
else
export STAT_LMON_PREFIX=@LAUNCHMONPREFIX@
fi
fi
if test -z "$STAT_LMON_LAUNCHMON_ENGINE_PATH" ; then
if test -n "$LMON_PREFIX" ; then
export STAT_LMON_LAUNCHMON_ENGINE_PATH=$LMON_PREFIX/bin/launchmon
else
export STAT_LMON_LAUNCHMON_ENGINE_PATH=@LAUNCHMONBIN@
fi
fi
if test -z "$STAT_LMON_NEWLAUNCHMON_ENGINE_PATH" ; then
if test -n "$LMON_PREFIX" ; then
export STAT_LMON_NEWLAUNCHMON_ENGINE_PATH=$LMON_PREFIX/bin/newlaunchmon
else
export STAT_LMON_NEWLAUNCHMON_ENGINE_PATH=@NEWLAUNCHMONBIN@
fi
fi
if test -z "$DYNINSTAPI_RT_LIB" ; then
if test -n "$STACKWALKER_PREFIX" ; then
export DYNINSTAPI_RT_LIB=$STACKWALKER_PREFIX/lib/libdyninstAPI_RT.so
else
export DYNINSTAPI_RT_LIB=@STACKWALKERPREFIX@/lib/libdyninstAPI_RT.so
fi
fi
if test -z "$STAT_MRNET_DEBUG_LOG_DIRECTORY" ; then
export STAT_MRNET_DEBUG_LOG_DIRECTORY=/dev/null
fi
if test -z "$STAT_CONNECT_TIMEOUT" ; then
export STAT_CONNECT_TIMEOUT=600
fi
if test -z "$LMON_FE_ENGINE_TIMEOUT" ; then
export LMON_FE_ENGINE_TIMEOUT=600
fi
export PATH=$PATH:@DOTBINDIR@
export PYTHONPATH=@pythondir@:@pyexecdir@:@PYTHONPATH@
exec @STATPYTHON@ @pythondir@/STATmain.py $@