[Swift-commit] r6864 - in SwiftTutorials/CIC_2013-08-09: . doc
wilde at ci.uchicago.edu
wilde at ci.uchicago.edu
Thu Aug 15 11:19:58 CDT 2013
Author: wilde
Date: 2013-08-15 11:19:57 -0500 (Thu, 15 Aug 2013)
New Revision: 6864
Added:
SwiftTutorials/CIC_2013-08-09/doc/TODO
Removed:
SwiftTutorials/CIC_2013-08-09/TODO
SwiftTutorials/CIC_2013-08-09/build_docs.sh
SwiftTutorials/CIC_2013-08-09/p1.png
SwiftTutorials/CIC_2013-08-09/p2.png
SwiftTutorials/CIC_2013-08-09/p3.png
SwiftTutorials/CIC_2013-08-09/p4.png
SwiftTutorials/CIC_2013-08-09/p5.png
SwiftTutorials/CIC_2013-08-09/p6.png
SwiftTutorials/CIC_2013-08-09/p7.png
SwiftTutorials/CIC_2013-08-09/p8.png
SwiftTutorials/CIC_2013-08-09/p9.png
SwiftTutorials/CIC_2013-08-09/setup.bak.sh
SwiftTutorials/CIC_2013-08-09/simulate.sh
SwiftTutorials/CIC_2013-08-09/site_catalog/
SwiftTutorials/CIC_2013-08-09/stats.sh
SwiftTutorials/CIC_2013-08-09/swift-t-extras.pptx
Log:
for cic
Deleted: SwiftTutorials/CIC_2013-08-09/TODO
===================================================================
--- SwiftTutorials/CIC_2013-08-09/TODO 2013-08-15 16:18:20 UTC (rev 6863)
+++ SwiftTutorials/CIC_2013-08-09/TODO 2013-08-15 16:19:57 UTC (rev 6864)
@@ -1,66 +0,0 @@
-1. Cleanup.sh mentioned in the tutorial
-[fixed]
-
-2. cd ../part02
-[fixed]
-
-3. support for zsh, csh
-[pending]
-
-4. What results are created and where did the outputs go ?
-and pointers to what the log files mean
-[pending]
-
-5. Part4,
-- cd ../part04 is missing. Cleanup the README
-[fixed]
-
-6. Part5
-- cd ../part05 is missing. Cleanup
-[fixed]
-
-7. Part7
--Change from running on Tukey analysis cluster compute nodes
-[fixed]
-
-8. Part6
-command line args for nsim and steps, tell user the different behavior
-that can be expected with different arg options
-[pending]
-
-9. Draw workflow for the modis demos
-[pending]
-
-10. Link to more technical swift-lang references
-[pending]
-
-11. Links to detailed language constructs, when explaining
-apps, link to the section on apps in the userguide.
-[pending]
-
-
-
----
-
-From Yadu:
-
-I've committed all the changes that I made on Friday and you can get them
-from -> https://svn.ci.uchicago.edu/svn/vdl2/SwiftTutorials/CIC_2013-08-09
-
-I'm trying to make this tutorial easily work on several sites so that, we
-do not have to tweak things for every single tutorial. Once this is done,
-I can also add it to the test-battery as well. I think this has value
-considering that we spend atleast 1-2 days for every demo.
-
-Now, the major pending item is the Modis demo, specifically the issue of
-bringing data to any site and scripts. Slight tweaks to allow for sending
-the scripts as args to apps would also be needed.
-
-So the major changes are:
-1. Source the setup.sh script with the target site name
-eg. source setups.sh <cloud|uc3|midway|beagle>
-2. No separate cloud folder
-3. [pending] fix modis data and scripts
-4. [pending] support for zsh and other shells?
-
----
Deleted: SwiftTutorials/CIC_2013-08-09/build_docs.sh
===================================================================
--- SwiftTutorials/CIC_2013-08-09/build_docs.sh 2013-08-15 16:18:20 UTC (rev 6863)
+++ SwiftTutorials/CIC_2013-08-09/build_docs.sh 2013-08-15 16:19:57 UTC (rev 6864)
@@ -1,11 +0,0 @@
-#!/bin/bash -e
-
-pushd part11-swift-py-r/code >& /dev/null
-# Strip comments, blank lines; prepend shell prompt ($)
-grep -A 20 stc run-dets.sh | \
- grep -v -e "^$\|#" | \
- sed 's/^/$ /' > run-dets.sh.txt
-popd >& /dev/null
-
-~davidk/asciidoc-8.6.4/asciidoc -a toc -a toplevels=2 -a stylesheet=~davidk/swift-0.94/cog/modules/swift/docs/stylesheets/asciidoc.css -a max-width=800px -o tutorial.html README
-
Copied: SwiftTutorials/CIC_2013-08-09/doc/TODO (from rev 6846, SwiftTutorials/CIC_2013-08-09/TODO)
===================================================================
--- SwiftTutorials/CIC_2013-08-09/doc/TODO (rev 0)
+++ SwiftTutorials/CIC_2013-08-09/doc/TODO 2013-08-15 16:19:57 UTC (rev 6864)
@@ -0,0 +1,87 @@
+PLAN
+
+basics
+cloud
+uc3
+multisystems
+(modis)
+
+get hosts.txt for cloud dynamically
+
+ISSUES
+
+error in pin files? debug and turn back on
+PATH issues for various providers
+
+bin dir?
+
+setup.csh and .csh testing
+
+IMPROVEMENTS
+
+1. Cleanup.sh mentioned in the tutorial
+[fixed]
+
+2. cd ../part02
+[fixed]
+
+3. support for zsh, csh
+[pending]
+
+4. What results are created and where did the outputs go ?
+and pointers to what the log files mean
+[pending]
+
+5. Part4,
+- cd ../part04 is missing. Cleanup the README
+[fixed]
+
+6. Part5
+- cd ../part05 is missing. Cleanup
+[fixed]
+
+7. Part7
+-Change from running on Tukey analysis cluster compute nodes
+[fixed]
+
+8. Part6
+command line args for nsim and steps, tell user the different behavior
+that can be expected with different arg options
+[pending]
+
+9. Draw workflow for the modis demos
+[pending]
+
+10. Link to more technical swift-lang references
+[pending]
+
+11. Links to detailed language constructs, when explaining
+apps, link to the section on apps in the userguide.
+[pending]
+
+
+
+---
+
+From Yadu:
+
+I've committed all the changes that I made on Friday and you can get them
+from -> https://svn.ci.uchicago.edu/svn/vdl2/SwiftTutorials/CIC_2013-08-09
+
+I'm trying to make this tutorial easily work on several sites so that, we
+do not have to tweak things for every single tutorial. Once this is done,
+I can also add it to the test-battery as well. I think this has value
+considering that we spend atleast 1-2 days for every demo.
+
+Now, the major pending item is the Modis demo, specifically the issue of
+bringing data to any site and scripts. Slight tweaks to allow for sending
+the scripts as args to apps would also be needed.
+
+So the major changes are:
+1. Source the setup.sh script with the target site name
+eg. source setups.sh <cloud|uc3|midway|beagle>
+2. No separate cloud folder
+3. [pending] fix modis data and scripts
+4. [pending] support for zsh and other shells?
+
+---
Deleted: SwiftTutorials/CIC_2013-08-09/p1.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p2.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p3.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p4.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p5.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p6.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p7.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p8.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/p9.png
===================================================================
(Binary files differ)
Deleted: SwiftTutorials/CIC_2013-08-09/setup.bak.sh
===================================================================
--- SwiftTutorials/CIC_2013-08-09/setup.bak.sh 2013-08-15 16:18:20 UTC (rev 6863)
+++ SwiftTutorials/CIC_2013-08-09/setup.bak.sh 2013-08-15 16:19:57 UTC (rev 6864)
@@ -1,51 +0,0 @@
-export SWIFT_HEAP_MAX=4G
-
-if which swift >& /dev/null; then
- :
-else
- echo "Trying to load swift module:"
- module load swift
- if which swift >& /dev/null; then
- Swift loaded from module
- else
- echo "Cant find a swift to run"
- return
- fi
-fi
-
-echo -e "\\nUsing swift release from: \\c"
-which swift
-swift -version
-
-DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-echo Adding $DIR to PATH:
-PATH=$DIR:$PATH
-
-if [ -e $HOME/.swift ]; then
- savedotswift=$(mktemp -d $HOME/.swift.save.XXXX)
- echo Saving $HOME/.swift in $savedotswift
- mv $HOME/.swift/* $savedotswift
-else
- mkdir -p $HOME/.swift
-fi
-
-cat >>$HOME/.swift/swift.properties <<END
-
-# Properties for Swift Tutorial
-
-sites.file=sites.xml
-tc.file=apps
-
-wrapperlog.always.transfer=true
-sitedir.keep=true
-file.gc.enabled=false
-status.mode=provider
-
-execution.retries=0
-lazy.errors=false
-
-use.wrapper.staging=false
-use.provider.staging=true
-provider.staging.pin.swiftfiles=true
-
-END
Deleted: SwiftTutorials/CIC_2013-08-09/simulate.sh
===================================================================
--- SwiftTutorials/CIC_2013-08-09/simulate.sh 2013-08-15 16:18:20 UTC (rev 6863)
+++ SwiftTutorials/CIC_2013-08-09/simulate.sh 2013-08-15 16:19:57 UTC (rev 6864)
@@ -1,23 +0,0 @@
-#! /bin/bash
-
-runtime=${1:-0}
-range=${2:-100}
-biasfile=${3:-nobias}
-scale=${4:-1}
-n=${5:-1}
-
-if [ $biasfile = nobias ]; then
- offset=0
-else
- read offset <$biasfile
-fi
-
-# run for some number of "timesteps"
-
-sleep $runtime
-
-# emit n "simulation results", scaled and biased by the specified argument values
-
-for ((i=0;i<n;i++)); do
- echo $(( ($RANDOM%range)*scale+offset))
-done
Deleted: SwiftTutorials/CIC_2013-08-09/stats.sh
===================================================================
--- SwiftTutorials/CIC_2013-08-09/stats.sh 2013-08-15 16:18:20 UTC (rev 6863)
+++ SwiftTutorials/CIC_2013-08-09/stats.sh 2013-08-15 16:19:57 UTC (rev 6864)
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-awk '
-
-{ sum += $1}
-
-END { print sum/NR }
-' $*
-
Deleted: SwiftTutorials/CIC_2013-08-09/swift-t-extras.pptx
===================================================================
(Binary files differ)
More information about the Swift-commit
mailing list