Open finsberg opened 1 week ago
I’ll check on publishing a Docker image, as this could indeed simplify setup for users.
Regarding Conda-Forge, I’m currently working on this. The package is on Conda-Forge, but it’s not fully functional yet due to some issues I need to resolve. It’s taking a bit more time than anticipated, but I’m actively addressing these challenges to ensure it works smoothly. https://github.com/conda-forge/phasefieldx-feedstock https://anaconda.org/conda-forge/phasefieldx
I recently added a Dockerfile and a GitHub Action to automate the building and publishing of the Docker image. You can view the specific commit here: 0bbc6eb. docs update The Docker container image is now available on GitHub Packages: phasefieldx container. phasefieldx container on GitHub Packages
Thank you for the example reference—it was incredibly helpful! I ran into some issues installing the latest dolfinx version (0.9.0) and handling VTK file dependencies for both arm64 and amd64 architectures. Additionally, there were compatibility problems with libgl1-mesa-glx, which I resolved by substituting it with libgl1 and libglx-mesa0. As a workaround, I’ve built the image specifically for linux/amd64, and it is now working correctly.
If you need vtk and pyvista support you might consider using the lab
image from dolfinx as your base image instead (https://github.com/FEniCS/dolfinx/pkgs/container/dolfinx%2Flab) since it already comes with this pre-installed, see https://github.com/FEniCS/dolfinx/blob/70cfbeefa19a9545fbc0e37ec518cdf111e262cc/docker/Dockerfile.end-user#L152
I’ve added the specific parts related to PyVista and VTK to my existing Dockerfile rather than switching to the dolfinx lab image. I appreciate the tip, though. You can find the changes in my latest commit.
https://github.com/CastillonMiguel/phasefieldx/commit/1f0a7d27ccc37309fd2db7589a16247ce74888a4
I belive the installation instructions could be simplified. I would suggest the following.
pip install phasefieldx
would be convenient.~Edit: I saw that you have already added phasefieldx to pypi
This issue is related to the review here: https://github.com/openjournals/joss-reviews/issues/7307