CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Ansys 18.2 on UBuntu 16.04: Installation Guide

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree18Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2019, 06:24
Question Ansys 2019R1 (19.3) on Ubuntu 18.10
  #21
New Member
 
Yurij
Join Date: Feb 2019
Posts: 2
Rep Power: 0
yurik is on a distinguished road
Quote:
Originally Posted by mohamad809 View Post
I want to install ansys 18.02 on ubuntu 18.10 but the installation stuck on 99% with the below log file:

AWPROOTDIR = /usr/ansys_inc/v182
Creating ANSYS RSM Cluster Node Service script ...
Created service script: arcnode


does anybody know how can we solve it?

Hy everyone,


the same problem with installation of Ansys 2019R1 on Ubuntu 18.10!
Design Modeler is working. But Meshing is not working in Static Structural.



Thanks,
Yurij.
yurik is offline   Reply With Quote

Old   February 7, 2019, 06:35
Default Ansys 2019R1 (19.3) on Ubuntu 18.10
  #22
New Member
 
Yurij
Join Date: Feb 2019
Posts: 2
Rep Power: 0
yurik is on a distinguished road
Helo everybody,


The same problem here!
I want to install Ansys 2019R1 on Ubuntu 18.10 but the installation freezes on 91%. The last information in the log file is:

AWPROOTDIR = /usr/ansys_inc/v193
Creating ANSYS RSM Cluster Node Service script ...
Created service script: arcnode


Does anybody know how can we solve it?
yurik is offline   Reply With Quote

Old   May 14, 2019, 15:05
Default Microsoft Jscript runtime error while opening design modeller
  #23
Member
 
rupak504's Avatar
 
Lolita
Join Date: Aug 2016
Posts: 81
Rep Power: 6
rupak504 is on a distinguished road
Hi,

i installed ANSYS 19.2 successfully on 16.04, but when i run Design modeller, i get following error Screenshot from 2019-05-14 23-24-46.png
rupak504 is offline   Reply With Quote

Old   October 20, 2019, 07:39
Default Warning message
  #24
New Member
 
José Luiz Gasche
Join Date: Feb 2018
Posts: 1
Rep Power: 0
jlgasche is on a distinguished road
Thank you for this post. It was very useful to me. I used it to install Ansys 17.2 on Ubuntu 16.04 and it worked. However, when I tried to run a FSI case that was runing fine in the Windows OS I had the following warning message and then the program stoped.


+--------------------------------------------------------------------+
| Warning! |
| |
| Output call terminated unexpectedly: Aborting due to internal |
| error: "CFX5::Output::CCL=HASH(0x41b65420) ccl2flow executable |
| not defined.". |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| Warning! |
| |
| Output call terminated unexpectedly: Aborting due to internal |
| error: "CFX5::Output::OutFile=HASH(0x41b695f0) ccl2flow executable |
| not defined.". |
+--------------------------------------------------------------------+

May this warning be related to the installation procedure somehow? Could someone have some tip?

Thanks
jlgasche is offline   Reply With Quote

Old   May 31, 2020, 06:04
Default same error
  #25
New Member
 
deewakar
Join Date: Dec 2011
Posts: 14
Rep Power: 11
alligngr8 is on a distinguished road
Quote:
Originally Posted by rweber View Post
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:





Has anyone met anything similar?

Thanks,
Richard


Hey,
Were you able to fix this issue? Having same problem.

Thanks
alligngr8 is offline   Reply With Quote

Old   August 15, 2020, 06:03
Default Did you find any solution?
  #26
New Member
 
Heri T
Join Date: Aug 2020
Posts: 5
Rep Power: 2
Heril1996 is on a distinguished road
Quote:
Originally Posted by AliAhmed View Post
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?

If you found any solution then please write it!
Heril1996 is offline   Reply With Quote

Old   August 15, 2020, 06:08
Default please make video of it..it will be great help to a mass!
  #27
New Member
 
Heri T
Join Date: Aug 2020
Posts: 5
Rep Power: 2
Heril1996 is on a distinguished road
Quote:
Originally Posted by david.pasquale View Post
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
2. Install manually libXp (not included in the standard repo), you can find it at:
HTML Code:
https://pkgs.org/download/libxp6
3. Update the database with:
Code:
sudo updatedb
4. Locate the following libs and create soft links based on your system. I did as follows:
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
5. Change the command interpreter for shell scripts:
Code:
sudo dpkg-reconfigure dash
Then answer "No" to the question.


6. From DVD1 install Ansys, launch:
Code:
sudo ./INSTALL
7. Since you have installled ANSYS as root, you need to change ownership of the ANSYS configuration directories and files so that you have write access to them (if "user" is your username):
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
after that I added:
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'`
to
Code:
libc_version=`echo $libc_file_tmp | sed -e 's/^[^-]*-//' -e 's/\.so//g'`
9.Since ptrace is used to monitor intelmpi CFX run, set the permission for all the users, just edit
PHP Code:
/etc/sysctl.d/10-kernel-hardening.conf 
and set:
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'



Hello david!


ubantu is complete new for me. I am unabale to follow few steps written by you and in urgent need to install ansys in ubantu! I am not able to follow the things from step 6. it would be great help to me and other as well if you can make a video on it.
Heril1996 is offline   Reply With Quote

Old   August 31, 2020, 08:14
Default
  #28
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,455
Blog Entries: 6
Rep Power: 46
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Herli,

David made a well-explained post for most of the Linux users it is a simple sequence of commands one has to perform. For me there is no need to incorporate these things into a video.

Take your time to get familiar with the shell even if you are in hurry (in the 21th century everything is already too late - always),...


By the way, back to the topic. Does anyone can confirm ANSYS R20.2 to work within Ubuntu 20.04?
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   December 23, 2020, 03:43
Default
  #29
New Member
 
Join Date: May 2014
Posts: 13
Rep Power: 8
darsonli is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Dear Herli,

David made a well-explained post for most of the Linux users it is a simple sequence of commands one has to perform. For me there is no need to incorporate these things into a video.

Take your time to get familiar with the shell even if you are in hurry (in the 21th century everything is already too late - always),...


By the way, back to the topic. Does anyone can confirm ANSYS R20.2 to work within Ubuntu 20.04?
I tried on 20.04. I got the following error after step 1:
Package libstdc++-5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libpng12-0 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-0' has no installation candidate
E: Package 'libstdc++-5-dev' has no installation candidate
darsonli is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 18:11.