public static void main(String[] args) throws Exception {
		HamaConfiguration conf = new HamaConfiguration();
		BSPJob bsp = new BSPJob(conf);
		// Set the job name
		bsp.setJobName("Standard Multiply");
		bsp.setBspClass(MultiplyBSP.class);
		bsp.setJar("multiply.jar");

		if (args.length < 7 || args.length > 9) {
			printUsage();
			return;
		} else {
			if (parseArgs(args, conf, bsp) != 0) {
				return;
			}
		}

		long startTime = System.currentTimeMillis();
		if (bsp.waitForCompletion(true)) {
			System.out.println("Job Finished in "
					+ (System.currentTimeMillis() - startTime) / 1000.0
					+ " seconds.");
		}
	}