Search
Close this search box.
Notifications
Clear all

ANSYS on Linux (Ubuntu 11.10)

2 Posts
1 Users
0 Reactions
832 Views
Posts: 3998
Topic starter
(@jorgen)
Member
Joined: 5 years ago

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 [B]lmutil[/B] application does not work:

[CODE]cd /opt/ansys_inc/shared_files/licensing/linx64

./lmutil[/CODE]

running this command gives:

[CODE]bash: ./lmutil: No such file or directory[/CODE]

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:

[CODE]sudo apt-get install lsb[/CODE]

Now if I try to run the [B]lmutil[/B] command again it works:

[CODE]./lmutil[/CODE]

the output I get is:

[CODE]lmutil - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.

usage: lmutil lmborrow -status

lmutil lmborrow -clear

...

[/CODE]

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

[CODE]sudo mkdir /usr/tmp[/CODE]

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

[CODE]/opt/ansys_inc/shared_files/licensing/start_ansysli[/CODE].

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

[CODE]

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

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

[/CODE]

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

Topic Tags
1 Reply
Posts: 3998
Topic starter
(@jorgen)
Member
Joined: 5 years ago

To run ANSYS 13 in batch mode I had to run the following 2 commands:

[CODE]

sudo apt-get install libmotif4

sudo cp /usr/lib/libXm.so.4.0.3 /usr/lib/libXm.so.3

[/CODE]

After that I could run a simple batch job using:

[CODE]ansys130 -b -i jb_test_02.dat -o output[/CODE]

-Jorgen

Topic Tags
1 Reply
Share: