Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Unable to restart Ansys

Status
Not open for further replies.

nekojita

Bioengineer
Feb 11, 2005
30
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
 
Replies continue below

Recommended for you

Delete file.lock. Then, create a system variable called ANSYS_LOCK and make its value OFF.
 
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
 
Delete file.lock.

ok - is the file deleted? Now...

Afterwards, create the variable - the value must be OFF, not 0.
 
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
 
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
 
Try running the analysis in a different directory.
 
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
 
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?
 
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor