Hi, So that globusrun-ws works partly.
When i run: globusrun-ws -submit -factory https://MyIP:8443 -Ft SGE -J -S -s -c /bin/hostname, it works fine. On the server side, we can see: 2007-07-21 13:24:58,389 INFO exec.StateMachine[RunQueueThread_0,logJobAccepted:3193] Job f1f9f3f2-377c-11dc-9ed5-0017f23158ca accepted for local user 'globus' 2007-07-21 13:27:08,005 INFO exec.StateMachine[RunQueueThread_15,logJobSucceeded:3204] Job f1f9f3f2-377c-11dc-9ed5-0017f23158ca finished successfully And good output on the client side too. When i try to add the "-Ft SGE" option, i get an error on the server side: 2007-07-21 13:27:38,049 INFO exec.StateMachine[RunQueueThread_17,logJobAccepted:3193] Job 525f6f06-377d-11dc-88a1-0017f23158ca accepted for local user 'globus' 2007-07-21 13:27:39,971 ERROR service.TransferWork [WorkThread-25,run:724] Terminal transfer error: Error deleting a file "/opt/globus/525f6f06-377d-11dc-88a1-0017f23158ca.0.stdout" [Caused by: Server refused performing the request. Custom message: Server refused deleting file (error code 1) [Nested exception message: Custom mess age: Unexpected reply: 500-Command failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End.]] Error deleting a file "/opt/globus/525f6f06-377d-11dc-88a1-0017f23158ca.0.stdout" . Caused by org.globus.ftp.exception.ServerException: Server refused performing the request. Custom message: Server refused deleting file (error code 1) [Nested exception message: Custom message: Unexpected reply: 500-Comm and failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End.]. Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException: Custom message: Unexpected reply: 500-Command failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End. at org.globus.ftp.vanilla.FTPControlChannel.execute( FTPControlChannel.java:328) at org.globus.ftp.FTPClient.deleteFile(FTPClient.java:253) at org.globus.transfer.reliable.service.DeleteClient.delete( DeleteClient.java:189) at org.globus.transfer.reliable.service.TransferWork.run( TransferWork.java:688) at org.globus.wsrf.impl.work.WorkManagerImpl$WorkWrapper.run( WorkManagerImpl.java:355) at java.lang.Thread.run(Thread.java:595) 2007-07-21 13:27:40,901 ERROR service.TransferWork [WorkThread-26,run:724] Terminal transfer error: Error deleting a file "/opt/globus/525f6f06-377d-11dc-88a1-0017f23158ca.0.stderr" [Caused by: Server refused performing the request. Custom message: Server refused deleting file (error code 1) [Nested exception message: Custom mess age: Unexpected reply: 500-Command failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End.]] Error deleting a file "/opt/globus/525f6f06-377d-11dc-88a1-0017f23158ca.0.stderr" . Caused by org.globus.ftp.exception.ServerException: Server refused performing the request. Custom message: Server refused deleting file (error code 1) [Nested exception message: Custom message: Unexpected reply: 500-Comm and failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End.]. Nested exception is org.globus.ftp.exception.UnexpectedReplyCodeException: Custom message: Unexpected reply: 500-Command failed : System error in unlink: No such file or directory 500-A system call failed: No such file or directory 500 End. at org.globus.ftp.vanilla.FTPControlChannel.execute( FTPControlChannel.java:328) at org.globus.ftp.FTPClient.deleteFile(FTPClient.java:253) at org.globus.transfer.reliable.service.DeleteClient.delete( DeleteClient.java:189) at org.globus.transfer.reliable.service.TransferWork.run( TransferWork.java:688) at org.globus.wsrf.impl.work.WorkManagerImpl$WorkWrapper.run( WorkManagerImpl.java:355) at java.lang.Thread.run(Thread.java:595) 2007-07-21 13:27:41,353 INFO exec.StateMachine[RunQueueThread_3,logJobFailed:3212] Job 525f6f06-377d-11dc-88a1-0017f23158ca failed Cheers, Francois. On 7/21/07, Francois Hornoy <[EMAIL PROTECTED]> wrote:
On 7/20/07, Charles Bacon <[EMAIL PROTECTED]> wrote: > > You're at least partway there, depending on what you installed. > globus-job-run and globusrun-ws go through different interfaces. You > at least have an SGE jobmanager that GRAM2 can use. Look for "SEG > SGE globus" (not a type, SEG is the scheduler-event-generator that > GRAM4 uses) and you should find some adapters that work with GRAM4 > from either the London e-Science Center or APAC. Not sure how to > answer your Java API question, but you'll know you've got the whole > thing when "globusrun-ws -F host -Ft SGE -submit -c /bin/date" works. Hi. Okay, this works now, thanks a lot. I installed the LESC packages and it works fine. So, given that, I assume "SGE" is the right capitalization, but that > you might not have the required GRAM4 piece. I believe that shows up > under $GL/etc/gram-service-SGE. I'm gonna try today this java stuff and i'll post here to say if it works or not. Cheers, Francois. Charles > > On Jul 20, 2007, at 2:04 PM, Francois Hornoy wrote: > > > > > 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. > > > > > >
