Giter VIP home page Giter VIP logo

Comments (5)

kunal-3196 avatar kunal-3196 commented on August 22, 2024

dpf is working but mapdl doesn't

from pymapdl.

germa89 avatar germa89 commented on August 22, 2024

Hi @kunal-3196

Can you post here the output of python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())" ?

from pymapdl.

kunal-3196 avatar kunal-3196 commented on August 22, 2024

Hi @germa89 thanks for replying, please check below output:

C:\Users\LENOVO\AppData\Roaming\Python\Python311\site-packages\pyvista\utilities\__init__.py:72: PyVistaDeprecationWarning: The `pyvista.utilities` module has been deprecated. `GPUInfo` is now imported as: `from pyvista.report import GPUInfo`.
  warnings.warn(
-------------------------------------------------------------------------------


PyMAPDL Software and Environment Report


Packages Requirements
*********************

Core packages
-------------
ansys.mapdl.core    : 0.68.4
numpy               : 1.26.4
platformdirs        : 4.2.2
scipy               : 1.14.0
grpc                : Package not found
ansys.api.mapdl.v0  : Package not found
ansys.mapdl.reader  : 0.53.0
google.protobuf     : Package not found

Optional packages
-----------------
matplotlib          : 3.9.1
pyvista             : 0.44.0
pyiges              : 0.3.1
tqdm                : 4.66.4


Ansys Installation
******************
Version   Location
------------------
241       C:\Program Files\ANSYS Inc\ANSYS Student\v241


Ansys Environment Variables
***************************
ANSYS241_DIR                   C:\Program Files\ANSYS Inc\ANSYS Student\v241\ANSYS
AWP_LOCALE241                  en-us
AWP_ROOT241                    C:\Program Files\ANSYS Inc\ANSYS Student\v241
CADOE_LIBDIR241                C:\Program Files\ANSYS Inc\ANSYS Student\v241\CommonFiles\Language\en-us

from pymapdl.

germa89 avatar germa89 commented on August 22, 2024

Can you launch it? https://mapdl.docs.pyansys.com/version/stable/user_guide/troubleshoot.html#testing-mapdl-launching

from pymapdl.

kunal-3196 avatar kunal-3196 commented on August 22, 2024

@germa89 Launched, below is the output:
DEBUG - pymapdl_global - launcher - get_start_instance - PYMAPDL_START_INSTANCE is unset. Using default value None.
DEBUG - pymapdl_global - launcher - get_start_instance - 'PYMAPDL_START_INSTANCE' is unset, and there is no supplied value. Using default, which is 'True'.
DEBUG - pymapdl_global - launcher - launch_mapdl - Using 'start_instance' equal to True.
DEBUG - pymapdl_global - launcher - launch_mapdl - No IP address was supplied. Using the default IP address: 127.0.0.1
DEBUG - pymapdl_global - launcher - launch_mapdl - Using default port 50052
DEBUG - pymapdl_global - launcher - launch_mapdl - Using default executable.
DEBUG - pymapdl_global - launcher - launch_mapdl - Using default run location.
DEBUG - pymapdl_global - launcher - launch_mapdl - Created run location at C:\Users\LENOVO\AppData\Local\Temp\ansys_yzpepcughi
DEBUG - pymapdl_global - launcher - launch_mapdl - Using run location at C:\Users\LENOVO\AppData\Local\Temp\ansys_yzpepcughi
DEBUG - pymapdl_global - launcher - check_lock_file - Checking for lock file
DEBUG - pymapdl_global - launcher - launch_mapdl - Using mode grpc
DEBUG - pymapdl_global - launcher - _force_smp_student_version - Student version detected, using '-smp' switch by default.
DEBUG - pymapdl_global - launcher - launch_mapdl - Using additional switches -smp.
DEBUG - pymapdl_global - launcher - launch_mapdl - Using start parameters {'exec_file': 'C:\Program Files\ANSYS Inc\ANSYS Student\v222\ansys\bin\winx64\ansys222.exe', 'run_location': 'C:\Users\LENOVO\AppData\Local\Temp\ansys_yzpepcughi', 'additional_switches': ' -smp', 'jobname': 'file', 'nproc': 2, 'print_com': False, 'ram': None, 'override': False, 'timeout': 45}
DEBUG - pymapdl_global - launcher - launch_mapdl - Checking license server.
DEBUG - pymapdl_global - launcher - launch_mapdl - Starting MAPDL
DEBUG - pymapdl_global - launcher - launch_grpc - Starting 'launch_mapdl'.
DEBUG - pymapdl_global - launcher - check_lock_file - Checking for lock file
DEBUG - pymapdl_global - launcher - launch_grpc - Writing temporary input file: .tmp.inp with 'FINISH' command.
DEBUG - pymapdl_global - launcher - launch_grpc - Starting MAPDL with command: "C:\Program Files\ANSYS Inc\ANSYS Student\v222\ansys\bin\winx64\ansys222.exe" -j file -np 2 -b -i .tmp.inp -o .tmp.out -smp -port 50052 -grpc
INFO - pymapdl_global - launcher - launch_grpc - Running a local instance at port 50052 the following command: '"C:\Program Files\ANSYS Inc\ANSYS Student\v222\ansys\bin\winx64\ansys222.exe" -j file -np 2 -b -i .tmp.inp -o .tmp.out -smp -port 50052 -grpc'
DEBUG - pymapdl_global - launcher - launch_grpc - MAPDL starting in background.
DEBUG - pymapdl_global - launcher - launch_mapdl - Checking license server.
Traceback (most recent call last):

File C:\ProgramData\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)

File c:\misc\iu_downloads\thesis\untitled0.py:8
mapdl = launch_mapdl(loglevel="DEBUG")

File ~\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\launcher.py:1833 in launch_mapdl
raise exception

File ~\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\launcher.py:1795 in launch_mapdl
port, actual_run_location, process = launch_grpc(

File ~\AppData\Roaming\Python\Python311\site-packages\ansys\mapdl\core\launcher.py:605 in launch_grpc
process = subprocess.Popen(

File C:\ProgramData\anaconda3\Lib\site-packages\spyder_kernels\customize\spydercustomize.py:109 in init
super(SubprocessPopen, self).init(*args, **kwargs)

File C:\ProgramData\anaconda3\Lib\subprocess.py:1026 in init
self._execute_child(args, executable, preexec_fn, close_fds,

File C:\ProgramData\anaconda3\Lib\subprocess.py:1538 in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

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.