GithubHelp home page GithubHelp logo

lemire / vectorclass Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 3.0 616 KB

Random number generator for large applications using vector instructions

License: GNU General Public License v3.0

C++ 96.69% C 3.31%
prng performance simd simd-instructions

vectorclass's People

Contributors

lemire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vectorclass's Issues

Compilation error

Hi,

First of all I apologize in case my post is not suitable for being here.

I am trying to build IQ-TREE which makes use of vectorclass which seems to return an error:

-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/local/gcc/4.8.3/gcc/bin/gcc
-- Check for working C compiler: /usr/local/gcc/4.8.3/gcc/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/gcc/4.8.3/gcc/bin/g++
-- Check for working CXX compiler: /usr/local/gcc/4.8.3/gcc/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
IQ-TREE flags :
Builde mode : Release
Target OS : Unix
Compiler : GNU Compiler (gcc)
Target binary : 64-bit
OpenMP : Yes
MPI : NONE
Vectorization : SSE3/AVX/AVX2
C flags : -fPIC -O2 -pipe -march=native -mtune=native -I/usr/local/gcc/4.8.3//eigen/3.3.4/include -pthread -O3 -g -ffunction-sections -fdata-sections
CXX flags : -fPIC -O2 -pipe -march=native -mtune=native -I/usr/local/gcc/4.8.3//eigen/3.3.4/include -std=c++11 -fopenmp -pthread -O3 -g -ffunction-sections -fdata-sections
LINKER flags : -rdynamic -Wl,--gc-sections
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for getrusage
-- Looking for getrusage - found
-- Looking for GlobalMemoryStatusEx
-- Looking for GlobalMemoryStatusEx - not found
-- Looking for strndup
-- Looking for strndup - found
CMake Warning at CMakeLists.txt:438 (find_package):
By not providing "FindBacktrace.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Backtrace", but CMake did not find one.

Could not find a package configuration file provided by "Backtrace" with
any of the following names:

BacktraceConfig.cmake
backtrace-config.cmake

Add the installation prefix of "Backtrace" to CMAKE_PREFIX_PATH or set
"Backtrace_DIR" to a directory containing one of the above files. If
"Backtrace" provides a separate development package or SDK, be sure it has
been installed.

-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
Using system zlib
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/software_scientifico/IQ-TREE-1.6.2/build
Scanning dependencies of target kernelfma
[ 0%] Building CXX object CMakeFiles/kernelfma.dir/tree/phylokernelfma.cpp.o
In file included from /usr/local/src/software_scientifico/IQ-TREE-1.6.2/vectorclass/vectorclass.h:41:0,
from /usr/local/src/software_scientifico/IQ-TREE-1.6.2/vectorclass/vectormath_common.h:35,
from /usr/local/src/software_scientifico/IQ-TREE-1.6.2/vectorclass/vectormath_exp.h:38,
from /usr/local/src/software_scientifico/IQ-TREE-1.6.2/tree/phylokernelfma.cpp:9:
/usr/local/src/software_scientifico/IQ-TREE-1.6.2/vectorclass/vectori128.h: In function ‘Vec8sb operator>(const Vec8us&, const Vec8us&)’:
/usr/local/src/software_scientifico/IQ-TREE-1.6.2/vectorclass/vectori128.h:1794:38: error: could not convert ‘Vec8s((* & _mm_comgt_epu16((& a)->Vec8us::.Vec8s::operator __m128i(), (& b)->Vec8us::.Vec8s::operator __m128i())))’ from ‘Vec8s’ to ‘Vec8sb’
return (Vec8s)_mm_comgt_epu16(a,b);
^
make[2]: *** [CMakeFiles/kernelfma.dir/tree/phylokernelfma.cpp.o] Error 1
make[1]: *** [CMakeFiles/kernelfma.dir/all] Error 2
make: *** [all] Error 2

Please, could you give me any clue to solve this problem?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.