Giter VIP home page Giter VIP logo

Comments (7)

mikerife avatar mikerife commented on June 20, 2024 1

@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.

mikerife avatar mikerife commented on June 20, 2024

@mcMunich check the file0.err file and see if it shows that the CUDA driver needs to be updated. Mike

from pymapdl.

germa89 avatar germa89 commented on June 20, 2024

this is going to be a bit tricky. Delaying to the next week (I need my Windows laptop)

from pymapdl.

germa89 avatar germa89 commented on June 20, 2024

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.

germa89 avatar germa89 commented on June 20, 2024

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.

germa89 avatar germa89 commented on June 20, 2024

PyMAPDL needs a better error catching... either at launching or during runtime.

from pymapdl.

germa89 avatar germa89 commented on June 20, 2024

I'm closing this issue because there is no PyMAPDL issue per se.

from pymapdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.