[Swift-commit] r6594 - in SwiftApps/strains: . bin

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Tue Jul 2 13:39:25 CDT 2013


Author: davidk
Date: 2013-07-02 13:39:25 -0500 (Tue, 02 Jul 2013)
New Revision: 6594

Added:
   SwiftApps/strains/bin/
   SwiftApps/strains/bin/FitPosOrStrains
   SwiftApps/strains/bin/run_FitPosOrStrains.sh
Log:
FitPosOrStrains and run_FitPosOrStrains.sh


Added: SwiftApps/strains/bin/FitPosOrStrains
===================================================================
(Binary files differ)


Property changes on: SwiftApps/strains/bin/FitPosOrStrains
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: SwiftApps/strains/bin/run_FitPosOrStrains.sh
===================================================================
--- SwiftApps/strains/bin/run_FitPosOrStrains.sh	                        (rev 0)
+++ SwiftApps/strains/bin/run_FitPosOrStrains.sh	2013-07-02 18:39:25 UTC (rev 6594)
@@ -0,0 +1,39 @@
+#!/bin/sh
+# script for execution of deployed applications
+#
+# Sets up the MCR environment for the current $ARCH and executes 
+# the specified command.
+#
+exe_name=$0
+exe_dir=`dirname "$0"`
+echo "------------------------------------------"
+if [ "x$1" = "x" ]; then
+  echo Usage:
+  echo    $0 \<deployedMCRroot\> args
+else
+  echo Setting up environment variables
+  MCRROOT="$1"
+  echo ---
+  LD_LIBRARY_PATH=.:${MCRROOT}/runtime/glnxa64 ;
+  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/bin/glnxa64 ;
+  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/os/glnxa64;
+	MCRJRE=${MCRROOT}/sys/java/jre/glnxa64/jre/lib/amd64 ;
+	LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/native_threads ; 
+	LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/server ;
+	LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/client ;
+	LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE} ;  
+  XAPPLRESDIR=${MCRROOT}/X11/app-defaults ;
+  export LD_LIBRARY_PATH;
+  export XAPPLRESDIR;
+  echo LD_LIBRARY_PATH is ${LD_LIBRARY_PATH};
+  shift 1
+  args=
+  while [ $# -gt 0 ]; do
+      token=`echo "$1" | sed 's/ /\\\\ /g'`   # Add blackslash before each blank
+      args="${args} ${token}" 
+      shift
+  done
+  "${exe_dir}"/FitPosOrStrains $args
+fi
+exit
+


Property changes on: SwiftApps/strains/bin/run_FitPosOrStrains.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the Swift-commit mailing list