×
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

Unable to restart Ansys

Unable to restart Ansys

Unable to restart Ansys

(OP)
Hi,

After loading an input file which crashed Ansys, I am unable to restart Ansys. The output window shows only the following message" Unable to open file file.lock for WRITE Check Directory and File Permissions"

Following display of this message, the output window closes. I located file.lock; file properties show 0 bytes in length.

I created a new file.lock and tried agin with the same results. The permissions given to modify the file are set to full.

Does anybody in the Forum have a suggestion?

Thanks,

Art

RE: Unable to restart Ansys

Delete file.lock.  Then, create a system variable called ANSYS_LOCK and make its value OFF.

RE: Unable to restart Ansys

(OP)
Hi,

Thanks for the suggestion. Am not sure if I did this correctly by creating an evironment variable called ANSYS_LOCK and setting the value to 0.

When I started Ansys after adding that, I now had a similar error where the file file.err could not be opened for write and the program then crashed.

Any more suggestions?

Thanks,

Art

RE: Unable to restart Ansys

Delete file.lock.

ok - is the file deleted?  Now...

Afterwards, create the variable - the value must be OFF, not 0.

RE: Unable to restart Ansys

(OP)
Hi,

I changed the variable from zero to OFF, rebooted the computer, and now have a similar error where "file file.err cannot be opened for write" and then, program crashes.

File.lock is gone, cannot be found with search.

Suggestions?

Art

RE: Unable to restart Ansys

Delete file.err.

RE: Unable to restart Ansys

(OP)
I deleted file.err and still get the message about not being able to open file.err for write. Seems like something got corrupted, but what?

More suggestions?

Art

RE: Unable to restart Ansys

Try running the analysis in a different directory.

RE: Unable to restart Ansys

(OP)
Thanks for your suggestion, however, I am not quite sure what you mean by running the analysis in a different directory since the program doesn't even start with the exception of the error about the file it can't write to.

Art

RE: Unable to restart Ansys

Just out of curiousity, how do you start ANSYS?  Do you select the "ANSYS Product Launcher" or simply "ANSYS" from the Start-Programs-ANSYS menu?

Another thing - have you checked out TFM for any advice it may give on your problem?

RE: Unable to restart Ansys

(OP)
I always run ANSYS from the Start-Programs-ANSYS menu. Looking at the Start-Programs-ANSYS menu properties for ANSYS shows the target as:

"C:\Program Files\Ansys Inc\v80\CommonFiles\TCL\bin\intel\wish.exe"  "C:\Program Files\Ansys Inc\v80\CommonFiles\Launcher\LauncherMain.itcl" -runae

I could not figure out how to start the program from this directory.

Where is the ANSYS product launcher?

TFM??

Art

RE: Unable to restart Ansys

TFM - The _____ng manual.

Where is this installation?  Is it a university or a company or what?  These are all pretty basic questions that either your university ANSYS contcat or your company's ASD (ANSYS support distributor) should be able to answer.  Did you install the program yourself?

Please go and read the manual and/or talk to someone at your scholl/work who knows what's going on.

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