Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3EAEA200CBF for ; Sat, 24 Jun 2017 01:54:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D6E3160BE5; Fri, 23 Jun 2017 23:54:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 83A1B160BF2 for ; Sat, 24 Jun 2017 01:54:04 +0200 (CEST) Received: (qmail 31339 invoked by uid 500); 23 Jun 2017 23:54:03 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 31328 invoked by uid 99); 23 Jun 2017 23:54:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2017 23:54:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 28170CF84A for ; Fri, 23 Jun 2017 23:54:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.711 X-Spam-Level: X-Spam-Status: No, score=-98.711 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Bx7WNrwAuVbF for ; Fri, 23 Jun 2017 23:54:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id EFE255F2FD for ; Fri, 23 Jun 2017 23:54:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 1CDF6E00FE for ; Fri, 23 Jun 2017 23:54:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C473C240B7 for ; Fri, 23 Jun 2017 23:54:00 +0000 (UTC) Date: Fri, 23 Jun 2017 23:54:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@mahout.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAHOUT-1988) ViennaCL and OMP not building for Scala 2.11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 23 Jun 2017 23:54:05 -0000 [ https://issues.apache.org/jira/browse/MAHOUT-1988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16061655#comment-16061655 ] ASF GitHub Bot commented on MAHOUT-1988: ---------------------------------------- Github user andrewpalumbo commented on a diff in the pull request: https://github.com/apache/mahout/pull/326#discussion_r123863312 --- Diff: viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/javacpp/DenseColumnMatrix.scala --- @@ -36,12 +36,24 @@ import org.bytedeco.javacpp.annotation._ @Name(Array("viennacl::matrix")) final class DenseColumnMatrix(initDefault:Boolean = true) extends MatrixBase { - def this(nrow: Int, ncol: Int, ctx: Context = new Context()) { + def this(nrow: Int, ncol: Int) { + this(false) + allocate(nrow, ncol, new Context()) + } + + def this(nrow: Int, ncol: Int, ctx: Context) { this(false) allocate(nrow, ncol, ctx) } - def this(data: DoublePointer, nrow: Int, ncol: Int, ctx: Context = new Context(Context.MAIN_MEMORY)) { --- End diff -- @rawkintrevo I have no problems building this for scala-2.11, with E.g.: `mvn clean install -Dscala.version=2.11.2 -Dscala.compat.version=2.11 -Pviennacl -Phadoop2 -DskipTests`` *note* the scala version is @ 2.11 which I think wee may need to make our cap due to the Breeze vector cap @scala 2.11.2 : ``` [WARNING] org.scalanlp:breeze_2.11:0.11.2 requires scala version: 2.11.4 ``` ``` [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mahout Build Tools ................................. SUCCESS [ 3.189 s] [INFO] Apache Mahout ...................................... SUCCESS [ 0.080 s] [INFO] Mahout Math ........................................ SUCCESS [ 13.226 s] [INFO] Mahout HDFS ........................................ SUCCESS [ 3.310 s] [INFO] Mahout Map-Reduce .................................. SUCCESS [ 21.442 s] [INFO] Mahout Integration ................................. SUCCESS [ 6.183 s] [INFO] Mahout Examples .................................... SUCCESS [ 21.106 s] [INFO] Mahout Math Scala bindings ......................... SUCCESS [ 54.202 s] [INFO] Mahout Spark bindings .............................. SUCCESS [ 51.939 s] [INFO] Mahout Native VienniaCL OpenCL Bindings ............ SUCCESS [ 48.965 s] [INFO] Mahout Native VienniaCL OpenMP Bindings ............ SUCCESS [ 25.782 s] [INFO] Mahout Release Package ............................. SUCCESS [ 2.567 s] [INFO] Mahout H2O backend ................................. SUCCESS [ 22.381 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 04:34 min [INFO] Finished at: 2017-06-23T16:39:21-07:00 [INFO] Final Memory: 132M/1124M [INFO] ----------------------------------- ``` tests are failing for me though in `viennacl`. I'll to dig deeper. > ViennaCL and OMP not building for Scala 2.11 > -------------------------------------------- > > Key: MAHOUT-1988 > URL: https://issues.apache.org/jira/browse/MAHOUT-1988 > Project: Mahout > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Andrew Palumbo > Assignee: Trevor Grant > Priority: Blocker > Fix For: 0.13.1 > > > After building mahout against scala 2.11: > {code} > mvn clean install -Dscala.version=2.11.4 -Dscala.compat.version=2.11 -Phadoop2 -DskipTests > {code} > ViennaCL jars are built hard-coded to scala 2.10. This is currently blocking the 0.13.1 release. > {code} > mahout-h2o_2.11-0.13.1-SNAPSHOT.jar > mahout-hdfs-0.13.1-SNAPSHOT.jar > mahout-math-0.13.1-SNAPSHOT.jar > mahout-math-scala_2.11-0.13.1-SNAPSHOT.jar > mahout-mr-0.13.1-SNAPSHOT.jar > mahout-native-cuda_2.10-0.13.0-SNAPSHOT.jar > mahout-native-cuda_2.10-0.13.1-SNAPSHOT.jar > mahout-native-viennacl_2.10-0.13.1-SNAPSHOT.jar > mahout-native-viennacl-omp_2.10-0.13.1-SNAPSHOT.jar > mahout-spark_2.11-0.13.1-SNAPSHOT-dependency-reduced.jar > mahout-spark_2.11-0.13.1-SNAPSHOT.jar > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)