Giter Site home page Giter Site logo

Comments (10)

dev-zero avatar dev-zero commented on August 20, 2024 1

since the point of CMake is to hide away this kind of complexity, I added a different solution da2a53e which solved the issue on tcopt1.

from dbcsr.

alazzaro avatar alazzaro commented on August 20, 2024

From my test on High Sierra, it looks like that we need the __ACCELERATE macro. This is already documented in the Makefile.inc.

from dbcsr.

dev-zero avatar dev-zero commented on August 20, 2024

CMake doesn't set it (yet)

from dbcsr.

dev-zero avatar dev-zero commented on August 20, 2024

for CMake I have to figure out how to detect whether we are linking against Accelerate and enabled the flag conditionally

from dbcsr.

dev-zero avatar dev-zero commented on August 20, 2024

even with -DACCELERATE do the tests fail on tcopt1 (High Sierra) and Travis:

https://travis-ci.org/dev-zero/dbcsr/jobs/456879432

from dbcsr.

alazzaro avatar alazzaro commented on August 20, 2024

could you confirm that you are using -D__ACCELERATE?

from dbcsr.

alazzaro avatar alazzaro commented on August 20, 2024

It seems that it is still failing... Could you try to run makefile?
The only thing I do is to uncomment:

FCFLAGS += -D__NO_STATM_ACCESS -D__ACCELERATE

at the end of Makefile.inc

from dbcsr.

dev-zero avatar dev-zero commented on August 20, 2024

It's ok. Forgot that we also have to define -D__ACCELERATE directly for the tests.

from dbcsr.

alazzaro avatar alazzaro commented on August 20, 2024

OK, great, it works now, but the linking of the C++. I see that you are using

/Applications/Xcode-9.4.1.app/Contents/Developer/usr/bin/g++

which (see my previous post) point to LLVM. Brew installs g++-8. Could you check that?

from dbcsr.

dev-zero avatar dev-zero commented on August 20, 2024

solved via #98

from dbcsr.

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.