bububa / xgboost-go Goto Github PK
View Code? Open in Web Editor NEWxgboost go wrapper for c_api
License: Apache License 2.0
xgboost go wrapper for c_api
License: Apache License 2.0
你好,请问一下在执行的时候 openmp 报非法:invalid flag in #cgo LDFLAGS: -fopenmp
您在使用的时候没遇到吗?如何解决呢
在src/github.com/bububa/xgboost-go/example下编译,报了这么多错,如何解决啊?
[example]$ go build
../xgboost/../lib/libxgboost.a(c_api.o): In function _Z17prefixsum_inplacePmm._omp_fn.2': c_api.cc:(.text+0x79f): undefined reference to
__cxa_throw_bad_array_new_length'
../xgboost/../lib/libxgboost.a(c_api.o): In function prefixsum_inplace(unsigned long*, unsigned long)': c_api.cc:(.text+0x1535): undefined reference to
GOMP_parallel'
../xgboost/../lib/libxgboost.a(c_api.o): In function XGDMatrixCreateFromMat_omp': c_api.cc:(.text+0xe240): undefined reference to
GOMP_parallel'
c_api.cc:(.text+0xe645): undefined reference to GOMP_parallel' ../xgboost/../lib/libxgboost.a(c_api.o): In function
XGDMatrixCreateFromCSCEx':
c_api.cc:(.text+0xeed6): undefined reference to GOMP_parallel' c_api.cc:(.text+0xf209): undefined reference to
GOMP_parallel'
../xgboost/../lib/libxgboost.a(data.o): In function xgboost::data::SparsePage::Format::DecideFormat(std::string const&)': data.cc:(.text+0xb52): undefined reference to
std::__throw_out_of_range_fmt(char const*, ...)'
data.cc:(.text+0xb67): undefined reference to std::__throw_out_of_range_fmt(char const*, ...)' ../xgboost/../lib/libxgboost.a(data.o): In function
xgboost::DMatrix::Load(std::string const&, bool, bool, std::string const&)':
.
.
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.