-
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
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 |
Co-authored-by: Dipin <[email protected]>
Co-authored-by: Dipin <[email protected]>
Co-authored-by: Dipin <[email protected]>
Co-authored-by: Dipin <[email protected]>
|
I added docstring to the defined functions as asked by @dipinknair. @Gbarkoulis, could you please review this to make sure my understanding of those functions was correct? |
|
LGTM ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Feel free to merge!
This PR adds an example showcasing the usage of PyMAPDL and PyDPF that was created by @Gbarkoulis.