[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] problems about submiting java job



On Mar 1, 2006, at 6:02 AM, 支丽艳 wrote:

Hi:
   I have several problems about submiting jobs on condor.
   First, when I submit a job to execute HelloWorld like examples in Condor Website.
    universe =java
    executable = HelloWorld.class
    arguments =HelloWorld
  should_transfer_files = yes
   when_to_transfer_output = ON_EXIT
   output = output.out
   err = output.err
   queue
 
   
It seems the job has completed using condor_q,but I can't finding any information about it in Condor_history.Also,the output is null.

Strange. Set the 'log' attribute so that Condor writes a user job log for you. That should have more information.

   Anther problem is the file like this
   
   universe =java
   executable = WordFrequence.class
   arguments = WordFrequence
   should_transfer_files = yes
   when_to_transfer_output = ON_EXIT
   transfer_input_files = 1.txt
   transfer_output_files = output.txt
   output = Word.out
   err = Word.err
   queue
  
   The 1.txt was used in WordFrequency.class
   when I submit the job ,it's status always be idle.
   What's wrong?

It's possible that Condor is repeatedly trying and failing to run your job. Having Condor write a user job log would if that is the case.

    By the way ,if I want the 1.txt to be a argument of the WordFrequence.class. How can I modify the cmd file? 

You should be able to add 1.txt to the end of the arguments line.

+--------------------------------+-----------------------------------+
|           Jaime Frey           | I used to be a heavy gambler.     |
|       jfrey@xxxxxxxxxxx        | But now I just make mental bets.  |
| http://www.cs.wisc.edu/~jfrey/ | That's how I lost my mind.        |
+--------------------------------+-----------------------------------+