PDA

View Full Version : ANSYS on Linux (Ubuntu 11.10)



Jorgen
2011-11-09, 09:20
ANSYS is not formally supported on the recent Ubuntu 11.10 release, but with a few tweaks you can install and run the license manager just fine on this OS.

The first problem that I noticed is that the lmutil application does not work:

cd /opt/ansys_inc/shared_files/licensing/linx64
./lmutil
running this command gives:

bash: ./lmutil: No such file or directory
This is odd since the binary file is right there!

It turns out that it can easily be fixed by installing the "Linux Standard Base" (LSB) package:

sudo apt-get install lsb

Now if I try to run the lmutil command again it works:

./lmutil
the output I get is:

lmutil - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.
usage: lmutil lmborrow -status
lmutil lmborrow -clear
...


The next step is to create the missing tmp directory (this step is not necessary):

sudo mkdir /usr/tmp

Finally, I can start the license server without any problem:

/opt/ansys_inc/shared_files/licensing/start_ansysli.

To check that the license server work I can print the two log files:


cat /opt/ansys_inc/shared_files/licensing/ansysli_server.log
cat /opt/ansys_inc/shared_files/licensing/license.log


I have not yet attempted to get ANSYS Workbench to work on this computer, but If I get the time I will post a message with my progress.
(I still run WB on a Windows computer).

-Jorgen

Jorgen
2011-11-09, 13:49
To run ANSYS 13 in batch mode I had to run the following 2 commands:



sudo apt-get install libmotif4
sudo cp /usr/lib/libXm.so.4.0.3 /usr/lib/libXm.so.3


After that I could run a simple batch job using:

ansys130 -b -i jb_test_02.dat -o output

-Jorgen