Matlab does not respond after running Abaqus job

5 views (last 30 days)
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

Accepted Answer

Alexander
Alexander on 6 Jan 2013
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

More Answers (1)

Jan
Jan on 20 Dec 2012
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 Comments
Jan
Jan on 20 Dec 2012
Edited: Jan on 20 Dec 2012
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 on 20 Dec 2012
Edited: Alexander on 20 Dec 2012
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.

Sign in to comment.

Categories

Find more on Parallel Computing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!