Installing deal.II with a single command, introducing DCS2

29 views
Skip to first unread message

Sebastian Kinnewig

unread,
Oct 31, 2025, 12:33:48 PM (4 days ago) Oct 31
to deal.II User Group

tl;dr: I wrote a CMake script to simplify the installation of deal.II. Actually, it allows you to install deal.II with just one line of bash.

For all who are interested, have problems with installing deal.II, or want to take advantage of Hardware acceleration on AMD machines, you can check DCS2 out here:

https://github.com/kinnewig/dcs2

So far, DCS2 has been tested to work on Ubuntu, Fedora, and Rocky Linux.

If you encounter problems, please let me know: https://github.com/kinnewig/dcs2/issues

As probably all of you know, installing deal.II can be quite cumbersome. So I wrote for myself a CMake Superbuild script (inspired by https://github.com/jpthiele/dealii-cmake-superbuild and https://github.com/dealii/candi). It started as a project to learn a lot of new things (GitHub bots and actions, CMake, and automation). But in the meantime, DCS2 reached a point where it is on par with candi.

Here is a short feature overview of DCS2:

  • Robust buildchain based on CMake and its External_Project_Add functionality.
  • Provides all TPLs that deal.II can use.
  • Different backends: AMD-AOCL, Intel oneAPI (MKL), FLAME, system packages
  • Searching for preinstalled TPLs via CMake's FindPackage functionality
  • Automatically updating the TPLs versions (via a GitHub bot)
  • Allows one to select different sources for deal.II, so one can use DCS2 to build their own forked version of deal.II

Best regards,
Sebastian

blais...@gmail.com

unread,
Oct 31, 2025, 4:43:43 PM (4 days ago) Oct 31
to deal.II User Group
That looks super interesting! We will for sure give it a try and report any issues if there are any :)!
Reply all
Reply to author
Forward
0 new messages