Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abaqus Error: Detected lock file Job-1.lck DURING OPTIMIZATION PROCESS IN MATLAB

Status
Not open for further replies.

najana

Structural
Mar 1, 2014
3
Dear all,

I'm optimizing a structure by using an algorithm in matlab. The structural analysis part is performed by abaqus and abaqus writes its results (stresses, displacements,etc.) to a text file, which is read by matlab. The process is thus an iterative process. However, I'm dealing with next problem:

"Abaqus Error: Detected lock file Job-1.lck. Please confirm that no other applications are attempting to write to the output database associated with this job before removing the lock file and resubmitting.
Abaqus/Analysis exited with errors
Abaqus/Analysis exited with error.

Abaqus Error: cae exited with an error. "

This fail occurs randomly during the optimization: with this I mean that sometimes an iteration works, and sometimes it fails. Can anybody help me?

Kind regards
 
Replies continue below

Recommended for you

Hi,

*.lck file is created by Abaqus when the analysis start and removed after finish.
It is just a flag for the Abaqus that the analysis is still running.
As long the file is in a directory you cannot run Abaqus analysis in this directory.

There are two options, or some of your jobs in optimization loop finished abnormally and Abaqus did not deleted the file.
Then you can manually remove the file with a script before you submit another Abaqus run.

The other option is that matlab is to fast and does not wait before Abaqus remove *.lck file.
It is a good idea to wait a little bit (1-5 sec) after Abaqus finish the analysis before matlab will run another iteration.

Regards,
Bartosz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor