×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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

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

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

(OP)
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

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

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

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

just do a check if it exists and delete the .lck file?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources