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

Re: [Condor-users] java output problem



On Sat, Jun 24, 2006 at 12:19:35PM +0700, Nano Surbakti wrote:
> Hi,
> 
> I want distribute this job to the pool:
> java -cp jj2000-5.1.jar JJ2KEncoder -i scrshot.ppm -o scrshot.j2k -rate 3
> 
> The purpose is to encode the raw-image (scrshot.ppm) to the JPEG2000
> format (scrshot.j2k).
> 
> Here is the submit file I used:
> --------------------
> universe                = java
> executable              = JJ2KEncoder.class
> jar_files               = jj2000-5.1.jar
> arguments               = JJ2KEncoder -i scrshot.ppm -o
> scrshot.$(Process).j2k -rate 3
> scrshot.$(Process).j2k -rate 3
> 
> transfer_input_files    = scrshot.ppm
> should_transfer_files   = YES
> when_to_transfer_output = ON_EXIT
> 
> input                   = scrshot.ppm
> output                  = scrshot.$(Process).j2k

output is from the 'stdout' of the job. It is not the name
of "output files" that the job may produce. 
Maybe you want 

output = scrshot.$(Process).out

?

Also, make sure your arguments are all on one line.

-Erik