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.
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.
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.
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?
in ./ocs/5.0/ocsgui/plugin/lsf/exec/generic.cmd seems to late ...Code:if [ "x$name" != "x" ]; then BASE_OPT="-J \"$name\"" else BASE_OPT="-J unnamed" fi
Ok i found part of the problem every job set the CWD to
but the generic one does: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>
PMC seems to monitor the cwd on the host running pmc ...Code:Wed Oct 22 14:47:41: Running with execution home </tmp/.lsbtmp501>, Execution CWD </tmp>, Execution Pid <15760>
Ok, i looked a little deeper in it and all submission forms stop working when one removes the following line:
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.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"/>