Modification of the job wrapper scripts

  1. use subprocess module to spawn the application process which should use the sys.__stdout__ and sys.__stderr__ of the parent process (wrapper script)
  2. save output of wrapper script in the log file separately from application output by overdding sys.stdout and sys.stderr
  3. find out where LSF (and other batch) store the stdout and stderr files (env variables) and make it a parameter to the monitoring service (for octopus etc.)

In this way the bpeek() may work again and current logic is preserved.

-- JakubMoscicki - 17 Jul 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-07-17 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback