Closed rileychall closed 9 months ago
Unable to reproduce this error on Ansys 2022R2 with ansys-mapdl-core==0.63.1
on Linux:
from ansys.mapdl.core import launch_mapdl
mapdl = launch_mapdl(mode="corba")
mapdl.prep7()
print(mapdl.parameters.routine)
with mapdl.non_interactive:
mapdl.n(1)
print(mapdl.parameters.routine)
/home/akaszyns/source/pymapdl/src/ansys/mapdl/core/launcher.py:1566: UserWarning: CORBA AAS mode not recommended in MAPDL 2021R1 or newer.
Recommend using gRPC mode instead.
warnings.warn(
PREP7
PREP7
@mikerife, could you please attempt to reproduce this error Windows?
Hi @akaszynski I am unable to test this - MAPDL seems to start but I get the following message:
MapdlRuntimeError: Unable to connect to APDL server
And there is something odd (to me) with the MAPDL processes that started up - two instances of ansys222.exe are running (one w/ -aas flag and one without, but with a -rcp flag and value shared with the ansys.exe instance.
Mike
I've got another windows machine, debugging once #1378 is done.
Closing issue because #2517
Please @rileychall use the gRPC interface.
Before submitting the issue
Description of the bug
When using Corba, the current processor is preserved when entering a
non_interactive
block, but is not preserved when exiting the block, as ifnon_interactive
is silently appending aFINISH
command. This is both unexpected and differs from gRPC, which preserves the current processor throughout. This leads to confusing instances of the[command] is not a recognized BEGIN command...
error.Steps To Reproduce
This code outputs
However, this code behaves as expected when run through gRPC (
launch_mapdl(mode="grpc")
), outputtingWhich Operating System are you using?
Windows
Which Python version are you using?
3.8
PyMAPDL Report
Installed packages