Giter Site home page Giter Site logo

Comments (9)

tvatter avatar tvatter commented on June 14, 2024

Naïve question: is there a specific reason for prioritizing the Intel compiler?

I would have thought that CLANG was more common, but I'm still new to C++...

from vinecopulib.

slayoo avatar slayoo commented on June 14, 2024

prioritising - definitely not, but why not to test it
we compile with clang on OSX

from vinecopulib.

tvatter avatar tvatter commented on June 14, 2024

Yeah, I was thinking about clang on ubuntu, but intel is worth trying too.

from vinecopulib.

tvatter avatar tvatter commented on June 14, 2024

Alright, so I tried adding clang and icc, and I have the same (weird) problem related to the installation of the gsl R package:

https://travis-ci.org/vinecopulib/vinecopulib/jobs/231656854
https://travis-ci.org/vinecopulib/vinecopulib/jobs/231656857

from vinecopulib.

slayoo avatar slayoo commented on June 14, 2024

tried with using icc only for vinecopulib (and not the dependencies):
https://travis-ci.org/vinecopulib/vinecopulib/builds/232342874

Seems to run OK, but the compilation fails due to missing std::isnan

from vinecopulib.

tvatter avatar tvatter commented on June 14, 2024

Yes, I know, for both clang and icc, the problem is due to the install of the R package gsl.

Concerning isnan, it seems that it's a known issue: https://software.intel.com/en-us/node/633279

from vinecopulib.

tvatter avatar tvatter commented on June 14, 2024

The isnan issue is corrected in https://github.com/vinecopulib/vinecopulib/tree/intel-compiler and the library and examples compile.

However, there is a weird segfault happening now :/ By weird, I mean that you need to look at test_all.cpp to see where the segfault happens.

from vinecopulib.

slayoo avatar slayoo commented on June 14, 2024

ran it through a debugger, but the stack trace doesn't reveal much (don't know how to force icc to emit debug symbols into the binary - -g seems not to work):

image

from vinecopulib.

slayoo avatar slayoo commented on June 14, 2024

https://travis-ci.org/vinecopulib/vinecopulib/builds/232811099

from vinecopulib.

Related Issues (20)

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.