[Swift-commit] r6236 - in trunk/docs: . cookbook utils

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Feb 5 09:43:43 CST 2013


Author: ketan
Date: 2013-02-05 09:43:43 -0600 (Tue, 05 Feb 2013)
New Revision: 6236

Modified:
   trunk/docs/build_docs.sh
   trunk/docs/cookbook/debugging
   trunk/docs/utils/gensites.txt
Log:
build script mods for mac

Modified: trunk/docs/build_docs.sh
===================================================================
--- trunk/docs/build_docs.sh	2013-02-05 15:10:54 UTC (rev 6235)
+++ trunk/docs/build_docs.sh	2013-02-05 15:43:43 UTC (rev 6236)
@@ -57,8 +57,14 @@
    chmod $CHMOD_DIRECTORY_MODE $INSTALLATION_DIRECTORY > /dev/null 2>&1
 fi
 
+unamestr=`\uname`
+if [[ "$unamestr" == 'Linux' ]]; then
+   pushd $(dirname $(readlink -f $0)) > /dev/null 2>&1
+else
+   pushd $(dirname $(greadlink -f $0)) > /dev/null 2>&1
+fi
+
 # Gather version information
-pushd $(dirname $(readlink -f $0)) > /dev/null 2>&1
 pushd .. > /dev/null 2>&1
 VERSION=`svn info |grep URL|awk -F / '{print $NF}'`
 popd > /dev/null 2>&1

Modified: trunk/docs/cookbook/debugging
===================================================================
--- trunk/docs/cookbook/debugging	2013-02-05 15:10:54 UTC (rev 6235)
+++ trunk/docs/cookbook/debugging	2013-02-05 15:43:43 UTC (rev 6236)
@@ -1,17 +1,23 @@
 Debugging Swift
 ---------------
-Swift errors are logged in several places:
 
+Swift errors are logged in several places. In case of errors, following places
+should be inspected for clues:
+
 . All text from standard output and standard error produced by running the
 swift command
+
 . The .log file from this run. It will be named script.uniqueID.log
 where "script" is the name of your *.swift script source file, and
 uniqueID is a long unique id which starts with the date and time you ran the
 swift command.
+
 . $HOME/.globus/coasters directory on remote machines on which you are
 running coasters
+
 . $HOME/.globus/scripts directory on the host on which you run the Swift
 command, when swift is submitting to a local scheduler (Condor, PBS, SGE,
 Cobalt)
+
 . $HOME/.globus/??? on remote systems that you access via Globus 
 

Modified: trunk/docs/utils/gensites.txt
===================================================================
--- trunk/docs/utils/gensites.txt	2013-02-05 15:10:54 UTC (rev 6235)
+++ trunk/docs/utils/gensites.txt	2013-02-05 15:43:43 UTC (rev 6236)
@@ -51,18 +51,11 @@
 -----
 
 Running this command will print some information about the template and give
-you an idea of what settings you will need to specify. You should see
-something like this:
+you an idea of what settings you will need to specify. 
 
------
-Description: Template for Intrepid. More information about this system can be found at http://www.alcf.anl.gov/support/gettingstarted/index.php
-Required Tokens: host work project queue
------
+The required tokens are required to properly use the templates. These are
+placeholder values you will need to specify in the following steps.
 
-The required tokens are required to properly use the templates. These are placeholder 
-values you will need to specify in the
-following steps.
-
 Providing Site Specific Values
 ------------------------------
 




More information about the Swift-commit mailing list