From davidk at ci.uchicago.edu Tue Nov 1 00:05:10 2011 From: davidk at ci.uchicago.edu (davidk at ci.uchicago.edu) Date: Tue, 1 Nov 2011 00:05:10 -0500 (CDT) Subject: [Swift-commit] r5267 - branches/release-0.93/docs/userguide Message-ID: <20111101050510.C6D4B9CCAA@svn.ci.uchicago.edu> Author: davidk Date: 2011-11-01 00:05:10 -0500 (Tue, 01 Nov 2011) New Revision: 5267 Modified: branches/release-0.93/docs/userguide/transformation_catalog Log: Explain how to set environment variables Modified: branches/release-0.93/docs/userguide/transformation_catalog =================================================================== --- branches/release-0.93/docs/userguide/transformation_catalog 2011-10-31 19:32:08 UTC (rev 5266) +++ branches/release-0.93/docs/userguide/transformation_catalog 2011-11-01 05:05:10 UTC (rev 5267) @@ -8,7 +8,7 @@ Swift configuration file or on the command line. The format is one line per executable per site, with fields separated by -tabs. Spaces cannot be used to separate fields. +tabs. Some example entries: ---- @@ -17,7 +17,7 @@ ---- The fields are: site, transformation name, executable path, installation -status, platform, and profile entrys. +status, platform, and profile entries. The site field should correspond to a site name listed in the sites catalog. @@ -31,5 +31,23 @@ INSTALLED and INTEL32::LINUX respectively. The profiles field should be set to null if no profile entries are to -be specified, or should contain the profile entries separated by -semicolons. +be specified. + +Setting Environment Variables +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +It is often useful to set environment variables when running an application. +This can be accomplished using *env* in the profile entry. For example, +the following application sets an environment variable called R_LIBS to +/home/user/R_libs. +----- +localhost R /usr/bin/R INSTALLED INTEL32::LINUX env::R_LIBS=/home/user/r_libs +----- + +Setting Multiple Profiles +~~~~~~~~~~~~~~~~~~~~~~~~~ +Multiple profile entries can be added by using a semicolon. The example below +sets two environment variables: R_LIBS and R_HOME. + +----- +localhost R /usr/bin/R INSTALLED INTEL32::LINUX env::R_LIBS=/home/user/r_libs;env::R_HOME=/home/user/r +----- From davidk at ci.uchicago.edu Tue Nov 1 00:09:56 2011 From: davidk at ci.uchicago.edu (davidk at ci.uchicago.edu) Date: Tue, 1 Nov 2011 00:09:56 -0500 (CDT) Subject: [Swift-commit] r5268 - trunk/docs/userguide Message-ID: <20111101050956.2D2F69CCAA@svn.ci.uchicago.edu> Author: davidk Date: 2011-11-01 00:09:55 -0500 (Tue, 01 Nov 2011) New Revision: 5268 Modified: trunk/docs/userguide/transformation_catalog Log: Examples of setting environment variables Modified: trunk/docs/userguide/transformation_catalog =================================================================== --- trunk/docs/userguide/transformation_catalog 2011-11-01 05:05:10 UTC (rev 5267) +++ trunk/docs/userguide/transformation_catalog 2011-11-01 05:09:55 UTC (rev 5268) @@ -8,7 +8,7 @@ Swift configuration file or on the command line. The format is one line per executable per site, with fields separated by -tabs. Spaces cannot be used to separate fields. +tabs. Some example entries: ---- @@ -17,7 +17,7 @@ ---- The fields are: site, transformation name, executable path, installation -status, platform, and profile entrys. +status, platform, and profile entries. The site field should correspond to a site name listed in the sites catalog. @@ -31,5 +31,23 @@ INSTALLED and INTEL32::LINUX respectively. The profiles field should be set to null if no profile entries are to -be specified, or should contain the profile entries separated by -semicolons. +be specified. + +Setting Environment Variables +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +It is often useful to set environment variables when running an application. +This can be accomplished using *env* in the profile entry. For example, +the following application sets an environment variable called R_LIBS to +/home/user/R_libs. +----- +localhost R /usr/bin/R INSTALLED INTEL32::LINUX env::R_LIBS=/home/user/r_libs +----- + +Setting Multiple Profiles +~~~~~~~~~~~~~~~~~~~~~~~~~ +Multiple profile entries can be added by using a semicolon. The example below +sets two environment variables: R_LIBS and R_HOME. + +----- +localhost R /usr/bin/R INSTALLED INTEL32::LINUX env::R_LIBS=/home/user/r_libs;env::R_HOME=/home/user/r +----- From lgadelha at ci.uchicago.edu Tue Nov 1 10:57:01 2011 From: lgadelha at ci.uchicago.edu (lgadelha at ci.uchicago.edu) Date: Tue, 1 Nov 2011 10:57:01 -0500 (CDT) Subject: [Swift-commit] r5269 - provenancedb Message-ID: <20111101155701.AE2D69CCA5@svn.ci.uchicago.edu> Author: lgadelha Date: 2011-11-01 10:57:01 -0500 (Tue, 01 Nov 2011) New Revision: 5269 Modified: provenancedb/ProvSQL.g Log: Minor changes. Modified: provenancedb/ProvSQL.g =================================================================== --- provenancedb/ProvSQL.g 2011-11-01 05:09:55 UTC (rev 5268) +++ provenancedb/ProvSQL.g 2011-11-01 15:57:01 UTC (rev 5269) @@ -330,6 +330,8 @@ selectClause += ".*"; } ')' { selectClause+=")"; } + | + builtInAttribute ; selectExpression @@ -558,6 +560,12 @@ entityAttribute : ID (DOT ID)?; +builtInAttribute + : COMPARERUN '(' builtInAtom (COLON builtInAtom)* ')' (DOT ID)?; + +builtInAtom + : ('parameter' | 'key' ) '=' STRING ; + entityAndAttribute : ID DOT ID; @@ -570,6 +578,8 @@ COMPARERUN : 'compare_run'; +ANCESTOR: 'ancestor'; + BY : 'by'; AGGRFUN : 'avg' | 'max' | 'min' | 'count' | 'sum'; From tga at ci.uchicago.edu Tue Nov 1 11:27:23 2011 From: tga at ci.uchicago.edu (tga at ci.uchicago.edu) Date: Tue, 1 Nov 2011 11:27:23 -0500 (CDT) Subject: [Swift-commit] r5270 - SwiftApps/SwiftR/Swift/exec Message-ID: <20111101162723.033B19CCA5@svn.ci.uchicago.edu> Author: tga Date: 2011-11-01 11:27:22 -0500 (Tue, 01 Nov 2011) New Revision: 5270 Modified: SwiftApps/SwiftR/Swift/exec/rserver.swift Log: Add log message when batch completes Modified: SwiftApps/SwiftR/Swift/exec/rserver.swift =================================================================== --- SwiftApps/SwiftR/Swift/exec/rserver.swift 2011-11-01 15:57:01 UTC (rev 5269) +++ SwiftApps/SwiftR/Swift/exec/rserver.swift 2011-11-01 16:27:22 UTC (rev 5270) @@ -23,6 +23,7 @@ wait = apply(runDir); string resultPipeName = @strcat(runDir,"/resultpipe"); + tracef("%k%s done\n", wait, resultPipeName); fprintf(resultPipeName, "%kdone\n", wait); } From davidk at ci.uchicago.edu Wed Nov 2 00:32:14 2011 From: davidk at ci.uchicago.edu (davidk at ci.uchicago.edu) Date: Wed, 2 Nov 2011 00:32:14 -0500 (CDT) Subject: [Swift-commit] r5271 - in wwwdev: docs support Message-ID: <20111102053214.CD9779CCAA@svn.ci.uchicago.edu> Author: davidk Date: 2011-11-02 00:32:13 -0500 (Wed, 02 Nov 2011) New Revision: 5271 Modified: wwwdev/docs/index.php wwwdev/support/index.php Log: Add searches to mailing lists and documentation Modified: wwwdev/docs/index.php =================================================================== --- wwwdev/docs/index.php 2011-11-01 16:27:22 UTC (rev 5270) +++ wwwdev/docs/index.php 2011-11-02 05:32:13 UTC (rev 5271) @@ -85,6 +85,18 @@
+