Hi,

I downloaded a piece of code: a Java GRAM Client that submits jobs. From
IBMDevelopersWorks (code attached). It works perfectly, i succeed in
submitting a job on a "globus server", and the job finished successfully.

But it uses the factoryType  ManagedJobFactoryConstants.FACTORY_TYPE.FORK.
And as it's a RocksCluster with SGE installed, i would like to use SGE as
job manager. So, there is no constant "SGE" in FACTORY_TYPE, so i try to put
factoryType="SGE"; directly, but it does not work, raising an unknown
exception (and no error message on the server side).

I guess SGE is well installed. Indeed, i can run: globus-job-run
localhost/jobmanager-sge /bin/hostname many times, and i can see with "qstat
-f" that jobs are dispatched correctly on the different nodes, and the
results looks good.

So my questions are:
   is it wrong to put "SGE" as the factoryType?
   is it a problem of SGE installation (missing packets that i must
manually install?)
   do you know where the problem can be? ;-)


Cheers,

Francois.

Reply via email to