HPCCommunity.org
 
Register

Go Back   HPC Community - High Performance Computing (HPC) Community > Kusu > Kusu Kits

Kusu Kits Discuss Kusu Kits as such the Kusu scheduler (LAVA), cluster filesystems, compilers and tools, open source and commercial add-on applications here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 21st, 2008, 09:42 AM
Member
 
Join Date: September 16th, 2008
Location: Germany
Posts: 42
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.
Reply With Quote
  #2 (permalink)  
Old October 21st, 2008, 08:07 PM
Junior Member
 
Join Date: October 21st, 2008
Posts: 3
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.
Reply With Quote
  #3 (permalink)  
Old October 22nd, 2008, 07:36 AM
Member
 
Join Date: September 16th, 2008
Location: Germany
Posts: 42
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 ...
Reply With Quote
  #4 (permalink)  
Old October 22nd, 2008, 08:30 AM
Member
 
Join Date: September 16th, 2008
Location: Germany
Posts: 42
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 ...
Reply With Quote
  #5 (permalink)  
Old October 22nd, 2008, 01:28 PM
Member
 
Join Date: September 16th, 2008
Location: Germany
Posts: 42
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 With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.