Comments (7)
@germa89 most laptops don't have a GPU that would be automatically used - have you set the following environment variable?
ANSGPU_OVERRIDE=1
Mike
from pymapdl.
@mcMunich check the file0.err file and see if it shows that the CUDA driver needs to be updated. Mike
from pymapdl.
this is going to be a bit tricky. Delaying to the next week (I need my Windows laptop)
from pymapdl.
I got the following error:
*** ERROR *** CP = 0.641 TIME= 15:59:19
The GPU accelerator capability cannot be activated with the ACCOPTION
command. Please read the following message for more details.
*** ERROR *** CP = 0.641 TIME= 15:59:19
The capability GPU was either not ordered with this Ansys installation
or the appropriate product was not selected for this session.
Contact your Ansys support person for more information.
from pymapdl.
So it seems that to use ACCOPTION
you need to also do something like:
mapdl = launch_mapdl(additional_switches="-acc NVIDIA")
Notes
To 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 Connection terminated
.
from pymapdl.
PyMAPDL needs a better error catching... either at launching or during runtime.
from pymapdl.
I'm closing this issue because there is no PyMAPDL issue per se.
from pymapdl.
Related Issues (20)
- RDEC and VFQUERY need updating. HOT 2
- Bug located in element_values of JT, SUM in that it changes the set of selected elements after. HOT 1
- Version/Command mismatch on doc page
- Bug located in MPCOPY and other commands which has unused field HOT 5
- Add /CYCEXPAND APDL command.
- MAPDL commands do not match API HOT 1
- Large files in the final python package HOT 1
- `sphinx-build` configuration is not being catched
- Failed scheduled build HOT 22
- post_processing.plot_nodal_pressure() fails for CPT element type though data is there.
- On the MSTOLE the two fields with component names seem to require the names be enclosed in single quotes by MAPDL aaS.
- MAPDL server connection terminated when running on linux container HOT 1
- Hello, is there any method to calculate
- In `mapdl.input_strings(cmd)`, if cmd is very long command, it fails with `MapdlExitedError` HOT 3
- Add support for EEMBED and SFCONTROL
- Add support for Solid293 HOT 1
- Add support for new commands for multistage cyclic symmetry and harmonic balance method.
- Revise project metadata to align with PyAnsys standards HOT 1
- Add ML course link to docs
- Node numbering is inconsistent HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymapdl.