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

[Condor-users] java output problem


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
error                   = scrshot.$(Process).error
log                     = scrshot.log

queue 100

The problem is, the output returned from the pool is different when I
encode it normally (showed by: "cmp -l image1 image2"); and the
Condor's output is somehow broken, it can't be opened by the JPEG2000
viewer I used.

Anybody has experienced same problem? Anybody know how to solve this problem?

Thanks in advance,

Nano Surbakti