Changeset 632
- Timestamp:
- Mar 20, 2007, 2:12:34 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r628 r632 10 10 chmod 755 gui/apps/rappture 11 11 cp gui/apps/rappture @prefix@/bin 12 cp gui/apps/rappture.env @prefix@/bin 12 13 cp gui/apps/driver @prefix@/bin 13 14 cp gui/apps/rerun @prefix@/bin 14 15 cp gui/apps/simsim @prefix@/bin 16 cp gui/apps/simsim.py @prefix@/bin 15 17 find @prefix@ -name .svn | xargs rm -rf 16 18 -
trunk/configure
r577 r632 5302 5302 5303 5303 5304 ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/rappture "5304 ac_config_files="$ac_config_files Makefile examples/demo.bash examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/wrapper/cee/Makefile examples/c-example/Makefile perl/Makefile.PL python/setup.py src/Makefile src/matlab/Makefile src/octave/Makefile src2/core/Makefile test/Makefile gui/apps/rappture gui/apps/rappture.env" 5305 5305 5306 5306 cat >confcache <<\_ACEOF … … 5885 5885 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 5886 5886 "gui/apps/rappture") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture" ;; 5887 "gui/apps/rappture.env") CONFIG_FILES="$CONFIG_FILES gui/apps/rappture.env" ;; 5887 5888 5888 5889 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -
trunk/configure.in
r577 r632 210 210 src2/core/Makefile \ 211 211 test/Makefile \ 212 gui/apps/rappture ) 212 gui/apps/rappture \ 213 gui/apps/rappture.env ) -
trunk/gui/apps/rappture.in
r558 r632 9 9 # ====================================================================== 10 10 # AUTHOR: Michael McLennan, Purdue University 11 # Copyright (c) 2004-200 5Purdue Research Foundation11 # Copyright (c) 2004-2007 Purdue Research Foundation 12 12 # 13 13 # See the file "license.terms" for information on usage and 14 14 # redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. 15 15 # ====================================================================== 16 #17 # If you install Rappture elsewhere, edit the line below:18 RAPPTURE_INSTALL_DIR=@prefix@19 16 20 # no need to edit the rest... 21 export PATH=$RAPPTURE_INSTALL_DIR/bin:$PATH 22 export PERL5LIB=$RAPPTURE_INSTALL_DIR/lib/perl5:$PERL5LIB 23 export PYTHONPATH=$RAPPTURE_INSTALL_DIR/lib/python@PYTHON_VERSION@/site-packages:$PYTHONPATH 24 export MATLABPATH=$RAPPTURE_INSTALL_DIR/lib/matlab:$MATLABPATH 25 export OCTAVE_PATH=:$RAPPTURE_INSTALL_DIR/lib/octave:$OCTAVE_PATH 26 export LD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$LD_LIBRARY_PATH 27 export DYLD_LIBRARY_PATH=$RAPPTURE_INSTALL_DIR/lib:$DYLD_LIBRARY_PATH 28 export TCL_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tcl8.4 29 export TK_LIBRARY=$RAPPTURE_INSTALL_DIR/lib/tk8.4 17 . rappture.env 30 18 exec $RAPPTURE_INSTALL_DIR/bin/driver $* -
trunk/gui/apps/simsim
r631 r632 11 11 # ====================================================================== 12 12 # 13 . rappture _env13 . rappture.env 14 14 exec python simsim.py $* -
trunk/gui/apps/simsim.py
r629 r632 5 5 import random 6 6 import getopt 7 import time 7 8 8 9 … … 78 79 value = random.randint(0,1) 79 80 if (value == 1): 80 value = " true"81 value = "yes" 81 82 else: 82 value = " false"83 value = "no" 83 84 child.put("current",str(value)) 85 86 def writeDriver(lib): 87 driverFile = 'driver%d.xml' % time.time() 88 fp = open(driverFile,'w') 89 fp.write(lib.xml()) 90 fp.close() 91 return driverFile 84 92 85 93 def printHelp(): … … 131 139 childList = childList + addList 132 140 133 Rappture.result(lib) 141 for pathValue in args: 142 (path,value) = pathValue.split(":") 143 lib.put(path+".current",value) 134 144 145 print writeDriver(lib)
Note: See TracChangeset
for help on using the changeset viewer.