|
[Sponsors] |
ANSYS Workbench on "Uncertified" Linux Distros |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 5, 2016, 17:14 |
|
#261 | |
Member
vlg
Join Date: Jul 2011
Location: My home :)
Posts: 81
Rep Power: 18 |
Quote:
It seems you did not set LD_LIBRARY_PATH. This way one will have "Unable to resolve function glXMakeCurrent" errors and DesignModeler would not show anything. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ansys_inc/v162/Framework/bin/Linux64/Mesa export FLUENT_ARCH="lnamd64" /ansys_inc/v162/Framework/bin/Linux64/runwb2 -oglmesa Yes, drop libxp-dev. It is likely it would work without it. |
||
May 16, 2016, 22:49 |
|
#262 |
New Member
Adrian Athanassiadis
Join Date: May 2016
Posts: 1
Rep Power: 0 |
Hello, After sucessfully installing ANSYS 17, I get the following error everytime I try to open Design Modeler.
Code:
libGL error: unable to load driver: i965_dri.so libGL error: driver pointer missing libGL error: failed to load driver: i965 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Code:
/ansys_inc/commonfiles/MainWin/linx64/mw/setup-mwuser Thank You P.S. In a previous Installation I had found a way to fix this but now I can't figure it out.. |
|
September 7, 2016, 22:05 |
|
#263 | |
New Member
Rupert Storey
Join Date: Sep 2016
Posts: 1
Rep Power: 0 |
Quote:
I thought it might be useful to share my experience installing Ansys 17.1 on Ubuntu 16.04. I still had the issue with "Unable to resolve function glXMakeCurrent" after going through the recommended fixes too. I managed to solve it by creating a link to the libGL library as ANSYS DesignModeller is expecting to find libGL.so.1 in /usr/lib/ sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 You should use the libGL library specific to your computer. I found mine using: locate libGL.so Everything seems to work at the moment Good luck! |
||
April 20, 2017, 02:48 |
|
#264 |
New Member
Chaitanya
Join Date: Aug 2013
Location: Mumbai
Posts: 18
Rep Power: 13 |
Workbench has upgraded to workbench 2.0 after Ansys15.
./runwb2 try this |
|
April 27, 2017, 12:46 |
|
#265 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
If I may add my recent experience installing Ansys 18 on Opensuse Leap 42.1:
After the installation, I was facing errors of this type when starting fluent or other tools with a GUI: Code:
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast But this way the Nvidia driver was not used which caused the programs to run extremely slow and choppy. I figured out the only thing I needed to do instead was adding the library path to the Nividia driver. In my case this was: Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/X11R6/lib64 |
|
September 3, 2017, 17:50 |
|
#266 |
Member
Join Date: Dec 2009
Location: Kanpur, India
Posts: 54
Rep Power: 16 |
Yes, I your solution is correct. I also added the following in ".bashrc" file for myself and it worked.
Mine is local installation (not root). Just to sum up here for others. 1. open bash file $vim .bashrc 2. add the following lines at the end of file and set the path according to your installation LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/media/shoonya/Pacific/ANSYS171/ansys_inc/v171/Framework/bin/Linux64/Mesa export FLUENT_ARCH="lnamd64" /media/shoonya/Pacific/ANSYS171/ansys_inc/v171/Framework/bin/Linux64/runwb2 -oglmesa 3. Source the .bashrc file (or logout) $. .bashrc 4. run the following command (make changes according to your path of executable "runwb2") $ /media/shoonya/Pacific/ANSYS171/ansys_inc/v171/Framework/bin/Linux64/runwb2 |
|
December 9, 2017, 13:06 |
|
#267 | |
New Member
ali hatamy
Join Date: Apr 2015
Posts: 1
Rep Power: 0 |
Quote:
for my path /usr/ansys_inc/v182/Framework/bin/Linux64/runwb2 how can i use your code. i dont know what you mean of `which runwb2` & etc |
||
July 27, 2018, 12:23 |
|
#268 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hi everyone,
Sorry to hijack this post, but this seems to be the best place to post questions regarding getting CFX to work on uncertified distros. As a first note, my distro is Ubuntu 16.04 and my Ansys version is 18.2. I have used Ansys 18.2 on UBuntu 16.04: Installation Guide in order to install Ansys on my desktop. Everything in general works perfectly fine, including running from workbench or standalone. However, I run into an issue when I attempt to perform parallel calculations using the Intel MPI method (both local and distributed). Namely, the issue seems to be when writing results. The calculations are performed perfectly fine as I can view the residuals in the Solver Manager and they behave exactly as they do in serial. The issue is when it comes to writing the results file, the solver hangs indefinitely. Checking CPU usage shows that all designated processors are working at 100%, but nothing is being done. My guess is that the slave nodes are continuously sending signals to the master node (hence why all processors are working 100%), but either the master node is not listening or isn't there. I know this problem is to do with the set up as using the tutorials as a case study gives the exact same problem. Furthermore, it is not an issue with using the GUI as it behaves exactly the same way if I run it from command line or not. Unfortunately, I cannot use a different parallel method as the only available one is the IBM method, but when I attempt to use it, the solver complains about a missing library (libmport.so), which a quick Google turns up no results. Has anyone experienced something similar or have any advice of how I may fix this problem? Thank you in advance. Regards, James |
|
July 27, 2018, 12:49 |
|
#269 |
New Member
Quentin Lux
Join Date: Feb 2012
Location: Quebec
Posts: 23
Rep Power: 14 |
Hi James,
How are you starting cfx (batch or gui) ? Can you provide the command line? Is there anything in the output when it stalls ? Are you running from a shared directory since the slave nodes needs to write data back at the end of the computation? Is the user running the simulation is the owner of your working directory ? |
|
July 27, 2018, 13:10 |
|
#270 | |||
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hi Quentin,
First of all, thank you for taking the time to respond to my post. Quote:
Code:
cfx5solve -def <mymodel.def> -par-local -partition 4 Quote:
Quote:
Regards, James |
||||
July 27, 2018, 13:23 |
|
#271 |
New Member
Quentin Lux
Join Date: Feb 2012
Location: Quebec
Posts: 23
Rep Power: 14 |
Okay you run on a single machine, I did not get that earlier, forget what I said about the shared directory...
You computation crashes with code 9, that's why you don't have any output. Don't know the cause though. It seems more of an issue with your case than an installation issue, check your mesh and case. |
|
July 27, 2018, 13:44 |
|
#272 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Oh I'm sorry, I didn't fully explain the out file. There is no error message when I leave the solver to its own devices. The code 9 error message only occurs when I manually kill the processors using the command
Code:
kill -9 <PID> Regards, James |
|
July 27, 2018, 14:02 |
|
#273 |
New Member
Quentin Lux
Join Date: Feb 2012
Location: Quebec
Posts: 23
Rep Power: 14 |
Okay I understand.
Can you run it serial ? |
|
July 27, 2018, 14:05 |
|
#274 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Yes, everything works just fine in serial.
|
|
July 27, 2018, 17:35 |
|
#275 |
New Member
Quentin Lux
Join Date: Feb 2012
Location: Quebec
Posts: 23
Rep Power: 14 |
Try to run with root, see if it's a permission issue.
|
|
July 28, 2018, 09:50 |
|
#276 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hi Quentin,
I just attempted to run with root using Code:
sudo cfx5solve -def PipeValve.def -par-local -partition 4 Code:
sudo: cfx5solve: command not found Either way, I'm not convinced it is a problem with permissions, as I would certainly receive a permission denied error or a request for a password. Furthermore the above command (run from my user account) works just fine in serial. However, that still begs the question, what is happening for the process to hang indefinitely with all designated processors working at full capacity until I manually kill them? Any ideas as to what could be causing this? Regards, James |
|
July 30, 2018, 11:41 |
|
#277 |
New Member
Quentin Lux
Join Date: Feb 2012
Location: Quebec
Posts: 23
Rep Power: 14 |
If you want to run with sudo, try the full path instead of just the exec.
Another idea would be to lower the security see if that change everything, enter: sudo setenforce 0 and run again with your normal user. |
|
August 11, 2018, 08:07 |
|
#278 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hi Quentin,
Sorry for the really delayed response. I've been really busy recently and didn't get a chance to try your suggestions. I just tried the parallel run using Code:
sudo /usr/ansys_inc/v182/CFX/bin/cfx5solve -def PipeValve.def -par-local -partition 4 Thank you again for your help!! Regards, James |
|
August 13, 2018, 15:09 |
|
#279 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hello again,
Sorry if it seems I am spamming this thread, but it seems this is the best thread to post questions regarding Ansys set up for Ubuntu or other "uncertified" distros. I am trying to create a script for ICEM to import a STEP file and create an unstructured mesh of the geometry. In general, it is fine if I first import the geometry into DesignModeller first. However, DesignModeller is not as easy to script as ICEM (because it doesn't have a log a script). If I attempt to import the STEP directly in to ICEM, I get the following error: Code:
/user/ansys_inc/v182/icemcfd/linux64_amd/dif/step/steptotin: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory Code:
locate libX11.so.6 Code:
/usr/ansys_inc/v182/Electronics/Linux64/defer/libX11.so.6 /usr/ansys_inc/v182/Electronics/Linux64/defer/libX11.so.6.2 /usr/ansys_inc/v182/Electronics/Linux64/mainwin540/Linux64/mw/lib-amd64_linux/X11/libX11.so.6 /usr/ansys_inc/v182/Electronics/Linux64/mainwin540/Linux64/mw/lib-amd64_linux/X11/libX11.so.6.3.0 /usr/ansys_inc/v182/commonfiles/MainWin/linx64/mw/lib-amd64_linux/X11SLES/libX11.so.6 /usr/ansys_inc/v182/commonfiles/MainWin/linx64/mw/lib-amd64_linux/X11SLES/libX11.so.6.3.0 /usr/ansys_inc/v182/polyflow/polyflow18.2.0/lnamd64/libs/add_libs/libX11.so.6 /usr/ansys_inc/v182/polyflow/polyflow18.2.0/lnamd64/libs32/libX11.so.6 /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 I remember that part of the installation process required me to create a soft link using this command: Code:
sudo ln -sf /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/libX11.so Code:
/user/ansys_inc/v182/icemcfd/linux64_amd/dif/step/steptotin Does anyone know what could be the cause of this? Kind regards, James |
|
August 14, 2018, 14:51 |
|
#280 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hello again,
As a quick follow up to the previous post, importing STL and other formats works just fine. The issue only arises for STEP and IGES formats. Does anybody know why this may be happening or have any advice as to what I can do to check what may be the issue? Regards, James |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LINUX Experts: Help with installing ANSYS workbench | faisal_durr | ANSYS | 1 | May 30, 2014 09:07 |
Ansys workbench problem | Jonny6001 | ANSYS | 2 | September 30, 2010 13:59 |
How can I start the ANSYS 12 workbench in LINUX | Ardisia | ANSYS | 3 | September 7, 2010 01:19 |
ANSYS Workbench on Linux | CPUcruncher | ANSYS | 4 | July 11, 2010 10:19 |
ANSYS Workbench on "Certified" linux distro | mechanicaldesign | CFX | 0 | April 16, 2010 02:56 |