Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to Ubuntu 24.04 #94

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from
Draft

Port to Ubuntu 24.04 #94

wants to merge 5 commits into from

Conversation

MakisH
Copy link
Member

@MakisH MakisH commented Apr 29, 2024

Summary of the changes:

  • Updates the base box to bento/ubuntu-24.04
  • Updates some basic packages and various links
  • Creates reusable Python virtual environments in the ~/python-venvs directory, since we can no longer use system- or user-wide installations with PIP.
  • Installs deal.II from the Ubuntu packages instead of the PPA. We not have 9.5.1 instead of 9.3.0, but the adapter seems to build successfully.
  • Applies the usual patch to the CalculiX 2.20 Makefile environment.

The current state is building successfully.

What is currently missing:

  • code_aster: the current stable version (14.6) has several issues. I would not wait for this to merge and even release.
  • FEniCS: there seems to be no package yet. This would be quite important for us. I assume that the developers mainly want to push towards FEniCS-X, given that I only see some *x packages for noble. @IshaanDesai @BenjaminRodenberg do you have any insight on this?
  • ASTE: It depends on VTK, but the VTK package seems to conflict with other packages:
    python3-paraview : Conflicts: python3-vtk9 but 9.1.0+really9.1.0+dfsg2-7.1build3 is to be installed
    
    @davidscn have you already found any solution for this?
  • Check Python dependencies for tutorials post-processing scripts, and specify them in a more fine-grained way in each tutorial. See also Python packages not installed automatically for all tutorials tutorials#526. In that sense, we also need to:
  • Integrate the step of enabling the Python venvs in the run scripts of the respective tutorials.

Replaces and closes #45.

@fsimonis FYI

@MakisH MakisH mentioned this pull request Apr 29, 2024
@fsimonis
Copy link
Member

fsimonis commented Apr 29, 2024

Is python3-paraview needed? Otherwise, we could just install paraview without it apt-get install -y --no-install-recommends paraview.

@MakisH
Copy link
Member Author

MakisH commented Apr 29, 2024

Is python3-paraview needed? Otherwise, we could just install paraview without it apt-get install -y --no-install-recommends paraview.

Ah true. I already tried the opposite, but of course python3-paraview is a recommended package of paraview, not of libvtk9-dev 🙈

Works like this.

@fsimonis
Copy link
Member

fsimonis commented Apr 30, 2024

Disk space usage of this port:

image

We loose quite some space as cargo vendor vendors a lot of windows-related stuff.
I don't see a straight forward way of disabling them. Maybe rm -rf vendor/winapi* vendor/windows* would solve the majority of the issue.

image

Also some python venvs eat some space e.g. in the dune build.

Using kde-plasma-desktop instead of xubuntu requires 19GB of disk space, which is a pretty substantial overhead.

@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -ex

pip install --user micro-manager-precice
# Install the micro-manager (stand-alone application) from PyPI
pipx install micro-manager-precice
Copy link
Member

@fsimonis fsimonis May 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The micro-manager two-scale tutorial is compatible with pix installations since precice/tutorials#533

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants