[Swift-commit] r3540 - in usertools/swift/swiftconfig: etc etc/apps lib/perl

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Aug 16 01:34:44 CDT 2010


Author: davidk
Date: 2010-08-16 01:34:43 -0500 (Mon, 16 Aug 2010)
New Revision: 3540

Added:
   usertools/swift/swiftconfig/etc/apps/
   usertools/swift/swiftconfig/etc/apps/imagemagick.apps
   usertools/swift/swiftconfig/etc/apps/linux.apps
Modified:
   usertools/swift/swiftconfig/lib/perl/SwiftConfig.pm
Log:
Default apps


Added: usertools/swift/swiftconfig/etc/apps/imagemagick.apps
===================================================================
--- usertools/swift/swiftconfig/etc/apps/imagemagick.apps	                        (rev 0)
+++ usertools/swift/swiftconfig/etc/apps/imagemagick.apps	2010-08-16 06:34:43 UTC (rev 3540)
@@ -0,0 +1,11 @@
+$HOST	convert	/usr/bin/convert	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	mogrify	/usr/bin/mogrify	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	identify	/usr/bin/identify	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	composite	/usr/bin/composite	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	montage	/usr/bin/montage	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	compare	/usr/bin/compare	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	stream	/usr/bin/stream	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	display	/usr/bin/display	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	animate	/usr/bin/animate	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	import	/usr/bin/import	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"
+$HOST	conjure	/usr/bin/conjure	INSTALLED	INTEL32::LINUX	GLOBUS::maxwalltime="00:05:00"

Added: usertools/swift/swiftconfig/etc/apps/linux.apps
===================================================================
--- usertools/swift/swiftconfig/etc/apps/linux.apps	                        (rev 0)
+++ usertools/swift/swiftconfig/etc/apps/linux.apps	2010-08-16 06:34:43 UTC (rev 3540)
@@ -0,0 +1,7 @@
+$HOST 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX	$TIME
+$HOST 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX	$TIME
+$HOST 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX	$TIME
+$HOST 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX	$TIME
+$HOST 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX	$TIME
+$HOST 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX	$TIME
+

Modified: usertools/swift/swiftconfig/lib/perl/SwiftConfig.pm
===================================================================
--- usertools/swift/swiftconfig/lib/perl/SwiftConfig.pm	2010-08-16 05:35:45 UTC (rev 3539)
+++ usertools/swift/swiftconfig/lib/perl/SwiftConfig.pm	2010-08-16 06:34:43 UTC (rev 3540)
@@ -462,8 +462,10 @@
     my $counter=0;
     foreach(@app_data) {
         ($site, $name, $path, $status, $platform, $profile) = split(/\s+/);
-        my $nicely_formatted = sprintf("%-15s %-30s %-35s", $name, $path, $profile);
-        print "$nicely_formatted\n";
+        if($name) {
+            my $nicely_formatted = sprintf("%-15s %-30s %-35s", $name, $path, $profile);
+            print "$nicely_formatted\n";
+        }
     }
 
 }




More information about the Swift-commit mailing list