[Swift-commit] r5112 - trunk/docs/siteguide

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Sep 14 12:32:25 CDT 2011


Author: davidk
Date: 2011-09-14 12:32:24 -0500 (Wed, 14 Sep 2011)
New Revision: 5112

Added:
   trunk/docs/siteguide/fusion
Modified:
   trunk/docs/siteguide/siteguide.txt
Log:
Fusion siteguide


Added: trunk/docs/siteguide/fusion
===================================================================
--- trunk/docs/siteguide/fusion	                        (rev 0)
+++ trunk/docs/siteguide/fusion	2011-09-14 17:32:24 UTC (rev 5112)
@@ -0,0 +1,123 @@
+Fusion
+----
+
+Fusion Quickstart
+~~~~~~~~~~~~~~~
+This section will walk you through running a simple Swift script
+on Fusion. 
+
+Creating sites.xml
+^^^^^^^^^^^^^^^^^^
+Swift relies on various configuration files to determine how to
+run. This section will provide a working configuration file which
+you can copy and paste to get running quickly. The sites.xml file
+tells Swift how to submit jobs, where working directories are
+located, and various other configuration information. More 
+information on sites.xml can be found in the Swift User's Guide.
+
+The first step is to paste the text below into a file named sites.xml.
+
+-----
+include::../../tests/providers/fusion/sites.template.xml[]
+-----
+
+This file will require one customization. Create a 
+directory called swiftwork. Modify \_WORK_ in sites.xml
+to point to this new directory. For example
+-----
+<workdirectory>/home/myhome/swiftwork</workdirectory>
+-----
+
+Creating tc.data
+^^^^^^^^^^^^^^^^
+The tc.data configuration file gives information about the applications
+that will be called by Swift. More information about the format
+of tc.data can be found in the Swift User's guide.
+
+Paste the following example into a file named tc.data
+
+-----
+include::../../tests/providers/fusion/tc.template.data[]
+-----
+
+Copy a Swift Script
+^^^^^^^^^^^^^^^^^^^
+
+Within the Swift directory is an examples directory which contains
+several introductory Swift scripts. The example we will use in this
+section is called catsn.swift. Copy this script to the same directory
+that your sites.xml and tc.data files are located.
+
+-----
+$ cp ~/swift-0.93/examples/misc/catsn.swift .
+$ cp ~/swift-0.93/examples/misc/data.txt .
+-----
+TIP: The location of your swift directory may vary depending on how you installed it. Change this to the examples/misc directory of your installation as needed.
+
+Run Swift
+^^^^^^^^^
+
+Finally, run the script
+-----
+$ swift -sites.file sites.xml -tc.file tc.data catsn.swift
+-----
+
+You should see 10 new text files get created, named catsn*.out. If
+you see these files, then you have succesfully run Swift on Fusion! 
+
+Requesting Access
+~~~~~~~~~~~~~~~~~
+If you do not already have a Fusion account, you can request one at 
+https://accounts.lcrc.anl.gov/request.php. Email support at lcrc.anl.gov
+for additional help.
+
+SSH Keys
+~~~~~~~~
+Before accessing Fusion, be sure to have your SSH keys configured correctly.
+SSH keys are required to access fusion. You should see information about 
+this when you request your account. Email support at lcrc.anl.gov for
+additional help. 
+
+Connecting to a login node
+~~~~~~~~~~~~~~~~~~~~~~~~~~
+Once your keys are configured, you should be able to access a Fusion login
+node with the following command:
+
+-----
+ssh yourusername at fusion.lcrc.anl.gov
+-----
+
+Projects
+~~~~~~~~
+In order to run a job on a Fusion compute node, you must first be associated 
+with a project.
+
+Each project has one or more Primary Investigators, or PIs. These PIs are
+responsible for adding and removing users to a project. Contact the PI of
+your project to be added.
+
+More information on this process can be found at 
+http://www.lcrc.anl.gov/info/Projects.
+
+Queues
+~~~~~~
+Fusion has two queues: shared and batch. The shared queue has a maximum 1 
+hour walltime and limited to 4 nodes. The batch queue is for all other 
+jobs.
+
+Edit your sites.xml file and edit the queue option to modify Swift's 
+behavior. For example:
+
+-----
+<profile namespace="globus" key="queue">batch</profile>
+-----
+
+More information on Fusion queues can be found at
+http://www.lcrc.anl.gov/info/BatchJobs.
+
+More Help
+~~~~~~~~~
+The best place for additional help is the Swift user mailing list. You can subscribe to this list at
+https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user. When submitting information, please send your sites.xml file, your tc.data, and any Swift log files that were created during your attempt.
+
+

Modified: trunk/docs/siteguide/siteguide.txt
===================================================================
--- trunk/docs/siteguide/siteguide.txt	2011-09-14 17:31:06 UTC (rev 5111)
+++ trunk/docs/siteguide/siteguide.txt	2011-09-14 17:32:24 UTC (rev 5112)
@@ -10,6 +10,8 @@
 
 include::pads[]
 
+include::fusion[]
+
 include::beagle[]
 
 include::intrepid[]




More information about the Swift-commit mailing list