r/CFD • • Feb 03 '21

[February] Programming languages for CFD

As per the discussion topic vote, February's monthly topic is "Programming languages for CFD"

User /u/SignificantCell2 asked for Rust experiences, but that sounded overly specific so i op'ed'd it into this.

Talk about your experiences and preferences with various programming languages in the context of CFD programming.

43 Upvotes

72 comments sorted by

View all comments

Show parent comment

2

u/psharpep Feb 03 '21

Numba has solid, performant parallelization capabilities - see here: https://numba.pydata.org/numba-doc/latest/user/parallel.html

However, I've only seen it used on a local machine so I can't personally vouch for how it may or may not scale to large-scale.

0

u/anointed9 Feb 03 '21

This is not parallelization on the scale that would be required for large CFD problems, where MPI (or in special cases openmp) is used.