[Bug 1018] New: Make app definitions in tc.data optional
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1018 Summary: Make app definitions in tc.data optional Product: Swift Version: trunk Platform: PC OS/Version: Mac OS Status: ASSIGNED Severity: normal Priority: P2 Component: General AssignedTo: [email protected] ReportedBy: [email protected] Make app definitions in tc.data optional. For example: app (file o) cat (file i) { cat @i stdout=@o; } There is no definition for cat in tc.data here. The command "cat" would still run on the worker node and be assumed to be available via $PATH for every pool entry you have defined. You should also be able to define a full pathname to an app without a tc.data entry: app (file o) cat (file i) { /bin/cat @i stdout=@o; } For situations where an app is available on one site and not another, you can define things as you currently do in tc.data and force apps to only run on selected sites. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1018 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Mihael Hategan <[email protected]> 2013-07-18 21:33:09 --- This is now in trunk (r6661). It will not work without a definition in tc.data. The reason for that was because it was hard to do the forcing of apps to run on specific sites that way. Instead, there are now wildcards allowed in tc.data, and apps are looked in the following order, the lookup stopping whenever the first match is found: Priority 1 (highest): - look for exact app+site match; e.g. "localhost echo /bin/echo ..." - there is one modification here in that the physical path can be * (as in "localhost echo * ...") to tell swift it should let the OS look for the app. It is equivalent to saying "localhost echo echo ...". Priority 2: - look for exact host name, but wildcard app name: "localhost * * ..." Priority 3: - look for exact app name, but wildcard host: "* echo /bin/echo ..." Priority 4 (lowest): - look for host and app wildcard: "* * * INSTALLED INTEL32::LINUX null" Swift should, by default, ship with a tc.data containing only the "* * * INSTALLED INTEL32::LINUX null" line. This way users can still use the previous behavior by not using wildcards. It might need some tweaking, but we should try it out and discuss if it is sufficient. -- Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@mcs.anl.gov