CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   ANSYS Workbench on "Uncertified" Linux Distros (https://www.cfd-online.com/Forums/cfx/25236-ansys-workbench-uncertified-linux-distros.html)

jgross August 15, 2018 13:20

Hello,

I managed to figure out the cause of the issue and solved it using forums for other applications with similar error messages. The issue seems to have been that the executable that ICEM uses to import STEP and IGES files uses 32bit libraries.

In order to fix it, I had to download some of the necessary 32bit libraries. For my system, I ran:

Code:

sudo apt-get install libx11-6:i386
sudo apt-get install libxt6:i386
sudo apt-get install g++-multilib

I hope this helps others that may have the same issue!

James

toolpost September 3, 2018 22:37

Hello,

I have successfully installed ANSYS 15 in Fedora 28. I don't use WB, just need standalone Fluent and ICEMCFD.

I am starting icem by this command,
Code:

LD_PRELOAD='/usr/$LIB/libstdc++.so.6' ./icemcfd

ICEM opens and behaves fine. I can able to do all operations except "Keybord input". Keybord navigation keys are working with the dropdown menus. But inside all other dialogue boxes keybord inputs are not working.

I found this thread but doesn't work in my case.

https://www.cfd-online.com/Forums/cf...ntos4-4-a.html

Any suggestions? Thanks in advance.

rfmendes November 26, 2018 18:13

Ansys graphical problem centOS 7.5
 
1 Attachment(s)
I am trying to use Ansys 18.2 in CentOS 7.5. I got success to install and I can open WB, however when I try to open any Ansys product the window start but the graphics aren't good, look like the other opening programs, see the print-screen.

Can anybody help me?

EternalSeekerX July 24, 2020 02:58

Attempting to run on Manjaro
 
So i followed the steps posted on this thread, however i get a error when running wb2, for some reason it is looking for a dll file?

Code:

[manjaro-vmware v202]# Framework/bin/Linux64/runwb2 -oglmesa

Unhandled exception caught :

System.DllNotFoundException: Ans.QT.dll
  at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000f2] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000f] in <739c80a5535340d3a7cbe6d1a4647531>:0
  at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <739c80a5535340d3a7cbe6d1a4647531>:0
  at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <739c80a5535340d3a7cbe6d1a4647531>:0
--- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
  at Ansys.UI.UIManager..ctor () [0x00060] in <ef5c6613ca4944fab6534803f59106a3>:0
  at Ansys.UI.UIManager.get_Instance () [0x00029] in <ef5c6613ca4944fab6534803f59106a3>:0
  at Ans.Program.Runtime.InitializeSplashScreen () [0x00060] in <810a3343db9547baac63793404fffcac>:0
  at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x001e8] in <810a3343db9547baac63793404fffcac>:0
  at Ans.Program.Executable.Run (Ans.Program.CommandLineParse parser) [0x0000d] in <9a5043c0359841e0a30144aa6a9def55>:0
  at Ans.Program.Executable.Main (System.String[] args) [0x000c9] in <9a5043c0359841e0a30144aa6a9def55>:0


[manjaro-vmware v202]#


EternalSeekerX July 29, 2020 03:40

Tried it on Cent OS 8
 
It doesnt work on it either, the installer freezes at starting service: arcnode. I close it, and i notice I can run license manager fine, when i try to launch with the oglmesa flag, it throws out the same error i got on manjaro...

toolpost December 13, 2020 12:02

Quote:

Originally Posted by EternalSeekerX (Post 778666)
So i followed the steps posted on this thread, however i get a error when running wb2, for some reason it is looking for a dll file?

Code:

[manjaro-vmware v202]# Framework/bin/Linux64/runwb2 -oglmesa

Unhandled exception caught :

System.DllNotFoundException: Ans.QT.dll
  at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000f2] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <95ee447321d04002b5da4f139e6b7785>:0
  at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000f] in <739c80a5535340d3a7cbe6d1a4647531>:0
  at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <739c80a5535340d3a7cbe6d1a4647531>:0
  at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <739c80a5535340d3a7cbe6d1a4647531>:0
--- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
  at Ansys.UI.UIManager..ctor () [0x00060] in <ef5c6613ca4944fab6534803f59106a3>:0
  at Ansys.UI.UIManager.get_Instance () [0x00029] in <ef5c6613ca4944fab6534803f59106a3>:0
  at Ans.Program.Runtime.InitializeSplashScreen () [0x00060] in <810a3343db9547baac63793404fffcac>:0
  at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x001e8] in <810a3343db9547baac63793404fffcac>:0
  at Ans.Program.Executable.Run (Ans.Program.CommandLineParse parser) [0x0000d] in <9a5043c0359841e0a30144aa6a9def55>:0
  at Ans.Program.Executable.Main (System.String[] args) [0x000c9] in <9a5043c0359841e0a30144aa6a9def55>:0


[manjaro-vmware v202]#



For Ansys 2020R2 in Centos 8, to solve this error,


Code:

sudo dnf install libpng12

Shoonya January 7, 2021 11:48

./runwb2
 
sudo add-apt-repository ppa:linuxuprising/libpng12

sudo apt update

sudo apt install libpng12-0

ref: https://askubuntu.com/questions/1194...e-ubuntu-19-10

mkansys September 4, 2022 16:50

Ansys 2022 R2 on debian launch fail
 
"I have installed ansys 2022 R2 on debian. In the first attempt the license manager installation failed as the debian does not have libldap-2.4.so.2 in /usr/lib/x86_64-linux-gnu/. I decided to circumvent this problem by making a link of libldap-2.5.so.0 with a name libldap-2.4.so.2. The license manager installation was successful, but when i tried to open the runwb2 it is showing following error"

Unhandled exception caught : System.DllNotFoundException: Ans.QT.dll assembly: type: member: (null)
at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.Application.ans_qt_Applicatio n_setPluginDirectory(intptr,string)
at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000d1] in :0
at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in :0
at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in :0
at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in :0
at Ansys.UI.Toolkit.Application.InstantiateIApplicati on () [0x00000] in :0
at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in :0 --- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
at Ansys.UI.UIManager..ctor () [0x00055] in :0
at Ansys.UI.UIManager.get_Instance () [0x00023] in :0
at Ans.Program.Runtime.InitializeSplashScreen () [0x00057] in :0
at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x0021a] in :0
at Ans.Program.ExecutableBase.Run (Ans.Program.CommandLineParse parser) [0x0000d] in :0
at Ans.Program.ExecutableBase.DoMain (System.String[] args) [0x000be] in :0 Help please...

diego_angeli September 19, 2022 11:59

We solved the issue by going through the runwb2 script and finding inspiration for a very simple check on the unmet dependencies of ANSYS's pre-packaged Qt5. By typing

Code:

ldd /usr/ansys_inc/v222/tp/qt_fw/5.9.6/Linux64/lib/libQt*so | grep found
we found (on Ubuntu 20.04)
Code:

libicuuc.so.57 => not found
libicui18n.so.57 => not found
libjpeg.so.62 => not found
libpng15.so.15 => not found

Actually by installing only libjpeg62
Code:

sudo apt install libjpeg62
it worked. It is to be noted that we also installed libpng16-16 and libpng12 (by a ppa repository) before, and libicu was also at a newer version (libicu66) so you might still have a look also at those libraries.

arphy April 20, 2023 09:23

solved on LTS 22.04 (this is a supported version)
 
I do not know which lib solves the problem, may be a combination of them
First I tried the following libraries

apt-get install libpng-dev libpng-tools libpng16-16 libpng++-dev
apt-get install xcb
sudo apt-get install g++-multilib
sudo apt-get install libx11-6:i386
sudo apt-get install libxt6:i386

They dont solve the problem, but after the last one :

apt install libjpeg62

was installed, I can start the workbench with

runwb2 -oglmesa


Still, I havent got all the QT libs. They could cause problem in the future:
ldd /opt/ansys_inc/v222/tp/qt_fw/5.9.6/Linux64/lib/libQt*so | grep found

libQt5WebChannel.so.5 => not found
libicuuc.so.57 => not found
libQt5Positioning.so.5 => not found
libicui18n.so.57 => not found
libpng15.so.15 => not found
libQt5Sensors.so.5 => not found
libQt5WebKit.so.5 => not found


All times are GMT -4. The time now is 08:42.