Can't connect Abaqus PDE to Abaqus/CAE

放肆的年华 提交于 2021-01-27 10:41:56

问题


When I try to run Abaqus PDE (Python development environment) for example from the windows command line with the command:

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. Therefore when I try to run a python script in APDE (in Kernel) I get the following error in the 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.

How to solve this? I'd like to fix PDE integration with Abaqus/CAE because I want to use the PDE debugger.


回答1:


That's probably because you installed (or tried to install) a cracked version of Abaqus in the past. 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. (In this case Abaqus/PDE and Abaqus/CAE.) That's why you get that "getaddrinfo failed" message. (getaddrinfo is a function of the Python module socket.)

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. I have to say that PDE will never connect to CAE if you use a cracked version of Abaqus.



来源:https://stackoverflow.com/questions/46117696/cant-connect-abaqus-pde-to-abaqus-cae

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!