Hi,

THANKS a lot for your help!!.. Indeed, I enabled joblog, and now my globus + sge integration is working perfectly. I hadn't seen this requirement for any side.

[EMAIL PROTECTED] ~]$  qconf -sconf | grep reporting -A 1
reporting_params             accounting=true reporting=true \
flush_time=00:00:15 joblog=true sharelog=00:00:00

[EMAIL PROTECTED] ~]$ globusrun-ws -submit -pft -T 10000 -s -S -F https://test01.egee.cesga.es:8443/wsrf/services/ManagedJobFactoryService -Ft SGE -c /bin/date
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:0a68dc2c-7e54-11dd-bcf3-00163e1c20ad
Termination time: 09/10/2008 09:45 GMT
Current job state: Pending
Current job state: Active
Tue Sep  9 11:45:46 CEST 2008
Current job state: CleanUp-Hold
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.

[EMAIL PROTECTED] ~]$ globusrun-ws -submit -pft -T 10000 -s -S -F https://test01.egee.cesga.es:8443/wsrf/services/ManagedJobFactoryService -Ft SGE -c /bin/hostname
Delegating user credentials...Done.
Submitting job...Done.
Job ID: uuid:6311e328-7e54-11dd-9656-00163e1c20ad
Termination time: 09/10/2008 09:47 GMT
Current job state: Pending
Current job state: Active
wn005.egee.cesga.es
Current job state: CleanUp-Hold
Current job state: CleanUp
Current job state: Done
Destroying job...Done.
Cleaning up any delegated credentials...Done.

I'll send a e-mail to LESC people, in order to they put that is necessary configure j*oblog=true* too, unless for this detail, the rest of the information available from http://www.lesc.ic.ac.uk/projects/SGE-GT4.html seems correct, at least for SGE (GE 6.1u3) + Globus (globus-4.0.7).

Thank you very much,
Esteban

IIJIMA Akihiro wrote:
From: Esteban Freire <[EMAIL PROTECTED]>
Subject: [gt-user] Globus + SGE installation
Date: Fri, 05 Sep 2008 14:41:33 +0200
I'm trying the integration of SGE (GE 6.1u3) + Globus (globus-4.0.7), but I still have the same old problem which I had in previous attempts. I'm trying the Globus + SGE integration provide by the LESC, http://www.lesc.ic.ac.uk/projects/SGE-GT4.html

I can send the jobs with Fork correctly and I can send jobs with *qsub* correctly too, and besides I have enabled *reporting_params reporting=true* and accessible for globus.

add "joblog=true" to reporting_params.

SGE-seg-module wait for "job_log" line in SGE reportlog.

In globus_scheduler_event_generator_sge-1.1/seg_sge_module.c ,

        else if (strstr(fields[1], "job_log") == fields[1])
{ /* Job state change. */
            if (strstr(fields[3], "pending") == fields[3])
            {
                SEG_SGE_DEBUG(SEG_SGE_DEBUG_INFO,
                        ("New event: job %s now pending\n", fields[4]));
                rc = globus_scheduler_event_pending(stamp, fields[4]);
            }
            else if (strstr(fields[3], "delivered") == fields[3])
            {
                SEG_SGE_DEBUG(SEG_SGE_DEBUG_INFO,
                        ("New event: job %s now active\n", fields[4]));
                rc = globus_scheduler_event_active(stamp, fields[4]);
            }
            else if (strstr(fields[3], "deleted") == fields[3])
            {
                SEG_SGE_DEBUG(SEG_SGE_DEBUG_INFO,
                        ("New event: job %s now completed\n", fields[4]));
                rc = globus_scheduler_event_done(stamp, fields[4], 0);
            }



--
AIST ApGrid Support Team
SOUM Corporation
Akihiro IIJIMA <[EMAIL PROTECTED]>




--
++-------------------------++
Esteban Freire García
Centro de Supercomputación de Galicia
Avda. de Vigo s/n. Campus Sur.
15706 - Santiago de Compostela. Spain
Tlfn.: +34 981 56 98 10 Extension: 274 Fax: +34 981 59 46 16

Reply via email to