I have an Ansys workbench script that:
- generates geometry
- performs meshing
- runs fluent (CFD)
To get this to work on Ubuntu (not an officially supported distro) I had to:
- Manually enter the glibc version instead of the rpm command used in the script /usr/local/ansys_inc/v130/aisol/mw/setup-mwuser (just search for rpm). This fixes: /usr/local/ansys_inc/v130/aisol/mw/setup-mwuser: 149: rpm: not found
- However, this still leaves the following error: ServiceMain failed with 1702 (000006a6) The binding handle is invalid.
- This is solved by editing /etc/hosts and commenting out the following two lines (lines 3 and 4 in my file):
::1 UOS-200630 localhost6.localdomain6 localhost6
127.0.1.1 uos-200630
- This then leaves the following errors related to the proprietary nvidia driver
Unable to resolve function glXQueryExtension
Unable to resolve function glXMakeCurrent
…
- This is fixed by adding /ansys_inc/v130/Framework/bin/Mesa to the LD_LIBRARY_PATH and running runwb2 with the -oglmesa commandline argument
Hope this is useful for somebody.
–Dirk
Hooray, this helps!
>> This is fixed by adding /ansys_inc/v130/Framework/bin/Mesa
>> to the LD_LIBRARY_PATH
-oglmesa is not necessary here
>> and running runwb2 with the -oglmesa commandline argument
Thank you and Google
P.S.: This also works with Ansys 14 and Ubuntu 10.04
Hello Dirk. I want to thank you so much for posting this highly valuable information as I was having those nasty glx issues; designmodeler and mesh were simply not working. In my case the exported path to LD_LIBRARY_PATH was a little bit different and I’ll post it just in case somebody else is using a 64-bit linux distro; in my case I needed to invoke wb via a compiled old version of uname because 3 kernel series are officially unsuported:
$ export LD_LIBRARY_PATH=/ansys_inc/v130/Framework/bin/Linux64/Mesa;uname26 /ansys_inc/v130/Framework/bin/Linux64/runwb2
Now ANSYS is working at its full capacity in Debian 7 64-bit and I sincerely appreciate your help.
Thanks a million, Miguel Q.