Coder Social home page Coder Social logo

Comments (6)

awvwgk avatar awvwgk commented on August 16, 2024 1

While I'm happy to see fpm used outside the Fortran community, it also shows some risks when not used properly.
In this case, it looks like they used Haskell fpm's flag feature to link against pthread:

fpm build --flag -ldl --flag -lpthread

Luckily for them, this also disables the debugging flags and runtime checks from the debug profile.
Still, the Fortran timings could improve by actually enabling optimizations for the benchmark run.

from benchmarks.

ivan-pi avatar ivan-pi commented on August 16, 2024

I found a few more ODE integration benchmarks of Fortran vs Julia: https://github.com/PIK-ICoN/NetworkDynamicsBenchmarks

from benchmarks.

ivan-pi avatar ivan-pi commented on August 16, 2024

Good catch! I didn't even pay attention to the fact they are using fpm.

from benchmarks.

certik avatar certik commented on August 16, 2024

Shows that we need to improve fpm to be usable easily by the outside community.

from benchmarks.

Lima-Lima avatar Lima-Lima commented on August 16, 2024

Hi all! I put that Fortran benchmark together. It was my first foray into FPM. I had expected it to go more smoothly.

I couldn't determine how to choose flags using the Fortran FPM, thus I used the Haskell version. Optimizations flags were also added using the --flags feature (I explicitly indicated all my desired flags).

Can you clarify: Does using a '--flag' disable all existing flags in the --debug profile? Is this documented somewhere?

Thanks for any input or improvements regarding use of the fpm tool. I'm pleased to see effort into a unified Fortran package manager and had hopes it would go a bit more smoothly than it did. It seems to me most features are undocumented. You'll see I also hacked the Flibs sqlite wrapper to use FPM for this little project, but it isn't using the fpm build system in a good way: https://github.com/Lima-Lima/fsqlite

from benchmarks.

arjenmarkus avatar arjenmarkus commented on August 16, 2024

from benchmarks.

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.