|
[Sponsors] |
Ansys 18.2 on UBuntu 16.04: Installation Guide |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2018, 04:42 |
Ansys 18.2 on UBuntu 16.04: Installation Guide
|
#1 |
New Member
David
Join Date: Dec 2012
Posts: 8
Rep Power: 13 |
Hi everybody,
since I had a lot of issues installing Ansys on Ubuntu, I summarize here all the steps (some picked up inside this forum) that are required to have a running version. I suggest to use standard MESA driver instead of nvidia or AMD drivers because I also need to use xrdp 0.9.4 (to have remote access) and it does not work with those drivers. The required packages from the installation guide (for RedHat/CentOS) are: • libXp.x86_64 • xorg-x11-fonts-cyrillic.noarch • xterm.x86_64 • openmotif.x86_64 • compat-libstdc++-33.x86_64 • libstdc++.x86_64 • libstdc++.i686 • gcc-c++.x86_64 • compat-libstdc++-33.i686 • libstdc++-devel.x86_64 • libstdc++-devel.i686 • compat-gcc-34.x86_64 • gtk2.i686 • libXxf86vm.i686 • libSM.i686 • libXt.i686 • xorg-x11-fonts-ISO8859-1-75dpi.noarch • glibc-2.12-1.166.el6_7.1 (or greater) 1. Therefore I installed: Code:
sudo apt install xterm lsb csh ssh rpm xfonts-base xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-cyrillic libmotif-common mesa-utils libxm4 libxt6 libxext6 libxi6 libx11-6 libsm6 libice6 libxxf86vm1 libpng12-0 libpng16-16 libtiff5 gcc g++ libstdc++6 libstdc++5 libstdc++-5-dev HTML Code:
https://pkgs.org/download/libxp6 Code:
sudo updatedb Code:
sudo ln -sf /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so sudo ln -sf /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 sudo ln -sf /usr/lib/x86_64-linux-gnu/libGLU.so.1 /usr/lib/libGLU.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libXm.so.4 /usr/lib/libXm.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libXm.so.4 /usr/lib/libXm.so.3 sudo ln -sf /usr/lib/x86_64-linux-gnu/libXp.so.6 /usr/lib/libXp.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libXt.so.6 /usr/lib/libXt.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libXext.so.6 /usr/lib/libXext.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libXi.so.6 /usr/lib/libXi.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libX11.so.6 /usr/lib/libX11.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libSM.so.6 /usr/lib/libSM.so sudo ln -sf /usr/lib/x86_64-linux-gnu/libICE.so.6 /usr/lib/libICE.so sudo ln -sf /lib/x86_64-linux-gnu/libgcc_s.so.1 /lib/libgcc.so sudo ln -sf /lib/x86_64-linux-gnu/libc.so.6 /lib/libc.so sudo ln -sf /lib/x86_64-linux-gnu/libc.so.6 /lib64/libc.so.6 Code:
sudo dpkg-reconfigure dash 6. From DVD1 install Ansys, launch: Code:
sudo ./INSTALL Code:
sudo chown -R user:user ~/.ansys sudo chown -R user:user ~/.config sudo chown -R 777 /ansys_inc/v182/aisol/WBMWRegistry/ 8. Debian-based multiarch distributions have their libc in /lib/x86_64-linux-gnu/ instead in /lib/. So that regular-expression for fetching the libc_version misses because of the two hyphens in x86_64-gnu-linux. After this modification everything seems to be fine... Locate cfx5arch (probably /usr/ansys_inc/v182/CFX/bin/cfx5arch). In this file you will find near line 196: Code:
if test -n "$libc_file"; then case `basename $libc_file | sed 's/\.so//g'` in glibc-*|libc-[0123].*) # this is almost certainly a glibc version Code:
libc_file_tmp=`echo $libc_file | sed -e 's/x86_64-linux-gnu//g'` and modified the following line from: libc_version=`echo $libc_file | sed -e 's/^[^-]*-//' -e 's/\.so//g'` Code:
libc_version=`echo $libc_file_tmp | sed -e 's/^[^-]*-//' -e 's/\.so//g'` PHP Code:
Code:
kernel.yama.ptrace_scope = 0 10. Set the following environment variables in your .bashrc: Code:
# Workbench export ANSYS182_DIR=/ansys_inc/v182/ansys alias wb2='/ansys_inc/v182/Framework/bin/Linux64/runwb2 -oglmesa' export LD_LIBRARY_PATH=/usr/ansys_inc/v182/Framework/bin/Linux64/Mesa:$LD_LIBRARY_PATH #export XLIB_SKIP_ARGB_VISUALS=1 #uncomment if you have trasparency issues in CFX pre/post or turbogrid export LANG=en_US.UTF8 #CFX export PATH=/ansys_inc/v182/CFX/bin:$PATH #Turbogrid export PATH=/ansys_inc/v182/TurboGrid/bin:$PATH #FLUENT export PATH=/ansys_inc/v182/fluent/bin:$PATH export FLUENT_ARCH='lnamd64' |
|
April 12, 2018, 08:40 |
|
#2 |
New Member
Sebastian Riebl
Join Date: Apr 2018
Posts: 1
Rep Power: 0 |
Hi David,
thanks a lot for posting this walkthrough. It also works for Ansys 19.0 (on Ubuntu 16.04 LTS). Before following your guide I was unable to run CFX standalone or from workbench. This was exactly the help I needed. |
|
April 30, 2018, 08:11 |
|
#3 |
New Member
|
does anyone has an idea, why CFX opens normally, but Fluent doesn't? I have v190.
|
|
May 11, 2018, 00:27 |
|
#4 | |
New Member
Chaitanya
Join Date: Aug 2013
Location: Mumbai
Posts: 18
Rep Power: 13 |
First of all, Lots of thank you to David Pasquale.
Secondly, for this issue: Quote:
Open the bashrc file by, Code:
sudo gedit ~/.bashrc Code:
alias cfx191 = '/ansys_inc/v191/CFX/bin/cfx5' alias fluent191 = '/ansys_inc/v191/fluent/bin/fluent' alias workbench191 = '/ansys_inc/v191/Framework/bin/Linux64/runwb2' alias cfx182 = '/ansys_inc/v182/CFX/bin/cfx5' alias fluent182 = '/ansys_inc/v182/fluent/bin/fluent' alias workbench182 = '/ansys_inc/v182/Framework/bin/Linux64/runwb2' You can now, just type fluent182 for launching Fluent-18.2 version and like that. Last edited by chaitanyaarige; May 14, 2018 at 03:04. |
||
May 11, 2018, 08:26 |
|
#5 |
New Member
|
Hey, thanks for the reply, but I don't have a problem with opening the programs. I think something went wrong with the installation. I reinstalled everything 3 times and I have the same problem: I can't find workbench and fluent crashed after the fluent launcher window.
The message I get: Code:
/usr/ansys_inc/v190/fluent/fluent19.0.0/bin/fluent -r19.0.0 /usr/ansys_inc/v190/fluent/fluent19.0.0/bin/fluent -r19.0.0 3d -nm -ssh /usr/ansys_inc/v190/fluent/fluent19.0.0/cortex/lnamd64/cortex.19.0.0 -f fluent -nm (fluent "3d -pshmem -host -alnamd64 -r19.0.0 -t1 -mpi=ibmmpi -path/usr/ansys_inc/v190/fluent -ssh") /usr/ansys_inc/v190/fluent/fluent19.0.0/cortex/lnamd64/cortex.19.0.0: symbol lookup error: /usr/ansys_inc/v190/fluent/fluent19.0.0/lnamd64/syslib/libsvml.so: undefined symbol: __intel_cpu_feature_indicator_x |
|
June 13, 2018, 17:17 |
|
#6 |
Senior Member
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 110
Rep Power: 17 |
David,
Thank you! It works also with 19.1. It is exactly was I was looking for! Robert |
|
June 26, 2018, 10:54 |
|
#7 |
Senior Member
|
Dear Zigec,
In Ansys there is a separate folder for workbench /v191/Framework/ Thanks |
|
July 16, 2018, 12:43 |
finite element modeller: connection refused
|
#8 |
New Member
jason
Join Date: May 2011
Location: uk
Posts: 10
Rep Power: 15 |
Hi david
On workbench platform, I made a mesh with ICEM, and linked with finite element modoeler to read the mesh, however it failed and said that connection refused and shows the information of AnsysWBU.exe has stop on the terminal, please help, thanks everyone |
|
July 27, 2018, 05:32 |
|
#9 |
Member
James Gross
Join Date: Nov 2017
Posts: 77
Rep Power: 8 |
Hi everyone,
Has anyone who followed this guide had any issues with running CFX in parallel? My set up will perform the parallel calculations just fine using the Intel MPI local parallel method, but then will never write the results file and simply hang indefinitely. I am sure it is an issue with the set up as I have tested it on a number of test cases. Thank you for any help you can give. Regards, James |
|
August 9, 2018, 11:43 |
Ansys 18.2 on Ubuntu 18.04
|
#10 | |
New Member
Join Date: Aug 2018
Posts: 2
Rep Power: 0 |
Hy everyone,
nice description, it was truly helpful. However I recently upgraded my Ubuntu system from 16.04 to 18.04 and the ansys installation just stops around 90%. The last information in the log file is: Quote:
Has anyone met anything similar? Thanks, Richard |
||
August 28, 2018, 11:30 |
|
#11 |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
same problem with installation of ansys19.1 on ubuntu 18.04!
Design Modeler and ICEMCFD are not working |
|
August 31, 2018, 02:51 |
|
#12 |
New Member
Timo ZHANG
Join Date: Aug 2016
Posts: 27
Rep Power: 10 |
Hi, Daniel
I solve the problem icemcfd not working on ubuntu 18.04 check this post: Installation of Ansys 19 on Ubuntu 18.4 hope it will help. since i don't use design modeler, i don't know why it cant work either. Happy meshing. ztnuaa |
|
September 4, 2018, 13:21 |
|
#13 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
Quote:
regarding designModeler and ansys not compeleting installation, I have gone through the AnsConfigWB.sh and .workbench.sh script...it seems that even though I have installed libpng12 from xenial package, ansys is still using libpng16 and that is the problem... tried re-directing a soft link for libpng.so to libpng12 with no luck... Also I have compiled and installed bash 4.3.30 form ubuntu 16.04 which also didn't fixed the problem... so my guess is that libpng16 is the problem here as the script stucks here: Code:
./workbench -cmd $exeFiles regServer -B |
||
October 3, 2018, 04:23 |
libxp6 for Ubuntu 16.04
|
#14 |
New Member
Batuhan Tas
Join Date: May 2018
Posts: 1
Rep Power: 0 |
Hi everyone,
I could not find libxp6 for Ubuntu 16.04 at the above link. What should I do? |
|
October 4, 2018, 09:19 |
|
#15 |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
||
October 23, 2018, 10:40 |
|
#16 | |
New Member
Amey Vasulkar
Join Date: Jul 2013
Location: Delft, Netherlands
Posts: 2
Rep Power: 0 |
Quote:
Were you able to solve the issue? I am having the same problem with Linux Mint! Please let me know, if you or anyone else has been able to solve the issue. Thanks |
||
November 12, 2018, 00:20 |
INSTALL file is not found
|
#17 |
New Member
Ali Ahmed
Join Date: Nov 2018
Posts: 1
Rep Power: 0 |
Hello guys,
I'm trying to install ansys 18.2 on ubuntu16.04. I downloaded ansys 18.2 but I don't see DVD1 or INSTALL file which is required as shown in step 6 Any ideas how to install ansys 18 on Ubuntu? |
|
November 20, 2018, 07:31 |
|
#18 |
New Member
Yuan Lihuan
Join Date: Sep 2018
Posts: 3
Rep Power: 8 |
Same problem with both ansys v191 and v192 on Fedora 26. Has anyone got the solution?
|
|
January 28, 2019, 14:54 |
|
#19 |
New Member
Mohammad
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
I want to install ansys 18.02 on ubuntu 18.10 but the installation stuck on 99% with the below log file:
Generating daemon scripts for this installation. AWPROOTDIR = /usr/ansys_inc/v182 Creating RSM Launcher script ... Created service script: rsmlauncher AWPROOTDIR = /usr/ansys_inc/v182 Creating ANSYS RSM Cluster Master Service script ... Created service script: arcmaster AWPROOTDIR = /usr/ansys_inc/v182 Creating ANSYS RSM Cluster Node Service script ... Created service script: arcnode does anybody know how can we solve it? |
|
February 2, 2019, 01:47 |
|
#20 |
New Member
Mohammad
Join Date: Sep 2012
Posts: 2
Rep Power: 0 |
The same problem here! could you solve it?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[CAD formats] MegaCads Installation on Ubuntu | NablaDyn | OpenFOAM Meshing & Mesh Conversion | 13 | May 29, 2020 14:17 |
Workbench 18.2 Installation Error Ubuntu 16.04 | turbostudent | ANSYS | 1 | October 3, 2019 11:13 |
[OpenFOAM.org] Deb packages on Ubuntu 16.04: Problem with bash file | f.fp | OpenFOAM Installation | 2 | April 24, 2017 14:31 |
Ansys Licence Serve on Ubuntu 16.04 LTS | david.pasquale | ANSYS | 2 | January 20, 2017 12:52 |
Ansys CFX support for ubuntu | LUIS1717 | CFX | 0 | May 17, 2014 16:07 |