+ Reply to Thread
Results 1 to 5 of 5

Thread: Bug: OCS GUI

  1. #1
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default Bug: OCS GUI

    I took me quiet some time to find the cause of this one.

    Output files in the webfrontend are not shown if you do not specify a job name...

    I am using the Generic Submit.

  2. #2
    georgegao is offline Junior Member
    Join Date
    October 21st, 2008
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    This is a known issue, the root cause is that PCM is using jobname as
    log file sub dir name. if user does not specify job name, PMC's submission
    script will not redirect job output to the monitored place.

    the bug can be fixed by generate a job name if user does not give job name.

  3. #3
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    Hi georgegao,

    thanks for replying. I wasn't aware PMC is monitoring a place. So far I just used it for bsub -o files. Where is PMC looking for output files?

    Is there anywhere documentation about this kit?

    I found out how to write "submission plugins" via xml files. Is there a supported way write submission pages as JSP?

    Where do I have to generate the job name?
    Code:
    if [ "x$name" != "x" ]; then
       BASE_OPT="-J \"$name\""
    else
       BASE_OPT="-J unnamed"
    fi
    
    in ./ocs/5.0/ocsgui/plugin/lsf/exec/generic.cmd seems to late ...

  4. #4
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    Ok i found part of the problem every job set the CWD to
    Code:
    Wed Oct 22 14:31:53: Running with execution home </tmp/.lsbtmp501>, Execution CWD </usr/share/pmc/ocs/5.0/ocsgui/spooler/fm/1224678702372>, Execution Pid <15606>
    
    but the generic one does:
    Code:
    Wed Oct 22 14:47:41: Running with execution home </tmp/.lsbtmp501>, Execution CWD </tmp>, Execution Pid <15760>
    
    PMC seems to monitor the cwd on the host running pmc ...

  5. #5
    _fmms_ is offline Member
    Join Date
    September 16th, 2008
    Location
    Germany
    Posts
    42
    Downloads
    7
    Uploads
    0

    Default

    Ok, i looked a little deeper in it and all submission forms stop working when one removes the following line:
    Code:
    <option name="OUTPUT_FILE_LOCATION" label="Hier fuer Magic!" type="folder" defaultValue="/usr/share/pmc/ocs/5.0/ocsgui/spooler" help="/ocsgui/pageEngine/toViewHelp.action"/>
    
    It is not enough to set OUTPUT_FILE_LOCATION in ./ocs/5.0/ocsgui/plugin/lsf/services/service.sh. The folder seems to be created within java.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts