Azir,
I have no experience with your kind of cluster, but the essentials are
these:
- in the ImageJ classpath, place the headless.jar before the ij.jar
- try it out first with a simple task; if it fails, you may need a
virtual frame buffer (Xvfb)
To set it up: lauch Xvfb with any number as argument and in the
background like this:
Xvfb :15 &
then lauch ImageJ with that DISPLAY value:
DISPLAY=:15 java -classpath headless.jar:ij.jar ij.ImageJ -batch
/path/to/plugin_launcher_macro.txt
And please read ALL the documentation regarding your cluster submission
scripts, and the Xvfb, which is accessible using the 'man' command.
Albert
--
Albert Cardona
http://www.mcdb.ucla.edu/Research/Hartenstein/acardona