[
https://issues.apache.org/jira/browse/MAHOUT-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884498#comment-15884498
]
ASF GitHub Bot commented on MAHOUT-1938:
----------------------------------------
GitHub user andrewpalumbo opened a pull request:
https://github.com/apache/mahout/pull/284
MAHOUT-1938: Switch to Intel AVX 2 instruction set
A question that we may need to consider- do we want to release the binaries
for AVX2? There does not seem to be a fall-back to AMD arch.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewpalumbo/mahout MAHOUT-1938
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mahout/pull/284.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #284
----
commit abf6d529fc146a90308848e304960fe60dfc0917
Author: Andrew Palumbo <[email protected]>
Date: 2017-02-26T02:37:49Z
MAHOUT-1938: Switch to Intel AVX 2 instruction set
----
> When building on linux, haswell properties are not working.
> -----------------------------------------------------------
>
> Key: MAHOUT-1938
> URL: https://issues.apache.org/jira/browse/MAHOUT-1938
> Project: Mahout
> Issue Type: Bug
> Affects Versions: 0.12.1
> Reporter: Andrew Palumbo
> Assignee: Andrew Palumbo
> Priority: Blocker
> Fix For: 0.13.0
>
>
> got a failure when building on linux with haswell.properties:
> {code}
> Warning: Could not load platform properties for class
> org.apache.mahout.viennacl.openmp.OMPMMul$
> Generating
> /vol0/mahout/viennacl-omp/target/classes/org/apache/mahout/viennacl/openmp/javacpp/jniViennaCL.cpp
> Compiling
> /vol0/mahout/viennacl-omp/target/classes/org/apache/mahout/viennacl/openmp/javacpp/linux-haswell/libjniViennaCL.so
> g++ -I/usr/include/viennacl
> -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/include
> -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/include/linux
> /vol0/mahout/viennacl-omp/target/classes/org/apache/mahout/viennacl/openmp/javacpp/jniViennaCL.cpp
> -msse3 -ffast-math -fopenmp -fpermissive -Wl,-rpath,$ORIGIN/
> -Wl,-z,noexecstack -Wl,-Bsymbolic -march=haswell -m64 -Wall -O3 -fPIC -shared
> -s -o libjniViennaCL.so -lOpenCL
> /vol0/mahout/viennacl-omp/target/classes/org/apache/mahout/viennacl/openmp/javacpp/jniViennaCL.cpp:1:0:
> error: bad value (haswell) for -march= switch
> // Generated by JavaCPP version 1.2.4: DO NOT EDIT THIS FILE
> ^
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 14.721 s
> {code}
> Need to fix
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)