Hello,

I am using Globus Toolkit 4.0.8 with LSF as the batch system. When I submit a
globus job like...

globusrun-ws -submit -s -Ft LSF -c /bin/hostname

... the job will be executed. But afterwards not only the result, but a log
status output [1] will be displayed. Can anybody help be reducing the output?
Only the result is sufficient.

Best regards,
Benjamin Loehnhardt



[1] [...@svago99 tests]$ globusrun-ws -submit -s -Ft LSF -c /bin/hostname
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:dedf61d4-8190-11de-a8d1-00215af48192
Termination time: 08/06/2009 07:23 GMT
Current job state: Pending
Current job state: Active
Current job state: CleanUp-Hold
Sender: LSF System <[email protected]>
Subject: Job 15601: <#! /bin/sh;#;# LSF batch job script built by Globus Job
Manager;#;#BSUB -i /dev/null;#BSUB -o
/home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stdout;#BSUB
-e
/home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stderr;#BSUB
-n 1;GLOBUS_LOCATION="/opt/globus/gt4"; export
GLOBUS_LOCATION;X509_CERT_DIR="/etc/grid-security/certificates"; export
X509_CERT_DIR;X509_USER_PROXY=""; export X509_USER_PROXY;X509_USER_CERT="";
export X509_USER_CERT;X509_USER_KEY=""; expo> Done

Job <#! /bin/sh;#;# LSF batch job script built by Globus Job Manager;#;#BSUB
-i /dev/null;#BSUB -o
/home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stdout;#BSUB
-e
/home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stderr;#BSUB
-n 1;GLOBUS_LOCATION="/opt/globus/gt4"; export
GLOBUS_LOCATION;X509_CERT_DIR="/etc/grid-security/certificates"; export
X509_CERT_DIR;X509_USER_PROXY=""; export X509_USER_PROXY;X509_USER_CERT="";
export X509_USER_CERT;X509_USER_KEY=""; expo> was submitted from host
<lsfhost.localdomain> by user <dgmd0112>.
Job was executed on host(s) <lsfhost.localdomain>, in queue <normal>, as user
<dgmd0112>.
</home/medigrid/dgmd0112> was used as the home directory.
</opt/globus/gt4> was used as the working directory.
Started at Wed Aug  5 09:23:30 2009
Results reported at Wed Aug  5 09:24:02 2009

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
#! /bin/sh
#
# LSF batch job script built by Globus Job Manager # #BSUB -i /dev/null #BSUB
-o /home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stdout
#BSUB -e
/home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stderr
#BSUB -n 1
GLOBUS_LOCATION="/opt/globus/gt4"; export GLOBUS_LOCATION
X509_CERT_DIR="/etc/grid-security/certificates"; export X509_CERT_DIR
X509_USER_PROXY=""; export X509_USER_PROXY X509_USER_CERT=""; export
X509_USER_CERT X509_USER_KEY=""; export X509_USER_KEY
HOME="/home/medigrid/dgmd0112"; export HOME LOGNAME="dgmd0112"; export
LOGNAME SCRATCH_DIRECTORY="/home/medigrid/dgmd0112/.globus/scratch"; export
SCRATCH_DIRECTORY JAVA_HOME="/usr/share/jdk1.6.0_12/jre"; export JAVA_HOME
GLOBUS_GRAM_JOB_HANDLE="https://localhost:8443/wsrf/services/ManagedExecutabl
eJobService?df14f560-8190-11de-9c18-c0ff21ea4d0b"; export
GLOBUS_GRAM_JOB_HANDLE

        if test 'X${LD_LIBRARY_PATH}' != 'X'; then
            LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
        else
            LD_LIBRARY_PATH=""
        fi
        export LD_LIBRARY_PATH

#Change to directory requested by user
cd /home/medigrid/dgmd0112
pids=''
exit_code=0
/bin/hostname  &
pids="$pids $!"
        for x in $pids; do
            wait $x
            tmp_exit_code=$?
            if [ $exit_code = 0 -a $tmp_exit_code != 0 ]; then
                exit_code=$tmp_exit_code
            fi
        done
        exit $exit_code

------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time   :      0.11 sec.
    Max Memory :         1 MB
    Max Swap   :        21 MB


The output (if any) follows:

svago98


PS:

Read file
</home/medigrid/dgmd0112/dedf61d4-8190-11de-a8d1-00215af48192.0.stderr> for
stderr output of this job.

Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.
[...@svago99 tests]$




Reply via email to