Aakash Gupta Aakash Gupta -4 years ago 265
Python Question

Error in Running abaqus cae command from command line interface

How do I know the working directory of python prompt so that I can run my scripts by keeping it in the folder? Is it the same as the Abaqus working directory?

If that's the case I am unable to run the file

abaqus cae noGUI=test.py

gives the following :

abaqus cae noGUI=test.py

Abaqus Error: The following file(s) could not be located: test.py

Although the file is present. Running the file from File->Run gives the correct output

Edit: I am using Abaqus 2016 version

Answer Source

I resolved my error by going into the directory where test.py was present.
The abaqus working directory isn't related to this issue

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download