On Tuesday 19 January 2010 11:58:30 pm Christoph Pospiech wrote: > Josh, > > that you for your suggestions. >
Josh, I got it to compile. My current version looks like this. /** * Method to multiply matrix A with vector v */ def ClassicMatrixMultiply() { finish ateach (p in v2.dist() ) { val j = (p.coords())(0); val r = ( ([j..j] as Region(1)) * A.region.projection(1)) as Region(A.rank()); val d = A.dist().intersection(r); val linev = (v as Array[double](d)); v2(p) = ((A|r)*linev).reduce(double.+,0); } finish v = (v2 as Array[double](v.dist()) ); } But now it generates tons of exceptions when run on two processors. Do you see anything wrong here ? -- Mit freundlichen Grüßen / Kind regards Dr. Christoph Pospiech High Performance & Parallel Computing Phone: +49-351 86269826 Mobile: +49-171-765 5871 E-Mail: christoph.pospi...@de.ibm.com ------------------------------------- IBM Deutschland GmbH Vorsitzender des Aufsichtsrats: Erich Clementi Geschäftsführung: Martin Jetter (Vorsitzender), Reinhard Reschke, Christoph Grandpierre, Klaus Lintelmann, Michael Diemer, Martina Koederitz Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 99369940 ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users