Matlab does not respond after running Abaqus job

8 次查看(过去 30 天)
Dear all,
In Matlab, I am calling my Abaqus job using following line:
dos(abaqus job=jobname)
The simulation is completed successfully, because all files are created in the working directory and the log file says 'completed'.
However, Matlab does not respond anymore for approximately 30min and can only be shut down using the task manager.
I tried the same command in Matlab with 'system' instead of 'dos' but it resulted in the same.
The software versions on the system are Abaqus v6.11 and Matlab R2012b.
Has anyone experienced similar problems?
Thanks,
Alex

采纳的回答

Alexander
Alexander 2013-1-6
Just to let you know how I fixed the problem for now:
Uninstalling Simulink and the associated toolboxes makes it possible to run Abaqus jobs directly from Matlab. This indicates to me that the mdl files were associated with Simuling and Matlab waited for some action that did not happen.
Presumably changing some preferences in Simulink or Matlab could help here as well.
Thanks for the ideas anyways!
Alex

更多回答(1 个)

Jan
Jan 2012-12-20
I do not know Abaqus. Is it still running while you assume that Matlab hangs? Please take a look in the taskmanager.
If so, could you append something like "quit" or "exit" to the job, which is processed by this program?
  5 个评论
Jan
Jan 2012-12-20
编辑:Jan 2012-12-20
What exactly does "at a later point of time" mean? Please explain, why you are convinced, that the problem is caused by calling Abaqus, although this seems to be not obvious.
13% processor load could mean, that Matlab is still computing something and as Walter says the memory is such exhausted, that disk swapping slows down the processing substantially.
You can test this by storing all values directly after the DOS call has been finished and quit Matlab. The restart it (or the computer), load the data again and run the rest of the Matlab program. If this method results in the same effects, DOS(Abaqus) is not guilty.
Alexander
Alexander 2012-12-20
编辑:Alexander 2012-12-20
Thanks for the input! Okay, I try to be more specific. I think the reason is Abaqus because the Matlab script is the following:
start=datestr(now)
dos('abaqus job=jobname')
done=datestr(now)
If I execute this, the following happens:
String Output
Abaqus runs, all the model files are created successfully
String Output
and then, one or two seconds after, Matlab hangs and does not respond to any actions.
No files or variables are created or stored within Matlab by calling Abaqus. All the simulation files are only created by Abaqus and stored in the directory. So I am not sure at the moment if I can try the method Jan Simon proposed.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by