Skip to content

[Dockerfile] Update VirtualFluids Base Image

So far, our VirtualFluids image relies on the following dependencies, which we could consider updating:

App Current version New Version
Ubuntu 20.4 22.10
GCC 9.4.0 11.1
NVCC 11.3 11.8
clang 10 15

some notes:

  • Ubuntu 20.04 might be sufficient for the newer compiler version.

  • Updating NVCC might not be necessary, as we are already on nvcc 11. However, updating is probably no major issue.

  • I want to update GCC and Clang to not lose the connection to the c++ standard development (the more we wait, the more difficult it becomes to update.) However, this could lead to some code adjustments.

  • GCC C++ Support

  • CLANG C++ Support

  • Updating g++ within Ubuntu 20.04

I would prefer to create a new image with ubuntu 22_04 and then leave the 20_04 image as it is. Since at the moment some old clusters certainly still do not support the new compilers, VirtualFluids should stay backward compatible. However, as long as we do not use C++ 20 features, our code remains backward compatible. Nevertheless, the day will come when we want to use C++20 features and then we are prepared.

Edited by Sören Peters