Coder Social home page Coder Social logo

Comments (3)

yurivict avatar yurivict commented on June 4, 2024 1

No, it's not compiled with gcc. The link path containing gcc doesn't mean that it is compiled by gcc.

I got this error while trying to update the FreeBSD port to the new version.
This port is currently not used, but it is intended to be used by sirius and cp2k.

from cosma.

simonpintarelli avatar simonpintarelli commented on June 4, 2024

Why is cosma compiled with GCC while clang is used for costa?

/usr/local/bin/x86_64-unknown-freebsd14.0-ld: warning: libmpi.so.12, needed by /usr/local/lib/libcosta.so, may conflict with libmpi.so.40

MPI implementations shouldn't be mixed here.

Iirc you are packaging CP2K on FreeBSD. Cosma is an optional dependency. It is used on HPC systems to optimize communication in distributed (very large) matrix-matrix multiplications. I very much doubt it brings any improvement to a workstation use case. You might want to consider simplify the package and build CP2K without cosma.
If you build CP2K with SIRIUS, which adds the possibility to run plane-wave DFT, COSTA will be required for SIRIUS though.

from cosma.

simonpintarelli avatar simonpintarelli commented on June 4, 2024

There is the warning about different mpi soname.
All undefined references expect ompi_communicator_t.
Can you please compile costa and cosma using the same MPI library?

What does nm -DC libcosta.so show?

Otherwise I can't explain the missing symbol. All of the above symbols are explicitly instantiated in https://github.com/eth-cscs/COSTA/blob/master/src/costa/grid2grid/transform.cpp#L294, while transform.hpp contains just a template on the number type.

from cosma.

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.