On Tuesday, September 07, 2010, Igor Peshansky wrote:
> Hi, Christoph,
>
> You still did not say what kind of exception you're getting, but from
> your description it looks like you get a ClassCastException from a
> dynamic check. I suggest you try compiling with -STATIC_CALLS and see
> what compilation error you get on that line. My suspicion is that it's
> not "v" that's a problem, but rather one of "j_min" or "j_len"...
Hi Igor,
I got the following message from compiling with -STATIC_CALLS.
/home/cp/xample/MatMul/mm_X10/src/matmul.x10:174: Place type error: Field
should be global.
Field: matmul.this.v
/home/cp/xample/MatMul/mm_X10/src/matmul.x10:173-174: Place type error: Method
should be global. (Called within a global method.)
Method: copyFrom
Adding the following statement
val v_tmp = v;
prior to
finish ateach (pt in v_src ) {
/**
* Scatter the vector v
*/
v_src(pt).copyFrom(j_min(pt),
v_tmp, j_min(pt), j_len(pt));
}
resolved the matter.
Thank you for your support !
On to the next uncaught exception... :-)
--
Mit freundlichen Grüßen / Kind regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: [email protected]
-------------------------------------
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
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users