Personal tools
You are here: Home LINC Projects ITI-Geospatial Data Analysis mpiJava how to submit mpijava-based weka job on SGE

how to submit mpijava-based weka job on SGE

Firstly, compile java file with javac, such as:

javac weka/classifiers/meta/Bagging.java

Secondly, two shell script files (weka.sh, weka2.sh) will be used. 

In weka.sh, some parameters you can set:

JAVA=/usr/java/jdk1.5.0_07 (your java directory)
working_dir=/home/jxw5813/mpiJava (your mpijava directory )
prefix=/home/jxw5813/mpiJava (your mpijava directory)
exec_prefix=${prefix}

PNUMBER=4 (number of nodes )
CLASSNAME=weka.classifiers.meta.Bagging (the path of classifier)
DATAOPTION=-t (weka options)
DATAPATH=weka/data/waveform-5000.arff (the patch for data set)
JAVAOPTIONS=

Thirdly, submit job to SGE:

[user@bigred]$ qsub weka.sh

your job 5642 ("weka.sh") has been submitted   (sample output after running the command)  

At last, you can see the running result in file weka.sh.o5642, also you can see the error message(if possible) in file weka.sh.e5642
 
 

Document Actions
« May 2012 »
May
MoTuWeThFrSaSu
123456
78910111213
14151617181920
21222324252627
28293031