fork = new UserThread(global, i, j, n);
fork.start((PE)e.next(), join);
}
join.waitFor();
// Print out the result
Matrix matrix = (Matrix) global.open("r");
System.out.println("The result matrix is: ");
System.out.println(matrix);
try { global.release(); } catch (AlephException x) {}
System.out.println("Elapsed time: " +
((double) (System.currentTimeMillis() - start)) / 1000.0