fbpic

Spectral, quasi-3D Particle-In-Cell code, for CPU and GPU (by fbpic)

Fbpic Alternatives

Similar projects and alternatives to fbpic

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better fbpic alternative or higher similarity.

fbpic reviews and mentions

Posts with mentions or reviews of fbpic. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-27.
  • Numba: A High Performance Python Compiler
    11 projects | news.ycombinator.com | 27 Dec 2022
    When I wrote my bachelor thesis years back I worked on a particle-in-cell code [1] that makes heavy use of numba for GPU kernels. At the time it was the most convenient way to do that from python. I remember spending weeks to optimizing these kernels to eek out every last bit of performance I could (which interestingly enough did eventually involve using atomic operations and introducing a lot of variables[2] instead of using arrays everywhere to keep things in registers instead of slower caches).

    I remember the team being really responsive to feature requests back then and I had a lot of fun working with it. IIRC compared to using numpy we managed to get speedups of up to 60x for the most critical pieces of code.

    [1]: https://github.com/fbpic/fbpic

  • Faster Python calculations with Numba: 2 lines of code, 13× speed-up
    5 projects | news.ycombinator.com | 18 Feb 2022
    We used numba to accelerate the code and most importantly write GPU kernels for the heavy parts. I remember spending hours optimising my code to eek out the most performance possible (which eventually meant using atomics and manually unrolling many loops because somehow this was giving us the best performance) but honestly I was really happy that I didn't need to write cuda kernels in C and generally it was pretty easy to work with. I remember back then the documentation was sometimes a little rough around the edges but the numba team was incredibly helpful and responsive. Overall I had a great time.

    [0] https://github.com/fbpic/fbpic

Stats

Basic fbpic repo stats
2
165
7.6
22 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com