Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 61C2FDA0D for ; Sun, 15 Jul 2012 09:13:49 +0000 (UTC) Received: (qmail 39389 invoked by uid 500); 15 Jul 2012 09:13:49 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 39131 invoked by uid 500); 15 Jul 2012 09:13:41 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 38600 invoked by uid 500); 15 Jul 2012 09:13:38 -0000 Delivered-To: apmail-incubator-hama-dev@incubator.apache.org Received: (qmail 38522 invoked by uid 99); 15 Jul 2012 09:13:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 09:13:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 4BBAF142856 for ; Sun, 15 Jul 2012 09:13:35 +0000 (UTC) Date: Sun, 15 Jul 2012 09:13:35 +0000 (UTC) From: "Mikalai Parafeniuk (JIRA)" To: hama-dev@incubator.apache.org Message-ID: <1645057376.53890.1342343615311.JavaMail.jiratomcat@issues-vm> In-Reply-To: <237348733.20785.1330912499419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HAMA-524) [GSoC 2012] Sparse Matrix-Vector multiplication (SpMV) on Hama MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HAMA-524?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D134145= 96#comment-13414596 ]=20 Mikalai Parafeniuk commented on HAMA-524: ----------------------------------------- Hello everybody. I have published some basic working examples with test cas= es of SpMV in my GitHub repositoty. But I have encountered some unclear pro= blems. In debug mode in some configurations (testSpMVSmall for LAMathTest) = I noticed that different peers are from different sides of barrier synchron= ization (peer.sync() method). For example I am getting NullPointerException= while trying to access array of local matrices {code} mLocal =3D mLocalArray[peerIndex]; {code} Initialization of array is made in setup method {code} for (int i =3D 0; i < peerCount; i++) { mLocalArray[i] =3D strategy.getNewMatrixFormat(); vLocalArray[i] =3D new SparseVector(m.getColumns()); } {code} I have placed additional peer.sync() in the end of setup method, but this d= oesn't helped. Now I will be working to avoid in-memory storage of matrices= (thanks Apurv for comment), but I think this bug is crucial, and should be= fixed as soon as possible. I think this occurs because I made some wrong i= nitialization. Could anyone review my current code, especially test cases[1= ] and SpMV procedure[2] and help me to detect the problem? [1]http://goo.gl/HPMv6 [2]http://goo.gl/gtwZ7 =20 > [GSoC 2012] Sparse Matrix-Vector multiplication (SpMV) on Hama > -------------------------------------------------------------- > > Key: HAMA-524 > URL: https://issues.apache.org/jira/browse/HAMA-524 > Project: Hama > Issue Type: New Feature > Components: bsp core, examples, math > Reporter: Edward J. Yoon > Assignee: Mikalai Parafeniuk > Labels: gsoc, gsoc2012, newbie > > Implement Efficient and Fast SpMV algorithm which can be widely used in s= cienti=EF=AC=81c computing, financial modeling, information retrieval, and = others, using Hama Bulk Synchronous Parallel framework. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira