[英]Can't connect Abaqus PDE to Abaqus/CAE
When I try to run Abaqus PDE (Python development environment) for example from the windows command line with the command:例如,当我尝试使用以下命令从 Windows 命令行运行 Abaqus PDE(Python 开发环境)时:
abaqus cae -pde
I get the following error in the command line:我在命令行中收到以下错误:
pde:atxGuiSvr.ipcSvrStart(start=1,atxCaePort=51422):class'socket.gaierror'>: [Errno 11001] getaddrinfo failed
and Abaqus PDE can't connect to the Abaqus/CAE.并且 Abaqus PDE 无法连接到 Abaqus/CAE。 Therefore when I try to run a python script in APDE (in Kernel) I get the following error in the APDE:因此,当我尝试在 APDE 中(在内核中)运行 python 脚本时,我在 APDE 中收到以下错误:
Spawn: abq6144 cae -rt d:/ABQ_Temp/postProc.py
*** Error - remote process did not start
Exit from main file [Kernel]: d:/ABQ_Temp/IBDiM_DK1_2017/postProc.py
and in the command line并在命令行中
Abaqus Error: Invalid command line option: The "-atxPort (atxPort=)" argument required a port number.
My OS is Windows 10. I thought the problem might have been related to the firewall settings so I tried deactivating firewall but it didn't help.我的操作系统是 Windows 10。我认为问题可能与防火墙设置有关,所以我尝试停用防火墙,但没有帮助。
How to solve this?如何解决这个问题? I'd like to fix PDE integration with Abaqus/CAE because I want to use the PDE debugger.我想修复 PDE 与 Abaqus/CAE 的集成,因为我想使用 PDE 调试器。
That's probably because you installed (or tried to install) a cracked version of Abaqus in the past.这可能是因为您过去安装(或尝试安装)了 Abaqus 的破解版。 When you do so, you modify the way sockets created by Abaqus access the DNS service (so that the license isn't checked), and these changes also affect sockets that connect different programs within Abaqus.当您这样做时,您修改了由 Abaqus 创建的套接字访问 DNS 服务的方式(以便不检查许可证),并且这些更改也会影响连接 Abaqus 内不同程序的套接字。 (In this case Abaqus/PDE and Abaqus/CAE.) That's why you get that "getaddrinfo failed" message. (在本例中为 Abaqus/PDE 和 Abaqus/CAE。)这就是您收到“getaddrinfo failed”消息的原因。 (getaddrinfo is a function of the Python module socket.) (getaddrinfo 是 Python 模块套接字的函数。)
What I did to solve this issue was to uninstall the version of Abaqus I had, restart my computer in safe mode, delete the folder C:\\SIMULIA, restart again in normal mode and install my version of Abaqus again.我为解决这个问题所做的是卸载我拥有的 Abaqus 版本,以安全模式重新启动计算机,删除文件夹 C:\\SIMULIA,再次以正常模式重新启动并再次安装我的 Abaqus 版本。 I have to say that PDE will never connect to CAE if you use a cracked version of Abaqus.不得不说,如果你用的是破解版的Abaqus,PDE永远连接不上CAE。
You need to check your temp path if there are abaqus commands.如果有 abaqus 命令,您需要检查您的临时路径。 Also You can try re install abaqus.您也可以尝试重新安装abaqus。
You can also write these lines in your script then can try again.您也可以在脚本中编写这些行,然后再试一次。 It will work.它会起作用。
#
from part import *
from material import *
from section import *
from optimization import *
from assembly import *
from step import *
from interaction import *
from load import *
from mesh import *
from job import *
from sketch import *
from visualization import *
from connectorBehavior import *
import __main__
import section
import regionToolset
import displayGroupMdbToolset as dgm
import part
import material
import assembly
import step
import interaction
import load
import mesh
import job
import sketch
import visualization
import xyPlot
import displayGroupOdbToolset as dgo
import connectorBehavior
import odbAccess
#
session.viewports['Viewport: 1'].setValues(displayedObject=None)
#
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.