-
Notifications
You must be signed in to change notification settings - Fork 116
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
ACCOPTION causes pymapdl run to fail #2798
Comments
@mcMunich check the file0.err file and see if it shows that the CUDA driver needs to be updated. Mike |
this is going to be a bit tricky. Delaying to the next week (I need my Windows laptop) |
I got the following error:
|
@germa89 most laptops don't have a GPU that would be automatically used - have you set the following environment variable? Mike |
So it seems that to use mapdl = launch_mapdl(additional_switches="-acc NVIDIA") NotesTo inject env vars in MAPDL process: mapdl = launch_mapdl(additional_switches="-acc NVIDIA", add_env_vars={"ANSGPU_OVERRIDE": "1"}) I acknowledge PyMAPDL should return something more explicit than |
PyMAPDL needs a better error catching... either at launching or during runtime. |
I'm closing this issue because there is no PyMAPDL issue per se. |
🤓 Before submitting the issue
pip install --upgrade --upgrade-strategy eager ansys-mapdl-core
in your activated virtual environment.🔍 Description of the bug
The ACCOPTION command should allow the user to accelerate an analysis using their GPU. However, it seems to cause my analysis to fail.
![image](https://private-user-images.githubusercontent.com/84008975/306295194-06d9536a-9d84-4455-b2ff-7b39413e1cd8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MTgyODIsIm5iZiI6MTcxOTkxNzk4MiwicGF0aCI6Ii84NDAwODk3NS8zMDYyOTUxOTQtMDZkOTUzNmEtOWQ4NC00NDU1LWIyZmYtN2IzOTQxM2UxY2Q4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDEwNTk0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1NzdlNWNiZjFjZDA2YzhjMjYzNjhjNGNmNDY5NzdjODIwMWM5YWNhNjU4ZmFiZGRlOGEyYjNhNzFiM2EyMmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zdxjEcuclKJU7WqoiLC0djl_XnoHKh5k0xxFASbtgCk)
🕵️ Steps To Reproduce
💻 Which Operating System are you using?
Windows
🐍 Which Python version are you using?
3.11
📝 PyMAPDL Report
na
📝 Installed packages
na
📝 Logger output file
na
The text was updated successfully, but these errors were encountered: