-
Notifications
You must be signed in to change notification settings - Fork 1
feat: adding PyMAPDL + PyDPF example #89
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
base: main
Are you sure you want to change the base?
Conversation
@germa89 Hi Pls check the workflow here, |
Several things:
I would recommend you to use the container:
image: "ghcr.io/ansys/mapdl:ghcr.io/ansys/mapdl:v25.2.4-ubuntu-cicd"
options: -u=0:0 --oom-kill-disable --memory=6656MB --memory-swap=16896MB --shm-size=1gb --entrypoint /bin/bash
credentials:
username: ${{ secrets.username }}
password: ${{ secrets.token }} Then you can run MAPDL and DPF from inside this container and spawn as many processes as your hardware supports. |
To fix this: https://github.com/ansys/pyansys-workflows/actions/runs/17854285321/job/50769652329?pr=89#step:5:27 Use If that does not fix it, try to do the following: apt-get update && apt-get -y install gcc mono-mcs g++ I have to update the base ubuntu version in the docker container (currently on 22.04). |
Thanks for your prompt feedback @germa89! I will modify it |
MapdlPool is now running fine. However, the DPF server is not running yet. Edit: DPF and MAPDL are now correctly working. |
For some reasons, I cannot add other reviewers at this PR. |
This PR adds an example showcasing the usage of PyMAPDL and PyDPF that was created by @Gbarkoulis.