[Bug 1409] New: Scripts generated by the PBS provider are broken for multi-node jobs
http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1409 Summary: Scripts generated by the PBS provider are broken for multi-node jobs Product: Swift Version: trunk Platform: PC OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: Providers AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected], [email protected], [email protected], [email protected] The ssh command line in generated PBS scripts has parsing issues. It results in incorrect functioning and errors such as: ... ./PBS1328394647934185014.submit: line 18: N.psf: command not found ./PBS1328394647934185014.submit: line 18: Ta.sic.psf: command not found ./PBS1328394647934185014.submit: line 18: Ti.sic.psf: command not found bash: -c: line 0: unexpected EOF while looking for matching `"' bash: -c: line 1: syntax error: unexpected end of file -- Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=1409 Mihael Hategan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[email protected] |[email protected] --- Comment #1 from Mihael Hategan <[email protected]> 2015-03-01 18:24:30 --- I committed code for the local scheduler providers that hopefully fixes various quoting issues in the generated scripts. This is trunk git-rev: 948f986c0f72ce699e2a457abdf912673d3be0e0 heads/master 6285 While the providers are able to run MPI jobs (using mpirun/aprun/srun, etc.), this does not mean that swift is. There are two issues. One is file staging. If you run a swift job through a provider and specify jobType = "MPI", the provider will happily run multiple copies of an app instance wrapped around _swiftwrap. Each instance of _swiftwrap will try to stage in and stage out files, which will result in multiple conflicting stage-ins and stage-outs. The second issue is that there is no guarantee that I can see that mpirun/aprun/srun will be OK with running _swiftwrap instead of an MPI executable. I believe that, in the long run, the right way to run MPI apps is for swift to quietly force jobType = "single", run _swiftwrap on the lead node (to do the staging) and then instructing _swiftwrap to run the app instances through one of mpirun/aprun/srun/ssh. In the mean-time, this can be achieved through an application wrapper as follows: use jobType = "single" count = <number of nodes needed> then, in the application wrapper, start the app through mpirun (or equivalent). I am re-assigning this bug to Yadu. It is critical that we test the providers on various clusters. -- Configure bugmail: http://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