ANSYS, Inc. Installation Guide For Linux
ANSYS, Inc. Installation Guide For Linux
ANSYS, Inc. Installation Guide For Linux
Disclaimer Notice
THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE
SECRETS AND ARE CONFIDENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS
SUBSIDIARIES, OR LICENSORS. The software products and documentation are furnished
by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement that
contains provisions concerning non-disclosure, copying, length and nature of use, com-
pliance with exporting laws, warranties, disclaimers, limitations of liability, and remedies,
and other provisions. The software products and documentation may be used, disclosed,
transferred, or copied only in accordance with the terms and conditions of that software
license agreement.
ANSYS, Inc. is certified to ISO 9001:2008.
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for
ANSYS proprietary software and third-party software. If you are unable to access the
Legal Notice, please contact ANSYS, Inc.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. iii
ANSYS, Inc. Installation Guide for Linux
5.2.1. Translated Message File Installation for Mechanical APDL (ANSYS) ....... 46
5.3. Launching ANSYS, Inc. Products ................................................................... 47
6. Uninstalling the Software ................................................................................. 49
6.1. Uninstalling ANSYS, Inc. Products ................................................................ 49
7. Configuring CAD Products ................................................................................ 51
7.1. Using the CAD Configuration Manager ........................................................ 51
7.1.1. Unconfiguring .................................................................................... 53
7.1.2. Running the CAD Configuration Manager in Batch Mode ................. 53
7.1.3. NX Configuration ............................................................................... 55
7.2. Configuring NX ........................................................................................... 55
7.2.1. Configuring the Connection for NX ..................................................... 56
7.2.2. Configuring the Geometry Interface for NX for ANSYS Workbench
Products ..................................................................................................... 57
8. Troubleshooting ................................................................................................ 59
8.1. Installation Troubleshooting ........................................................................ 59
8.1.1. Using ANSLIC_ADMIN to Gather Diagnostic Information ..................... 59
8.1.2. The GUI Installation Process Hangs ..................................................... 59
8.1.3.The Target Machine Does Not Have a DVD Drive .................................. 60
8.1.4. The Online Help System Does Not Run Properly .................................. 60
8.1.5. CAD Configuration Manager Help Does Not Load ............................... 61
8.1.6. Cannot Enter Data in Text Fields .......................................................... 61
8.1.7. Download and Installation Error Messages .......................................... 62
8.1.8. System-related Error Messages ........................................................... 63
8.1.9. High Performance Computing Error Messages .................................... 63
8.2. Installation Troubleshooting - Mechanical APDL (ANSYS) ............................ 64
8.2.1.Your batch jobs terminate when you log out of a session ..................... 64
8.2.2. Japanese/Chinese characters display in status bar windows on Mech-
anical APDL (ANSYS) on Red Hat AS 4.0 ....................................................... 64
8.2.3. Mechanical APDL (ANSYS) Documentation File for User Interface Error
Messages ................................................................................................... 64
8.2.4. Launcher Error Messages .................................................................... 65
8.2.5. FORTRAN Runtime Error Messages ..................................................... 65
8.2.5.1. Intel Linux 64 Systems ............................................................... 65
8.2.5.2. Intel EM64T Linux x64 Systems ................................................... 65
8.2.5.3. AMD Opteron Linux x64 Systems ............................................... 66
8.3. Installation Troubleshooting - ANSYS Workbench ........................................ 66
8.3.1. Startup or Graphics Problems ............................................................. 66
8.4. Installation Troubleshooting - ANSYS CFX .................................................... 67
8.4.1. CFX Distributed Parallel Runs Fail ........................................................ 67
8.5. Contacting Technical Support ..................................................................... 67
Configuring Distributed ANSYS ............................................................................... 71
1. Setting up Distributed ANSYS ........................................................................ 71
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
iv Inc. and its subsidiaries and affiliates.
ANSYS, Inc. Installation Guide for Linux
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. v
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
vi Inc. and its subsidiaries and affiliates.
Chapter 1: Installation Prerequisites for Linux
This document describes the steps necessary to correctly install and configure
all ANSYS, Inc. products on Linux platforms for Release 14.0. These products in-
clude:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 1
Chapter 1: Installation Prerequisites for Linux
– CATIA, Version 4
– NX
– Parasolid
Notes Not all products may be available on all Linux platforms. Please see the
remainder of this document for detailed information on which products are
available on which platforms.
At Release 14.0, ANSYS BladeGen, BladeEditor, Vista CCD, Vista CPD, Vista RTD,
and Vista AFD are not supported on Linux platforms.
ANSYS Workbench and ANSYS EKM Desktop are installed by default as product
components to most ANSYS, Inc. product (Linux 64-bit systems only).ANSYS
Workbench is not installed as part of the products under ANSYS Additional Tools,
nor with the CFD-Post only option. ANSYS Workbench includes the following
applications:
Important Notice
If you wish to run multiple releases of ANSYS, Inc. software, you MUST install
them chronologically (i.e., Release 13.0 followed by Release 14.0). If you install
an earlier release after installing Release 14.0, you will encounter licensing issues
that may prevent you from running any products/releases. If you need to install
an earlier release after you have already installed Release 14.0, you MUST uninstall
Release 14.0, then re-install the releases in order.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
2 Inc. and its subsidiaries and affiliates.
Summary of New and Changed Features
The following features are new or changed at Release 14.0. Please review these
items carefully.
• ANSYS, Inc. has discontinued support for the HP-UX Itanium 64, the Sun Solaris
x64, IBM AIX 64, and the Linux 32-bit platforms for all products.
• ANSYS, Inc. has discontinued support for the Linux Itanium 64 platform for the
ICEM CFD product.
• Third-party products that are used as part of the installation process are now
documented in the ANSYS, Inc. Installation Guides.
• The ASAS product has been retired. The FATJACK, BEAMCHECK, and Splinter
products are now installed automatically with the Mechanical application.
• The Pro/ENGINEER CAD product has been rebranded to Creo Parametric.
• The ANSYS, Inc. product installation now supports Creo Parametric, NX, Solid-
Works, and Autodesk Inventor reader options. You can now choose to install the
Reader (no CAD installation required) or the Associative Plug-in (CAD installation
required) options for these CAD products.
• The release version now appears with each product selection in the Start menu
on Windows.
• You can now specify two DVD drives during a silent installation to accommodate
the installation process spanning two DVDs. See the discussion on Silent Mode
Operations in the Installation Guide for your platform for more information.
• You can now choose to install and uninstall only Remote Solve Manager (RSM).
RSM will continue to be installed as part of ANSYS Workbench.
• You can now choose to install and uninstall only the EKM Server on Windows
platforms.
• The use of files requiring 777 permissions on Linux has been minimized. For
more information on remaining full-permission files and softlinks, see the section
Third-Party Software and Other Security Considerations in the ANSYS, Inc. Linux
Installation Guide.
• The PDF version of the documentation that is available on the Customer Portal
is now unprotected, allowing you to copy and paste content from the PDFs into
other locations. This capability is especially useful if you want to use command
snippets that are available throughout the documentation.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 3
Chapter 1: Installation Prerequisites for Linux
Note
1. We recommend that you run ANSYS Workbench on Red Hat Enterprise Linux
5.3 or higher or SUSE Linux Enterprise 10.2 or higher.
Supported Platforms for High Performance Computing Please see the dis-
cussions on Configuring Distributed ANSYS and Configuring ANSYS CFX Parallel
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
4 Inc. and its subsidiaries and affiliates.
System Prerequisites
later in this guide for detailed information on supported platforms for distributed
computing.
1. We recommend that you run ANSYS Workbench on Red Hat Enterprise Linux
5.3 or higher or SUSE Linux Enterprise 10.2 or higher on Linux x64 systems.
A = Mechanical APDL
W = ANSYS Workbench
I = ANSYS ICEM CFD standalone (some CAD systems may require the
integrated ANSYS Workbench Reader)
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 5
Chapter 1: Installation Prerequisites for Linux
1. For ANSYS ICEM CFD standalone, ACIS 18.0.1 is the supported version for all
platforms.
2. NX 6.0 has dropped support for all Linux platforms except Linux SUSE 10 SP2.
3. NX 7.5 supports Red Hat 5.3 and SUSE Linux Enterprise 10 SP2.
4. Red Hat requires the installation of i686 (32-bit) glibc & libstdc++ libraries.
5. NX 8.0 supports Red Hat 6.0 and SUSE Linux Enterprise 11 SP1.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
6 Inc. and its subsidiaries and affiliates.
Additional Hardware and Software Requirements
The machine(s) being used for the simulation must contain at least one nVIDIA
Tesla series GPU card (a Tesla 20-series card is recommended for optimal perform-
ance) or one Quadro 6000 card. If both a Tesla and Quadro card are detected,
Mechanical APDL will choose the Tesla card.
On Linux, the driver version for the nVIDIA Tesla series GPU card must be
275.09.07 or newer.
You must be running on a Linux x64 operating system. Linux Itanium (Linux IA-
64) is not supported.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 7
Chapter 1: Installation Prerequisites for Linux
ANSYS, Inc. products may have softlinks that require 777 permissions. In addition,
the following third-party products are known to contain softlinks that require
777 permissions:
• MainWin
• CPython
• Mono
• Python
• Perl
• GCC
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
8 Inc. and its subsidiaries and affiliates.
Third-Party Software and Other Security Considerations
• Qt
• Qwt
• HPMPI
• PCMPI
• IMPI
• MPICH
• OPENMPI
• INTELMPI
• PCMPI
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 9
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
10 Inc. and its subsidiaries and affiliates.
Chapter 2: Platform Details
Linux
For ALL 64-bit Linux platforms, OpenMotif, and Mesa libraries should be installed.
These libraries are typically installed during a normal Linux installation. You will
also need the xpdf package to view the online help.
You can find the necessary OpenMotif libraries for your platform at http://www.mo-
tifzone.net.
SUSE Linux Enterprise 11 requires SP1. After installing the SP1 updates, you must
also install OpenMotif and the prerequisites from the SLES11 SDK DVD, as well
as the OpenMotif22 packages (recommended packages are openmotif22-libs-
2.2.4-138.18.1.x86_64.rpm and openmotif22-libs-32bit-2.2.4-
138.18.1.x86_64.rpm from SLED11 SP1 x86_64 distribution. You may need to use
"rpm -iv -force" to install these).
Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6 base install requires
patch kernel-2.6.32-71.14.1.el6.x86_64.rpm and kernel-devel-2.6.32-
71.14.1.el6.x86_64.rpm.
• libXp.x86_64
• xorg-x11-fonts-cyrillic.noarch
• xterm.x86_64
• libXp.x86_64
• openmotif.x86_64
• compat-libstdc++-33.x86_64
• libstdc++.x86_64
• libstdc++.i686
• gcc-c++.x86_64
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 11
Chapter 2: Platform Details
• 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
Red Hat no longer includes the 32-bit libraries in the base configuration so you
must install those separately.
Additional requirements for Intel, AMD Opteron, and EM64T Linux systems are
detailed below.
ANSYS, Inc. License Manager Linux 32 and Linux x64 systems running the
ANSYS, Inc. License Manager require the Linux Standard Base (LSB) 3.0 package.
• glibc
• libstdc++
ANSYS Workbench For ANSYS Workbench, install the following gamin .rpm
for your platform to prevent ANSYS Workbench from hanging when the Linux
file alteration monitor, gam_server, is using 100% of the CPU.
• gamin-0.1.7-1.4.EL4.x86_64.rpm
If you are running ANSYS Workbench using the KDE desktop environment, set
the focus stealing prevention level to "None" to prevent the project save dialog
boxes from appearing behind the application window:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
12 Inc. and its subsidiaries and affiliates.
4. Click Apply.
If you are running on KDE 4 or if the kcontrol command does not exist, use
System Settings to set the focus stealing prevention setting level to "None":
Then, use the following procedure to set mwcontrol for your locale:
1. cd to <wb_install directory>/v140/aisol
2. Issue the following command:
./.workbench -cmd mwcontrol
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 13
Chapter 2: Platform Details
The need for increasing the limits may be indicated by the following error mes-
sage with Platform MPI:
fluent_mpi.6.3.26: Rank 0:0: MPI_Init: ibv_create_qp()
failed fluent_mpi.6.3.26: Rank 0:0:
MPI_Init: Can't initialize RDMA device
After setting soft and hard memlock to a proper value you still receive memory
errors:
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations
This modification takes effect immediately, but is reset at the next reboot. To
avoid resetting the limit when rebooting, add the above command to one of
your system’s startup scripts by copying the command into a file called mod_sem
and then setting up the following links to execute the file each time you restart
your system:
cp mod_sem /etc/init.d
ln -s /etc/init.d/mod_sem /etc/rc3.d/S61mod_sem
ln -s /etc/init.d/mod_sem /etc/rc5.d/S61mod_sem
Using the FLUENT Launcher On Linux systems, you must have the following
package (as appropriate for your platform) installed in order to use the FLUENT
launcher:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
14 Inc. and its subsidiaries and affiliates.
Using ANSCUSTOM If you use ANSCUSTOM to link your own version of ANSYS
Release 14.0 on a SUSE SLES10.x box, you may see two unsatisfied externals that
are system, not ANSYS files, due to the linker looking for some system files in a
Red Hat directory on a SUSE box.
The revision numbers shown in the examples (2.95.3 and 3.4.6) may be different
on your system. The linker will specify where it is trying to find the crtbegin.o
and crtend.o files; that location will be the last part of the above commands.
You can use the Linux locate command to find the existing crtbegin.o and
crtend.o files; that location would be the first part of the above commands.
System Libraries On 64-bit Linux linx64 systems (not Itanium systems), the
ANSYS Release 14.0 executable is looking for system libraries that do not have
revision numbers appended to the end of their file names. On some SUSE systems,
the graphics libraries all have revision numbers appended to the end of the library
filenames. In these cases, ANSYS quits because the loader cannot find all of the
libraries that it is looking for. When running ANSYS Release 14.0, the loader will
inform you that it is unable to locate a specific library (for example, libXm.so).
Using the Linux locate command, find the library (libXm.so in this example)
on your system and add the appropriate symbolic link as seen below.
The revision numbers appended to the filenames on the left may be different
on your system.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 15
Chapter 2: Platform Details
Intel Linux
ANSYS was built and tested on Red Hat using the compilers as noted in
Table 2.1: Compiler Requirements (p. 16). The ANSYS solver is built on Red Hat En-
terprise Linux AS release 4 (Update 5).
For ANSYS Workbench and ANSYS AUTODYN, you need to unlimit the stack
size. Add the following to your .cshrc file:
limit stack unlimit
If you are running on Intel's Xeon EM64T system, we recommend that you
turn CPU hyperthreading off (default is on). A system administrator needs
to reboot the system and enter the BIOS to turn the hyperthreading option
off.
* Compilers are required only if you will be using User Programmable Features
or other customization options.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
16 Inc. and its subsidiaries and affiliates.
Chapter 3: Pre-Installation Instructions
3.1. Pre-Installation Instructions for Download Installa-
tions
Before downloading the installation files, you need to accurately determine your
platform type. Versions that are optimized for different chip sets from the same
vendor can have similar names, causing confusion. We strongly recommend that
you run the get_ansys_platform140 script on each machine first. This script
will output the correct platform name for each machine on which it is run. You
can download this script by clicking the Which UNIX/Linux platform am I using?
button on the download site.
We strongly recommend that you review the Read Download Instructions and
Product Information file included on the download site for the most current
download instructions. We also recommend that you review the What Should
I Download? file to understand which package(s) you need to download, de-
pending on which product(s) you purchased and wish to run.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 17
Chapter 3: Pre-Installation Instructions
the download procedure for each platform that you want to download. Click
Next Step.
5. Choose the products you wish to download. Products are listed by product
names that correspond to the licensing product names. You can choose to list
products grouped by product group or alphabetically. All products that you
currently have licensed are highlighted and pre-selected for your convenience.
After you have selected all products that you wish to download, click Next
Step.
6. The license manager, product, and documentation packages that you've selected
to download are listed. Click on each link provided to begin the downloads.
7. After the downloads have completed, uncompress each package using standard
uncompression utilities for your specific platform. We strongly recommend that
you extract the files into a new, temporary directory.
8. Begin the product installation as described in Installing the Software (p. 21).
If the target machine does not have a DVD reader, first follow the steps for locally-
mounted DVD, and then follow the procedure below for remotely-mounted
DVDs:
or
/dvdrom_dir (ro)
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
18 Inc. and its subsidiaries and affiliates.
Mounting the DVD Instructions for DVD Installations (Linux x64 Only)
exportfs –a
Check the manual page for 'exports' for the correct syntax, as different
Linux versions can have different syntax.
3. Log on to the machine where you wish to install ANSYS, Inc. products and issue
the following commands:
mkdir dvdrom_dir2
mount -t nfs Host:cdrom_dir dvdrom_dir2
where Host is the hostname of the machine where the DVD device is
located.
If you are installing from media, you will be prompted to change DVDs during
the installation. Please make sure you have all installation DVDs before beginning
the installation.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 19
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
20 Inc. and its subsidiaries and affiliates.
Chapter 4: Installing the Software
4.1. Installing ANSYS, Inc. Products
This section explains how to install ANSYS, Inc. products, including ANSYS client
licensing, as well as the ANSYS, Inc. License Manager.
The default installation expects you to be logged in as root. You can override
that setting and run the installation as a regular user by starting the installation
with the -noroot command option. If you are not logged in as root, however,
you will not be able to set the /ansys_inc symbolic link and may potentially
experience permission problems. The inability to set the /ansys_inc symbolic
link will in no way inhibit your ability to run ANSYS, Inc. products; it is provided
as a convenience.
If you do not use the /ansys_inc symbolic link, you must install all releases
into a common directory to ensure license manager compatibility and availability
among releases and products.
To invoke the license manager only install, run INSTALL.LM and proceed
directly to License Manager Installation, below. Use /INSTALL.LM only to
install the license manager; use INSTALL to install the product(s).
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 21
Chapter 4: Installing the Software
3. The License Agreement screen appears. Read the license agreement, and if you
agree, click I Agree to accept the terms and click Next. You must select I Agree
to continue with the installation.
4. If you are installing more than one platform or if you are installing a platform
other than your current machine type, you will need to select the platform(s)
on which you want to install the ANSYS, Inc. products. The platform on which
you launched the installation will be selected by default and is shown at the
bottom of the window. You can choose as many platforms as you wish; however,
you must run the platform configuration procedure (see Run the Product Config-
uration Utility in Network Installation and Product Configuration (p. 26)) for each
platform other than your current machine type. See Network Installation and
Product Configuration (p. 26) for specific instructions on how to configure a
shared installation directory across multiple machines using a common network
file system.
We strongly recommend that you also set the symbolic link /ansys_inc
to the directory where the ANSYS, Inc. product is installed. The /an-
sys_inc symbolic link is set by default. If you choose not to specify the
symbolic link, substitute the directory path where you installed the product
for all subsequent occurrences of /ansys_inc in this guide. The symbolic
link option is available only if you are installing as root.
If you do not use the /ansys_inc symbolic link, you must install all
releases into a common directory to ensure license manager compatibility
and availability among releases and products.
If you have already installed the ANSYS Workbench Framework for Ansoft,
you must install any additional ANSYS, Inc. products into the same directory.
On Linux, you can choose Disable RSS to disable automatic internet feeds
to ANSYS, Inc. products.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
22 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
The components listed represent all available components for the platforms
you selected earlier. Not all components are available on all platforms or
with all products.
If you choose the Workbench Associative Interface and the UGII environ-
ment variables were not set, you may need to specify the NX installation
path for an existing NX installation. Click Next.
8. A licensing file date verification summary appears. If the date verification finds
a conflict, a message box appears with details of the conflict and steps for res-
olution. If no conflicts are found, click Next.
9. A summary of the selected installation data appears. Information shown includes
platform, installation directory, and products. Review the information carefully,
and if correct, click Next to continue the installation.
The selected products and components are now being installed and con-
figured on your system. The installation window displays the individual
actions as they occur. When the installation is complete, the window dis-
plays any installation errors or warnings. Review this information carefully.
Click Next to continue the installation and install the licensing client.
10. The Licensing Client Installation Configuration box appears. As the licensing
client is installed, progress messages appear in the box.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 23
Chapter 4: Installing the Software
11. If you do not have an existing ansyslmd.ini file, the Specify License Server
Machine - Add Server Specification box appears. Enter the hostname of your
license server machine and click Next.
If you already have an existing ansyslmd.ini file, you will not see this
box and you will proceed directly to the next step.
12. When the client installation is complete, click Exit.
13. On the product installation window, click Next. You will be asked to participate
in an Install Survey. To take the survey, enter the path to a valid browser for
your system, and click Next. You can also click Finish now to skip the survey
or when you have completed the survey.
If you have installed ANSYS, Inc. products on a file server, follow the instructions
under Network Installation and Product Configuration (p. 26).
Caution
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
24 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
4. The License Agreement screen appears. Read the license agreement, and if you
agree, click I Agree to accept the terms and click Next. You must select I Agree
to continue with the installation.
5. If you are installing more than one platform or if you are installing a platform
other than your current machine type, you will need to select the platform(s)
on which you want to install the ANSYS, Inc. License Manager. The platform on
which you launched the installation will be selected by default and is shown
at the bottom of the window. Click Next to continue.
6. The installation directory is specified. You can accept the default or specify an
alternate path and directory name where the products are to be installed.
The ANSYS License Manager is now being installed and configured on your
system. The installation window displays the individual actions as they
occur. When the installation is complete, the window displays any installa-
tion errors or warnings. Review this information carefully. Click Next to
continue the installation and install the license manager.
10. The Licensing Server Installation Configuration box appears. As the license
manager is installed, progress messages appear in the box.
11. The License Wizard will be launched. This wizard walks you through the process
of installing or updating a license file, specifying the license server(s) (which
updates the ansyslmd.ini file), and starting the license manager. The wizard
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 25
Chapter 4: Installing the Software
will prompt you for the necessary information at each step. During this process,
the license manager will be shut down if it is running. Be aware that this can
impact any users currently running using the license manager.
Click Continue on the License Wizard to begin, and follow the instructions
on the screen.
12. When the License Wizard is complete, click Exit on the wizard screen and then
click Finish again on the Licensing Installation Configuration Log screen.
13. When the license manager installation is complete, click Finish.
2. Return the resulting file to your ANSYS, Inc. sales representative. ANSYS, Inc. or
your sales representative will then supply you with your license keys. This file
is located in /ansys_inc/shared_files/licensing/licserver.info
by default.
3. Use the Run the License Wizard option of the ANSLIC_ADMIN utility to enter
your license key and start the license manager.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
26 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
of those platform types will access the product installation on that single Linux
file server. However, you must install different platforms into different directories.
You must complete the following steps to run products across a network:
4.1.3.1. Export the /ansys_inc Directory
4.1.3.2. Run the Product Configuration Utility on All Client Machines
4.1.3.3. Configure Licensing for File Server Installations
The instructions below assume ANSYS, Inc. products were installed in the specified
directory.
1. Install the ANSYS, Inc. products. The following example uses /usr/ansys_inc.
2. Export the ansys_inc directory by adding the following line to the
/etc/exports file:
/usr/ansys_inc
The default behavior on Linux provides read-only access from all clients.
To enable read/write permission from all clients, use *(rw):
/usr/ansys_inc *(rw)
3. Run
exportfs -a
If you perform a network install where the server and client are on the same
platform and you want the clients to be able to modify the licensing configura-
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 27
Chapter 4: Installing the Software
tion, you need to consider the NFS write options for the exported file system as
shown in the above examples. You also need local permissions to the licensing
directory (/shared_files/licensing/<platform>/) if you want to be
able to create the install_licconfig.log that the license configuration
produces.
If you need to transfer the files from a Windows machine with a DVD drive to a
Linux machine without one, copy the DVD contents using a Samba mount or
some other transfer method that is safe to use between Windows and Linux.
If sharing the ANSYS directory between Linux machines, you must use the same
mount point for both the client and server. For example, if you installed to a file
server in a directory named /apps/ansys_inc and you did not choose the
symbolic link to /ansys_inc, then you must mount this directory on the client
machine using /apps/ansys_inc as the mount point. If you did choose the
symbolic link to /ansys_inc during installation on the file server, you must
either use /ansys_inc as the mount point on the client or you must create a
symbolic link to /ansys_inc on the client machine. (The symbolic link is created
by default during installation if you installed as root).
1. On each client machine, issue the following command to run the Product
Configuration utility:
/ansys_inc/v140/commonfiles/tools/<platform>/ProductConfig.sh
Note
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
28 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
4. If you selected Common/CAD and are configuring NX, you will need to supply
the NX installation directory path.
You can choose to skip the configuration. If you skip the configuration
here, you must manually configure NX or use the ANS_ADMIN utility or
the CAD Configuration Manager to configure NX later. See Configuring
CAD Products (p. 51) for detailed information on using alternative methods
to configure NX.
5. On the Configuration Complete dialog box, click Finish.
You can specify the following product flags. These flags are all valid for a silent
install. However, because of the way the products are packaged, not all of these
flags may be valid for a silent configuration/unconfiguration, or uninstall.
Product Flags
Product product_flag
Mechanical APDL (ANSYS) -mechapdl
ANSYS Customization Files -ansyscust
ANSYS AUTODYN -autodyn
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 29
Chapter 4: Installing the Software
Product product_flag
ANSYS LS-DYNA -lsdyna
ANSYS CFD-Post -cfdpost
ANSYS CFX -cfx
ANSYS TurboGrid -turbogrid
ANSYS FLUENT -fluent
ANSYS POLYFLOW -polyflow
ANSYS AQWA -aqwa
ANSYS Icepak -icepak
ANSYS ICEM CFD -icemcfd
Note: Installing any of the above products will install ANSYS Workbench.
If no product flags from the list above are specified, all products will be installed.
To install specific products, run the silent install with any combination of the
product flags listed above (not all products are available on all platforms). For
example, to install only TurboGrid and Icepak, issue the following command:
INSTALL -silent —install_dir “/ansys_inc/” -turbogrid -icepak
Additional command line arguments are available; please see the list below.
To install the ANSYS License Manager on Linux systems that will act as license
servers, you must run the INSTALL.LM command:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
30 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
The silent license manager installation is valid only for the default Licensing
Configuration option "Run the ANSYS Licensing Interconnect with FLEXlm." Please
see the ANSYS, Inc. Licensing Guide for more information.
You can use the following arguments when running a silent installation. Note
that some options are available only for a silent license manager installation.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 31
Chapter 4: Installing the Software
LI_port_number:FLEXlm_port_number:host-
name
Example:
2325:1055:abc
LI_port_number:FLEXlm_port_number:host-
name1,hostname2,hostname3
Example:
2325:1055:abc,def,xyz
Example:
::abc
or
::abc,def,xyz
Any messages will be written to the appropriate installation log files. Installation
log files are located in the installation directory: install.log contains install-
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
32 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
Caution
A silent license manager installation could shut down the ANSYS, Inc.
License Manager, affecting other users who are using that license
server machine.
For more information on the silent license manager installation, see the ANSYS,
Inc. Licensing Guide.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 33
Chapter 4: Installing the Software
To run in silent mode, from each client machine, run the ProductConfig with
the -silent option:
/ansys_inc/v140/commonfiles/tools/<platform>/ProductConfig.sh -silent
Product product_flag
Mechanical APDL (ANSYS) -mechapdl
ANSYS CFD-Post -cfdpost
ANSYS CFX -cfx
ANSYS TurboGrid -turbogrid
ANSYS FLUENT -fluent
ANSYS POLYFLOW -polyflow
ANSYS Icepak -icepak
ANSYS ICEM CFD -icemcfd
ANSYS Remote Solve Manager Standalone Services -rsm
Errors will be written to the install.err on the server machine if you have
write access to that machine.
• Copy the contents of each DVD to a folder on the machine's hard disk such that
the 140-<number>.dvd files of each DVD are located in the same directory.
You can then proceed with the silent installation as described earlier.
• Place all of the media in separate drives (any combination of virtual ISO mounts
or hardware drives) so that they can be accessed simultaneously during the in-
stallation. Then run the silent installation as described earlier, but include the
additional -media_path2 <path> option for each drive:
INSTALL -silent -install_dir path -product_flag -media_path2 <path>
The installer uses the mount directory from which it was launched as the
first media path; you need to specify only the location of the subsequent
DVD(s) using the -media_path2 option shown in the example above.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
34 Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products
The silent uninstall will automatically uninstall all products for this release and
delete the v140 directory and all subdirectories. You will not be prompted for
confirmation.
For example, to uninstall only TurboGrid and Icepak, issue the following command:
/ansys_inc/v140/ans_uninstall140 –silent -turbogrid -icepak
You can also issue the -help option to see a list of valid arguments for a silent
uninstall.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 35
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
36 Inc. and its subsidiaries and affiliates.
Chapter 5: Post-Installation Instructions
5.1. Post-Installation Procedures for All Products
The following post-installation procedures apply to all products. Individual
products may have additional post-installation procedures; please refer to the
following sections.
After the product is installed, you need to establish some system settings, includ-
ing pathnames and environment variables. See your shell documentation or man
pages file for the shell being used for specific instructions on setting paths and
environment variables.
1. Add the following paths to all users' login startup files (i.e., .cshrc , .profile,
or .login files).
2. Set the following environment variables based on the behavior you want. Set
the environment variables following the conventions of your shell. For example,
to set an environment variable in the C shell, type:
setenv environment_variable value
For example, to set the DISPLAY environment variable, you type the fol-
lowing, where dev is the workstation hostname or IP address on which to
display graphics:
setenv DISPLAY dev:0.0
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 37
Chapter 5: Post-Installation Instructions
If you will be using connection functionality, you may have additional en-
vironment variables to set. See the section Configuring CAD Products (p. 51)
later in this guide for more information.
3. Set the license manager to start automatically at boot time. For platform-specific
instructions, see License Manager Automatic Startup Instructions in the ANSYS,
Inc. Licensing Guide.
4. Designate server(s) for license checkout and establish necessary user privileges
(recommended but not required). For information on these tasks, see Post-In-
stallation Instructions for the License Manager in the ANSYS, Inc. Licensing Guide.
5. Make a backup copy of the /ansys_inc directory using a tape backup com-
mand such as tar.
6. Verify the installation by logging out as root (if you installed as root) and logging
back in as a regular user and then starting the product to verify that it starts
and runs correctly.
1. Set the following environment variables based on the behavior you want. Set
the environment variables following the conventions of your shell. Not all of
these are required for all integrated ANSYS Workbench products (such as ANSYS
AUTODYN), but setting them correctly for ANSYS Workbench will in no way
hinder the performance of the other products.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
38 Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products
If you will be using connection functionality, you may have additional en-
vironment variables to set. See the section Configuring CAD Products (p. 51)
later in this guide for more information.
2. Create or update the at. files. The at.allow file should contain the username
of all users allowed to run batch jobs; the at.deny file should contain the
username of users who are not permitted to run batch jobs. The files consist
of one username per line and can be modified only by the superuser. If neither
file exists, only root will be able to run batch jobs.
The at. files are located in the /etc directory on Linux machines.
3. Run the ANS_ADMIN utility to properly configure ANSYS (depending on the
products you are running) or relink ANSYS.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 39
Chapter 5: Post-Installation Instructions
4. Specify the product order as it will appear in the Mechanical APDL (ANSYS)
launcher (optional). If you want to specify product order, use the ANSLIC_ADMIN
utility. See the ANSYS, Inc. Licensing Guide for more information.
This issue also affects Rigid Dynamics and Explicit Dynamics using both ‘My
Computer’ and ‘My Computer, Background’ Solve Process Settings. Please see
Configuring a Multi-User RSM Machine in the RSM documentation for more in-
formation.
Unless you want to run ANSYS CFX commands by typing their full path names,
for example cfxroot/bin/cfx5 (where cfxroot is the directory in which
ANSYS CFX is installed), your command search paths must be modified to search
the directory cfxroot/bin. This can be done by one of the following methods:
Modification of individual user setup files You can select Tools> Configure
User Startup Files from the ANSYS CFX Launcher to modify your own setup
files: .login for the C shell, .profile for the Bourne and Korn shells. The
utility can also be run from the command line by entering:
cfxroot/bin/cfx5setupuser
If this modification is done, the ANSYS CFX software will be available every time
you log in, just by running the ANSYS CFX commands by name. This method
has the advantage that it need not be done by the system administrator, but
has the disadvantage that it must be done by each user.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
40 Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products
User setup can also be run from the command line by entering:
cfxroot/bin/cfx5setupuser
If you choose to modify your setup files, you will see a message indicating that
your setup files have been changed. You will then need to log out and log in
again or source your setup files before you can use the software.
Manual execution of a setup script each time the software is used You can
also use the Tools menu of the launcher to launch an editor to create new setup
scripts which need to be run each time you want to use the ANSYS CFX software.
This method has the advantage of not requiring changes to existing setup files
and allows you to use different versions of ANSYS CFX software by running dif-
ferent setup files. The disadvantages are that all users must create their own
setup files and run them manually in every session in which they want to run
ANSYS CFX software.
Having created the setup files, users of the C shell then need to do the following
to run ANSYS CFX:
source ~/cfx5.login
cfx5
Having created the setup files, users of the Bourne or Korn shell then need to
do the following before running ANSYS CFX:
.$HOME/cfx5.profile
cfx5
Refer to your system documentation for information about which files to change
for your workstations.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 41
Chapter 5: Post-Installation Instructions
and these lines to the .profile file in your home directory, and also the
.bash_profile if it exists:
PATH=cfxroot/bin:$PATH
export PATH
With the path altered in this way, you can start ANSYS TurboGrid in the current
working directory by typing cfxtg.
Refer to your system documentation for information about which files to change
for your workstations.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
42 Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products
and select Tools> Configure User Startup Files. This option runs cfx-
root/bin/cfx5setupuser that modifies your setup files or writes the neces-
sary commands to files, which you can merge manually with your existing setup
files.
If you choose to modify your setup files, you will see a message indicating that
your setup files have been changed. You will then need to log out and log in
again or source your setup files before you can use the software.
User setup can also be run from the command line by entering:
cfxroot/bin/cfx5setupuser
To keep all the files for the example together, you should first create a new dir-
ectory in which to run the example. This can be done by typing:
mkdir cfx_example
at the command line. You should then change to this directory by typing:
cd cfx_example
Note: To speed up the process of testing, consider using the provided session
files when working with ANSYS CFX-Pre.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 43
Chapter 5: Post-Installation Instructions
PATH=(/ansys_inc/v140/fluent/bin $path)
export PATH
After installing the ANSYS FLUENT software, you will need to reset the default
values in the ANSYS FLUENT launcher as follows:
4. Click Default.
5. Click Yes when asked if you want to discard the LAUNCHER history.
6. Click Cancel if you do not wish to start FLUENT at this time. The new defaults
will have been saved.
Please refer to the ANSYS FLUENT Quick Start Guide for more information.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
44 Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products
1. Add the following paths to all users' login startup files (i.e., .cshrc or .login
files).
/ansys_inc/v140/icemcfd/<ICEMCFD_OS_DIR>/bin
Hardware ICEMCFD_OS_DIR
Linux Itanium 64 linux64
Linux x64 (AMD Opteron) linux64_amd
Linux x64 (EM64T) linux64_amd
2. Add the following environment variable to all users' login startup files.
Add the following paths to all users' login startup files (i.e., .cshrc or .login
files).
Please refer to the ANSYS AUTODYN Quick Start Guide and What's New documents
in the ANSYS AUTODYN help directory for information on starting and running
ANSYS AUTODYN.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 45
Chapter 5: Post-Installation Instructions
All products that are localized define the language via the languageset-
tings.txt file. In most cases, you will not have to manually edit this file. If
you do need to edit it manually, you can use one of the following values:
ANSYS, Inc. applications will look for the languagesettings.txt file in the
following locations, in order:
1. $Home/.ansys/v140
2. <install_dir>/ansys_inc/v140/commonfiles/language
ANSYS, Inc. licensing also looks for the languagesettings.txt in the licens-
ing languages subdirectories in order to display the ANSLIC_ADMIN utility and
the ANSYS, Inc. Licensing Interconnect message and log files in a different lan-
guage.
Some products are not fully localized but offer only the messages in a translated
version. See the following section for instructions on translated message file in-
stallation.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
46 Inc. and its subsidiaries and affiliates.
Launching ANSYS, Inc. Products
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 47
Chapter 5: Post-Installation Instructions
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
48 Inc. and its subsidiaries and affiliates.
Chapter 6: Uninstalling the Software
6.1. Uninstalling ANSYS, Inc. Products
To uninstall a product, issue the following command:
/ansys_inc/v140/ans_uninstall140
Alternatively, if you are using the Mechanical APDL product, you can use the
Uninstall option of the ANS_ADMIN utility. To launch ANS_ADMIN, issue the
following command:
/ansys_inc/v140/ansys/bin/ans_admin140
1. From the uninstall panel, choose one of the following uninstall options:
If you are not a superuser, you will see a warning message, and then the
uninstall continues.
2. If you chose Select Products to Uninstall, you will see a list of products that
are installed. Select those products you want to uninstall and click Continue.
Then click OK to confirm the list of products to be uninstalled.
If you chose Uninstall all ANSYS Products, you will be asked to confirm
that you want to uninstall all products. Click Yes. This process will remove
all files and directories under and including the /ansys_inc/v140 directory.
3. When the uninstall has completed, click Finish.
In the case of a platform (file server) installation, the uninstall will remove the
selected product(s) from all of the Linux platforms.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 49
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
50 Inc. and its subsidiaries and affiliates.
Chapter 7: Configuring CAD Products
The connection functionality of all supported CAD products is included with the
ANSYS release media, and all CAD functionality except NX is installed by default.
To use the connection functionality, you need to ensure that the product is
properly licensed, and set any necessary environment variables or other config-
uration as appropriate. See the manuals for the individual CAD products for in-
formation about environment variables and other configuration requirements.
For complete information about the files you can import, see Introduction to
Import in the ANSYS Connection User's Guide.
Caution
If you are running NX, some additional configuration may be required, especially
if you chose to skip configuring these products during the installation process.
The following sections describe any post-installation configuration procedures
that are required and how to manually configure NX if you did not configure NX
during installation or if you are updating your CAD versions. These methods are
all described in the following sections.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 51
Chapter 7: Configuring CAD Products
• CAD Selection
• Creo Parametric (options are active on Windows only)
• NX
• Teamcenter Engineering (options are active on Windows only)
• CAD Configuration
You can choose Help to view instructions on using the CAD Configuration
Manager at any time. If the help does not load into your default browser, set
the BROWSER environment variable to the path of your HTML viewer (such as
Mozilla or Firefox) and restart the CAD Configuration Manager.
1. Run the following command to start the CAD Configuration Manager, substi-
tuting the full installation path if different than /ansys_inc:
/ansys_inc/v140/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigUtilityGUI.exe.
2. On the CAD Selection tab, choose the ANSYS products and the CAD products
that you need to configure. You must select at least one ANSYS product and
at least one CAD product to enable the remaining functionality.
3. If you selected NX as one of your CAD products, the NX tab opens.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
52 Inc. and its subsidiaries and affiliates.
Using the CAD Configuration Manager
b. The NX custom directory file is not applicable on Linux and can be ignored
as it will be disabled.
c. Click Next.
5. When all of your CAD products have been successfully configured, click Exit.
You can review the CAD Configuration Manager log file, CADConfiguration-
Mgr.log, in /ansys_inc. If you do not have write permissions to the /an-
sys_inc directory, the log file will be written to $TEMP. If you have not defined
$TEMP, the log file is written to /tmp. When /tmp is not accessible, this file will
be written to the current working directory.
7.1.1. Unconfiguring
If you need to unconfigure any of your CAD products, follow the steps above,
but choose Unconfigure Selected CAD Interfaces on the CAD Configuration
tab.
The command to run the CAD Configuration Manager in batch mode on Linux
is:
/ansys_inc/v140/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigurationUtility.exe
-arguments
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 53
Chapter 7: Configuring CAD Products
Note
For example, you can configure the NX Geometry Interface to ANSYS Workbench
from the command line by using the following:
<installpath>/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigurationUtility.exe
-UG_CONFIG_WB -UGII_BASE_DIR "<pathtonx>" -UG_USE_COLORS
Although the argument order does not matter, an argument value must imme-
diately follow its argument.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
54 Inc. and its subsidiaries and affiliates.
Configuring NX
7.1.3. NX Configuration
Running the CAD Configuration Manager for NX performs the following steps
to activate the NX reader:
The CAD Configuration Manager does not configure the ICEM CFD Direct CAD
Interface to NX on Linux. To manually configure this product, set the environment
variable UGII_VENDOR_DIR to /ansys_inc/v140/icem-
cfd/linux64_amd/dif/ug/lib/ug/ugXX_vendor_dir. Here, XX corres-
ponds to the version of NX intended to load the NX Direct CAD Interface:
7.2. Configuring NX
To use NX in reader mode, you will not need to perform any additional configur-
ation steps. Mechanical APDL (ANSYS) and ICEM CFD use the following three NX
environment variables, which are set during the NX installation:
UGII_BASE_DIR
UGII_ROOT_DIR
UGS_LICENSE_SERVER
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 55
Chapter 7: Configuring CAD Products
In general, you will not need to reset these variables. They are described below
should you need to modify or reset them.
Note
However, to export to Mechanical APDL (ANSYS) from NX, you will need the
config.anscon.140 file. This file is installed for all users in /an-
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
56 Inc. and its subsidiaries and affiliates.
Configuring NX
You can modify the config.anscon.140 file to set information for all NX
users. NX users can copy this file to their working directory and configure it for
their own projects. NX users should see Using the Configuration Editor in the
ANSYS Connection User's Guide for more information. See Setting ANSYS Configur-
ation Parameters in the ANSYS Connection User's Guide for more information about
the config.anscon.140 file.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 57
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
58 Inc. and its subsidiaries and affiliates.
Chapter 8: Troubleshooting
8.1. Installation Troubleshooting
This section lists problems and error messages that you may encounter while
installing and/or running ANSYS, Inc. products. After each situation description
or error message is the user action required to correct the problem.
You can also find answers to commonly-asked questions on our customer portal.
After you log in to the customer portal, select Online Support> Installation/Sys-
tem FAQs. Then select either the Windows or Linux link.
In addition, this appendix describes the ansys_pid utility, which is useful for
troubleshooting some problems.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 59
Chapter 8: Troubleshooting
• If the installation does not progress beyond the extraction of any single file
during the file extraction phase, you may have insufficient disk space in the
temporary directory that the file extraction utility uses. Be aware that some
components require a lengthy extraction time; we recommend allowing up to
30 minutes for these components to extract if you are running on a particularly
old or slow system.
To resolve this problem, remove files from your $TEMP directory to free up
disk space, or increase the size of any disk quotas on your $TEMP directory.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
60 Inc. and its subsidiaries and affiliates.
Installation Troubleshooting
If the text in the online help is unclear (the fonts are too small, too large, or
rough around the edges):
• Use the [+] or [-] keys to enlarge or reduce the fonts. Depending on your
system's configuration and installed fonts, you may need to experiment with
the [+] and [-] keys to adjust your font size. The [+] will increase the font
size, and the [-] will decrease it. On some systems, you need to use the [+]
and [-] keys on the standard keypad, rather than those on the number pad.
If, when starting ICEM CFD or Icepak over Exceed, all of the Linux window controls
(borders, close buttons, etc.) disappear, or the help windows appear but are
small and in the top left corner of the screen:
• You need to change your window manager settings in Exceed. See the
section Note to Exceed Users earlier in this guide for information on changing
your window manager settings.
• If changing the window manager settings does not correct the problem, we
recommend upgrading to Exceed 7.0 or higher.
• If the problem still occurs, change the Window Manager to X. You must
start an X Windows manager like mwm before running ICEM CFD or Icepak.
• This is a result of the mouse click signals traveling over the network via an
Exceed connection. Try adjusting the Exceed Performance settings. See the
section Note to Exceed Users earlier in this guide for information on specific
changes we suggest.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 61
Chapter 8: Troubleshooting
QT_IM_MODULE
XMODIFIERS
GTK_IM_MODULE
You should reset these environment variables when you are finished running
the installation or using ANSLIC_ADMIN. Do not permanently unset these envir-
onment variables as doing so could affect other applications.
Red Hat If you are installing on Linux Red Hat 5 machines on the local console,
and you are unable to enter text into any of the text fields in the installer, you
may have to disable SCIM (Smart Common Input Method) as follows:
This message occurs if you have selected a platform for installation that does
not match the files you are trying to install (either from the installation DVD
or from downloaded installation files).
This error may appear during the ANSYS installation if you have entered the
wrong DVD pathname. Check Mounting the DVD Instructions for DVD Installa-
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
62 Inc. and its subsidiaries and affiliates.
Installation Troubleshooting
tions (Linux x64 Only) (p. 18) and enter the correct pathname for your plat-
form.
Licensing files currently installed for <platform> are more recent than
those on the installation media. The <platform> files will not be installed
and will be deselected.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 63
Chapter 8: Troubleshooting
You may encounter this or a similar message if you attempt to use ANSYS
14.0 with a different version of MPI than is supported. See the Parallel Pro-
cessing Guide for a complete list of supported MPI versions.
Verify that the documentation list file for the user interface exists in the
/ansys_inc/v140/ansys/gui/en-us/UIDL subdirectory.
ls -l /ansys_inc/v140/ansys/gui/en-us/UIDL/menulist140.ans
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
64 Inc. and its subsidiaries and affiliates.
Installation Troubleshooting - Mechanical APDL (ANSYS)
Make sure that the pathnames in the menulist140.ans file are correct.
If you see this error, you cannot add or modify profile information during
this launcher session. Verify that you have write access to the directory and
restart the launcher session. Typically, this directory is C:\Documents and
Settings\<user name>\Application Data\Ansys\v140\launch-
er on Windows or ~/.ansys/v140/launcher on Linux.
In Procedure: fappnd
At Line: 72
Unit: 19
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 65
Chapter 8: Troubleshooting
forrtl: severe (9): permission to access file denied, unit 19, file
/build/v140/ansys/objs
If ANSYS Workbench detects that graphics problems are causing crashes, it will
automatically switch to software rendering. ANSYS Workbench also will use
software rending mode by default when running on a remote display, or on a
local display if the hardware does not appear to be accelerated.
If you are running under Exceed3D, try the following settings if you are having
graphics problems:
Any version of Exceed that does not have the GLX 1.3 option is unlikely to
function correctly with graphics acceleration.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
66 Inc. and its subsidiaries and affiliates.
Contacting Technical Support
If your support is provided by ANSYS, Inc. directly, Technical Support can be ac-
cessed quickly and efficiently from the ANSYS Customer Portal, which is available
from the ANSYS Website (www.ansys.com) under Support> Technical Support
where the Customer Portal is located. The direct URL is: http://www.ansys.com/cus-
tomerportal.
One of the many useful features of the Customer Portal is the Knowledge Re-
sources Search, which can be found on the Home page of the Customer Portal.
Systems and installation Knowledge Resources are easily accessible via the Cus-
tomer Portal by using the following keywords in the search box: Systems/In-
stallation. These Knowledge Resources provide solutions and guidance on
how to resolve installation and licensing issues quickly.
NORTH AMERICA
All ANSYS, Inc. Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Toll-Free Telephone: 1.800.711.7199
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 67
Chapter 8: Troubleshooting
Fax: 1.724.514.5096
Support for University customers is provided only through the ANSYS Customer Portal.
GERMANY
ANSYS Mechanical Products
Telephone: +49 (0) 8092 7005-55
Email: [email protected]
All ANSYS Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
National Toll-Free Telephone:
UNITED KINGDOM
All ANSYS, Inc. Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Telephone: +44 (0) 870 142 0300
Fax: +44 (0) 870 142 0302
Email: [email protected]
Support for University customers is provided only through the ANSYS Customer Portal.
JAPAN
CFX , ICEM CFD and Mechanical Products
Telephone: +81-3-5324-8333
Fax: +81-3-5324-7308
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
68 Inc. and its subsidiaries and affiliates.
Contacting Technical Support
INDIA
ANSYS Products (including FLUENT, CFX, ICEM-CFD)
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Telephone: +91 1 800 233 3475 (toll free) or +91 1 800 209 3475 (toll free)
Fax: +91 80 2529 1271
Email: FEA products: [email protected];CFD products: [email protected];
Installation: [email protected]
FRANCE
All ANSYS, Inc. Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Toll-Free Telephone: +33 (0) 800 919 225
Email: [email protected]
Support for University customers is provided only through the ANSYS Customer Portal.
BELGIUM
All ANSYS Products
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 69
Chapter 8: Troubleshooting
SWEDEN
All ANSYS Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Telephone: +44 (0) 870 142 0300
Email: [email protected]
Support for University customers is provided only through the ANSYS Customer Portal.
ITALY
All ANSYS Products
Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and
select the appropriate option.
Telephone: +39 02 89013378
Email: [email protected]
Support for University customers is provided only through the ANSYS Customer Portal.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
70 Inc. and its subsidiaries and affiliates.
Configuring Distributed ANSYS
This section explains how to configure your network/cluster to run Distributed
ANSYS. It is important that you follow these steps in order to run successfully in
a distributed environment.
For more information on using Distributed ANSYS, see the Parallel Processing
Guide.
You will need an ANSYS Mechanical HPC (HPC) license for each processor after
the first two. For example, if you want to run four processors, you will need two
HPC licenses. Some products cannot use all HPC functionality, as noted in the
following table.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 71
Configuring Distributed ANSYS
• Distributed ANSYS allows you to use two cores without using any HPC licenses.
Additional licenses will be needed to run Distributed ANSYS with more than two
cores. Several HPC license options are available. For more information, see HPC
Licensing in the Parallel Processing Guide.
If you are running on a single machine, there are no additional requirements for
running Distributed ANSYS.
If you are running across multiple machines (e.g., a cluster), your system must
meet these additional requirements to run Distributed ANSYS.
• Homogeneous network: All machines in the cluster must be the same type, OS
level, chip set, and interconnects.
• You must be able to remotely log in to all machines, and all machines in the
cluster must have identical directory structures (including the ANSYS installation,
MPI installation, and on some systems, working directories). Do not change or
rename directories after you've launched ANSYS. For more information on files
that are written and their location, see Controlling Files that Distributed ANSYS
Writes in the Parallel Processing Guide.
• All machines in the cluster must have ANSYS installed, or must have an NFS
mount to the ANSYS installation. If not installed on a shared file system, ANSYS
must be installed in the same directory path on all systems.
• All machines must have the same version of MPI software installed and running.
The table below shows the MPI software and version level supported for each
platform. For Linux platforms, the MPI software is included with the ANSYS in-
stallation. For Windows platforms, you must install the MPI software as described
later in this document.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
72 Inc. and its subsidiaries and affiliates.
Setting up Distributed ANSYS
ANSYS LS-DYNA If you are running ANSYS LS-DYNA, you can use LS-DYNA's
parallel processing (MPP or SMP) capabilities. Use the launcher or the command
line method as described in Activating Distributed ANSYS in the Parallel Processing
Guide to run LS-DYNA MPP. For Windows and Linux systems, please see the fol-
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 73
Configuring Distributed ANSYS
lowing table for LS-DYNA MPP MPI support. For more information on using ANSYS
LS-DYNA in general, and its parallel processing capabilities specifically, see the
ANSYS LS-DYNA User's Guide.
The instructions for installing Platform MPI are also found in the ANSYS installation
directory in the following README files:
or
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
74 Inc. and its subsidiaries and affiliates.
Setting up Distributed ANSYS
The instructions for installing Intel MPI are also found in the ANSYS installation
directory in the following README files:
or
or
To submit a job via the GUI, go to Start> All Programs> Microsoft HPC Pack>
HPC Job Manager. Then click on Create New Job from Description File.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 75
Configuring Distributed ANSYS
Windows:
Right-click on My Computer, left-click on Properties, and select the Net-
work Identification or Computer Name tab. The full computer name will
be listed. Note the name of each machine (not including the domain).
Linux:
Type hostname on each machine in the cluster. Note the name of each
machine. You will need this name to set up the .rhosts file, as well as
for the ANS_ADMIN utility.
2. Linux only: Set up the .rhosts file on each machine. The .rhosts file lists
all machines in the cluster. The machines should be listed using their complete
system name, as taken from hostname. For example, an .rhosts file for a
two-machine cluster might look like this:
golinux1.ansys.com jqd
golinux2 jqd
Windows:
Start >Programs >ANSYS 14.0 >Utilities >ANS_ADMIN 14.0
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
76 Inc. and its subsidiaries and affiliates.
Setting up Distributed ANSYS
Linux:
/ansys_inc/v140/ansys/bin/ans_admin140
On the head node, where ANSYS and ANSYS Licensing is installed, set the
following:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 77
Configuring Distributed ANSYS
ANSYS140_DIR=\\head_node_machine_name\ANSYS Inc\v140\ansys
On the head node and the compute nodes, set LSTC_LICENSE to ANSYS.
This tells the LS-DYNA executable to use ANSYS licensing.
Since the LS-DYNA run will use ANSYS licensing for LS-DYNA, you do not
need to set LSTC_LICENSE_SERVER.
5. Windows only: Share out the ANSYS Inc directory on the head node with
full permissions so that the compute nodes can access it.
On Linux systems, you can also set the following environment variables:
• MPI_REMSH - This is the path to the remote shell (ssh or rsh). Set this envir-
onment variable to specify a full path to a remote shell. For example, setting
MPI_REMSH = /usr/bin/ssh will use ssh instead of the default remote
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
78 Inc. and its subsidiaries and affiliates.
Setting up Distributed ANSYS
shell (rsh). Note that selecting the Use Secure Shell instead of Remote
Shell option on the launcher will override MPI_REMSH, if MPI_REMSH is
not set or is set to a different location. You can also issue the - usessh
command line option to use ssh instead of rsh. The command line option
will override the environment variable setting as well.
• MPI_WORKDIR - Set this environment variable to specify a working directory
on either the master and all nodes, or on specific nodes individually. For
more information, see Controlling Files that Distributed ANSYS Writes.
• MPI_IC_ORDER - Set this environment variable to specify the order in which
the interconnects on the system are to be used. The interconnects will be
tried in the order listed from left to right. If an interconnect is listed in up-
percase, no interconnects listed after that one will be tried. If MPI_IC_ORDER
is not set, the fastest interconnect available on the system is used. See the
Platform MPI documentation for more details.
• MPI_ICLIB_<interconnect> - Set this environment variable to the inter-
connect location if the interconnect is not installed in the default location:
setenv MPI_ICLIB_GM <path>/lib64/libgm.so
See the Platform MPI documentation for the specific interconnect names
(e.g., MPI_ICLIB_GM).
• MPIRUN_OPTIONS - Set this environment variable to -prot to display a grid
of interconnects among the systems being used for distributed processing.
• Issue the command line option -usessh to use ssh instead of rsh.
• See the Intel MPI reference manual (for Linux) for further information and
additional environment variables and their settings: http://software.in-
tel.com/en-us/articles/intel-mpi-library-documentation/.
To verify that these environment variables are set correctly on each machine,
run:
rsh machine1 env
On Windows systems, you can set the following environment variables to display
the actual mpirun command issued from ANSYS:
• ANS_SEE_RUN = TRUE
• ANS_CMD_NODIAG = TRUE
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 79
Configuring Distributed ANSYS
When running the mpitest program, you must use an even number of nodes.
On Linux:
You can use any of the same command line arguments (such as -machines)
with the mpitest program as you can with Distributed ANSYS.
On Windows:
Issue the following command to run a local test on Windows using Platform MPI:
ansys140 -np 2 -mpitest
Use the following procedure to run a distributed test on Windows using Platform
MPI:
1. Create a file named machines in your local/home directory. Open the ma-
chines file in an editor.
2. Add your master and slave machines in your cluster. For example, in this cluster
of two machines, the master machine is gowindows1. List the machine name
separately for each core on that machine. For example, if gowindows1 has
four processors and gowindows2 has two, the machines file would look like
this:
gowindows1
gowindows1
gowindows1
gowindows1
gowindows2
gowindows2
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
80 Inc. and its subsidiaries and affiliates.
Running a Distributed Job
3. From a command prompt, navigate to your working directory. Run the following:
ansys140 -mpifile machines -mpitest
• InfiniBand (recommended)
• Myrinet
• GigE
• Ethernet (not recommended)
Systems can have a network of several different types of interconnects. Each in-
terconnect must be assigned a unique hostname and IP address.
On Windows x64 systems, use the Network Wizard in the Compute Cluster Ad-
ministrator to configure your interconnects. See the Compute Cluster Pack doc-
umentation for specific details on setting up the interconnects. You may need
to ensure that Windows Firewall is disabled for Distributed ANSYS to work cor-
rectly.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 81
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
82 Inc. and its subsidiaries and affiliates.
Configuring ANSYS CFX Parallel
If you have purchased the ANSYS CFX-Solver parallel option, you will need to
follow the procedures in this chapter to ensure that users can execute ANSYS
CFX jobs in parallel. Several parallel communication methods are available that
use either PVM (Parallel Virtual Machine) or MPI (Message Passing Interface).
Platform-specific versions of MPI are available in some instances.
The ANSYS CFX-Solver parallel option is supported on all platforms that support
the CFX-Solver.
• The ANSYS CFX-Solver must be installed on both master and slave nodes.
• To run distributed parallel (where slave processes run on a different host to the
master process), remote or secure shell access must be available from the master
nodes (systems on which parallel runs will be started) to slave nodes (systems
on which the ANSYS CFX-Solver will actually run). See Setting Up Remote Access
on UNIX/Linux (p. 83), below.
• You must have the same user name on all systems.
• The hostinfo.ccl file should be set up, as described in hostinfo.ccl File (p. 85).
Often, networks where rlogin and rsh or ssh are used frequently will already be
configured to allow remote access to all users. If this is the case, nothing more
needs to be done.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 83
Configuring ANSYS CFX Parallel
The CFX5RSH environment variable is used to select either ssh or rsh access. The
default is rsh. If you want to use ssh, then set "CFX5RSH=ssh" either in the envir-
onment or in the cfx5rc file (see Resources Set in cfx5rc Files in the CFX Introduc-
tion).
In either case, rsh or ssh, the remote machine must not prompt for a password
when you run remote commands.
Note
You can test remote access using ssh using the command:
ssh unixhost echo working
where <master> is the hostname of the master node. See your system docu-
mentation for more information about the use of rsh and the syntax of the
hosts.equiv file.
If NIS is used to control remote access, then a netgroup must be created for
users of ANSYS CFX by the root user on the NIS master server, and a line such
as the one below added to /etc/hosts.equiv on each slave node by the
root user:
+@<netgroup>
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
84 Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup
where <master> is the hostname of the master and <user> is their username
on the master. This file should be made readable only by the user, for example,
by running:
chmod 600 ~/.rhosts
This file is written using the CFX Command Language. It defines a set of HOST
DEFINITION objects, one for each available node. For example:
SIMULATION CONTROL:
EXECUTION CONTROL:
PARALLEL HOST LIBRARY:
HOST DEFINITION: kangaroo
Installation Root = /ansys_inc/v%v/CFX
END
HOST DEFINITION:wallaby
Installation Root = /usr/local/cfx
Host Architecture String = linux-amd64
Number of Processors = 16
Relative Speed = 1.7
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 85
Configuring ANSYS CFX Parallel
END
HOST DEFINITION: mypc
Remote Host Name = my_pc
END
END
END
END
Note
None of the values for each host are mandatory, and the following empty host
definition is perfectly valid:
HOST DEFINITION: parakeet
END
Host names are limited to the set of valid CCL object names. In particular, they
must not contain full stops (.) or underscores (_) and must start with a letter.
If a hostinfo.ccl file does not already exist when ANSYS CFX is installed,
one will be created containing the installation host. You can add hosts to the
hostinfo.ccl file using the cfx5parhosts utility, or by modifying the file using
a text editor. Individual users may also create their own versions of this file in:
~/.hostinfo.ccl
For most installations, it will be necessary to supply only the Installation Root
parameter, which should point to the <CFXROOT> directory in which ANSYS CFX
is installed. On mixed networks, you may find it useful to supply the Number of
Processors and/or Relative Speed parameters. A little time may be saved at
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
86 Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup
startup by giving the Host Architecture String parameter explicitly, for example,
using the cfx5parhosts utility.
Tip
Installation Root
This is set to the <CFXROOT> installation directory on this host. If it is set to the
special string none, this indicates that there is no ANSYS CFX installation on the
remote host, which can sometimes be useful if only the solver binary is available.
Host Architecture String
ANSYS CFX will use this value to select the most appropriate solver executable
for this node. These strings can be obtained by giving the command <CFX-
ROOT>/bin/cfx5info -os on the node in question. When these short os
values (for example, linux-amd64) are given in this position, the generic solver
executable will always be used for this host. The string can also be set to the ac-
tual architecture of the remote host (for example, intel_xeon64.sse2_linux2.3.4),
which is determined by giving the command <CFXROOT>/bin/cfx5info -
arch. If these longer strings are used then CFX could use this information to select
between solvers optimized for specific architectures. However, since there are
currently no solvers optimized for specific architectures, this extra information is
currently unused.
Number of Processors
As implied, this is the number of processors on the machine. It is used for display
purposes only and can be safely omitted.
Relative Speed
The Relative Speed is a real number that is used by the ANSYS CFX-Solver when
partition sizes are calculated. The ratio of relative speeds of each host is used to
determine the size of each partition. As an example, consider a parallel run in-
volving two machines, one with a relative speed of 2.0 and the other with a rel-
ative speed of 1.0. The faster machine would work on a partition size twice as
large as the slower machine in this case.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 87
Configuring ANSYS CFX Parallel
The numbers themselves are arbitrary; as a guide you may wish to set 1.0
for a 1GHz processor, 0.75 for a 750 MHz processor, and so on. If a relative
speed entry is not entered, a default of 1.0 is assumed for that host.
You can obtain relative speed values using the cfx5parhosts utility.
Remote Host Name
To include hosts in the parallel run with names that contain, for example, under-
score characters, you can add the “Remote Host Name” parameter to the HOST
DEFINITION with the correct network name for the host and use a readable alias
as the name of the object.
Solver Executable
A solver executable may be explicitly supplied, if necessary. This is usually only
required when using Installation Root = none, and is recommended for advanced
users only. The following substitutions are made on the string:
Argument Description
-add host[,host,...] Add information about the named hosts to the
file. This assumes that ANSYS CFX is installed in
the same directory on each listed host as on the
host on which you are running.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
88 Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup
Argument Description
host may be specified as [user@]hostname[:cfx-
5 root] if the user name or the ANSYS CFX installa-
tion root directory differs from the local host.
-benchmark Runs a standard benchmark case, and fills in the
Relative Speed for the local host. The benchmark
case will usually take less than 5 minutes to run.
-file file Use the specified file as the hostinfo.ccl file.
-merge file Merge host information from the named file.
-no-update After modifying the file, write back the information avail-
able without attempting to fill in any missing pieces.
-strict Used with -update. Normally, hosts which exist on the
network but cannot be connected to with rsh or ssh are
included in the resulting file with a comment.This switch
will exclude these hosts.
-system Use the system host file.This is the default.
-update Updates the specified host information file. If any hosts
do not have an architecture specified in the existing
hostinfo.ccl file (for example, because it was added
via the -add switch), it will connect to the host and query
it to fill in the Host Architecture String parameter.This is
the default behavior. Note that if the Installation Root
parameter is incorrect for the host, it will use the standard
system commands to guess a generic architecture string.
This can happen if you use -add to include a host with a
different installation directory than the local one.
-user Use the per-user host file.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 89
Configuring ANSYS CFX Parallel
If there is no CFX installation on any slave node, you must ensure that Platform
MPI is manually installed on any such node.
Platform MPI run modes are selected in the ANSYS CFX-Solver Manager or on
the command line (using the -start-method command line option) using
the “Platform MPI Local Parallel” or “Platform MPI Distributed Parallel” start
method options.
For Platform MPI, the –cpu_bind option is used by default and binds processes
to cores using a cyclic order. This leads to better performance but, on multi-user
clusters having scheduling systems that do not enforce exclusive use of cluster
nodes, may cause problems because multiple jobs may be bound to the same
CPU on the same node. In this case, the –cpu_bind argument to mpirun
should be removed from the Platform MPI start methods in the <CFX-
ROOT>/etc/start_methods.ccl file.
There are several environment variables that can be used to control Platform
MPI (documented in the Platform MPI documentation) that may provide addi-
tional flexibility not directly accessible through the ANSYS CFX startup scripts. If
these environment variables are set the startup scripts automatically set them
for your CFX runs. Some useful environment variables include:
MPI_REMSH
Enables you to change which method is used by Platform MPI to spawn jobs on
remote machines. The Platform MPI default is ssh. However, by default the CFX
software sets this to be the same as the setting used for CFX5RSH, and rsh if
CFX5RSH is not set. This variable is applicable only to Linux and HP-UX.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
90 Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup
MPI_IC_ORDER
Enables you to change the default order in which Platform MPI searches for inter-
connects. See the next section.
If you want to force selection of a specific device, then you can either modify
the start command in the etc/start-methods.ccl file and add the necessary
command line flags (for example: -GM to force selection of the Myrinet intercon-
nect) or use the appropriate Platform MPI environment variables.
Some useful command line options include forcing other interconnect types (-
TCP, -HMP, -ELAN, -ITAPI, -VAPI, -UDAPL, and so on), using prun on systems with
quadrics support (-prun), XC support (-srun) and setting the subnet you want to
use (-subnet, sometimes useful for selecting particular interconnects as well if
your system is configured that way).
The following table gives information on the default search path Platform MPI
uses to find drivers for the various communication interfaces:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 91
Configuring ANSYS CFX Parallel
For example, Platform MPI expects that GM stack shared libraries for Myrinet
interconnects are located either in the default library search path or in the
/opt/gm/lib (32 bit x86) or /opt/gm/lib64 (64 bit x86) directories. If the shared
libraries are not in either location, Platform MPI will not take advantage of the
high-speed interconnects. To fix this, you will have to copy the shared libraries
into the correct location or set the environment variable MPI_ICLIB_GM to point
to the correct GM stack shared library.
• ANSYS CFX-Solver must be installed on all nodes to be used for a parallel run.
• To run distributed parallel (where slave processes run on hosts other than the
host with the master process), you must either configure the parallel host setup
properly or set up remote access to slave nodes.
• You must have the same user name on all systems.
• To run distributed parallel, you must install and configure the Platform MPI service
and register your user name on all nodes involved in the parallel run. (See In-
stalling the Platform MPI Service and Registering Users on Windows Vista (p. 98).)
You must register your user name each time your password changes.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
92 Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup
CFX has been installed on each of them. The file is used by the ANSYS CFX-
Solver when constructing a parallel run.
The hostinfo.ccl file is written using the CFX Command Language. It defines
a set of HOST DEFINITION objects, one for each available node. For example:
SIMULATION CONTROL:
EXECUTION CONTROL:
PARALLEL HOST LIBRARY:
HOST DEFINITION: hostname1
Installation Root = C:\Program Files\ANSYS Inc\v%v\CFX
Host Architecture String = winnt-amd64
END # HOST DEFINITION hostname1
END # PARALLEL HOST LIBRARY
END # EXECUTION CONTROL
END # SIMULATION CONTROL
Note
None of the values for each host are mandatory. For example, the following
empty host definition is perfectly valid:
HOST DEFINITION: parakeet
END
Host names are limited to the set of valid CCL object names. In particular, they
must not contain full stops (.) or underscores (_) and must start with a letter.
If a hostinfo.ccl file does not already exist when ANSYS CFX is installed,
one will be created containing the installation host. You can add hosts to the
hostinfo.ccl file using the cfx5parhosts utility, or by modifying the file using
a text editor.
For most installations, it will be necessary only to supply the Installation Root
parameter, which should point to the <CFXROOT> directory in which ANSYS CFX
is installed. On mixed networks, you may find it useful to supply the Number of
Processors and/or Relative Speed parameters. A little time may be saved at
startup by giving the Host Architecture String parameter explicitly, for example,
using the cfx5parhosts utility.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 93
Configuring ANSYS CFX Parallel
Installation Root
This is set to the <CFXROOT> installation directory on this host. If it is set to the
special string none, this indicates that there is no ANSYS CFX installation on the
remote host, which can sometimes be useful if only the solver binary is available.
Host Architecture String
This should be set to the actual architecture <arch> of the remote host. ANSYS
CFX will use this value to select the most appropriate solver executable for this
node. These strings can be obtained by giving the command <CFX-
ROOT>/bin/cfx5info -os on the node in question. If the shorter <os> values
(for example, solaris) are given in this position, the generic solver executable will
always be used for this host.
Number of Processors
As implied, this is the number of processors on the machine. It is used for display
purposes only and can be safely omitted.
Relative Speed
The Relative Speed is a real number that is used by the ANSYS CFX-Solver when
partition sizes are calculated. The ratio of relative speeds of each host is used to
determine the size of each partition. As an example, consider a parallel run in-
volving two machines, one with a relative speed of 2.0 and the other with a rel-
ative speed of 1.0. The faster machine would work on a partition size twice as
large as the slower machine in this case.
The numbers themselves are arbitrary; as a guide you may want to set 1.0
for a 1GHz processor, 0.75 for a 750 MHz processor, and so on. If a relative
speed entry is not entered, a default of 1.0 is assumed for that host.
You can obtain relative speed values using the cfx5parhosts utility.
Remote Host Name
To include hosts in the parallel run with names that contain, for example, under-
score characters, you can add the “Remote Host Name” parameter to the HOST
DEFINITION with the correct network name for the host and use a readable alias
as the name of the object.
Solver Executable
A solver executable may be explicitly supplied, if necessary. This is usually only
required when using Installation Root = none, and is recommended for advanced
users only. The following substitutions are made on the string:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
94 Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup
Argument Description
-add host[,host,...] Add information about the named host(s) to the
file. This assumes that ANSYS CFX is installed in
the same directory on each listed host as on the
host on which you are running.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 95
Configuring ANSYS CFX Parallel
Argument Description
-file file Use the specified file as the hostinfo.ccl file.
-merge file Merge host information from the named file.
-no-update After modifying the file, write back the information avail-
able without attempting to fill in any missing pieces.
-strict Used with -update. Normally, hosts which exist on the
network but cannot be connected to with rsh or ssh are
included in the resulting file with a comment.This switch
will exclude these hosts.
-system Use the system host file.This is the default.
-update Updates the specified host information file. If any hosts
do not have an architecture specified in the existing
hostinfo.ccl file (for example, because it was added
via the -add switch), it will connect to the host and query
it to fill in the Host Architecture String parameter.This is
the default behavior. Note that if the Installation Root
parameter is incorrect for the host, it will use the standard
system commands to guess a generic architecture string.
This can happen if you use -add to include a host with a
different installation directory than the local one.
-user Use the per-user host file.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
96 Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup
Note
• All nodes must be on the same domain and the user must have an
account for that domain.
• The Platform MPI service is required only for distributed parallel runs.
• Platform MPI uses the –cpu_bind option by default and binds pro-
cesses to cores using a cyclic order. This leads to better performance
but, on multi-user clusters having scheduling systems that do not
enforce exclusive use of cluster nodes, may cause problems because
multiple jobs may be bound to the same CPU on the same node. In
this case, the –cpu_bind argument to mpirun should be removed
from the Platform MPI start methods in the start_methods.ccl
file in the <CFXROOT>/etc directory.
1. Ensure that every host used in the distributed parallel run is included in the
hostinfo.ccl file, including the Installation Root and Host
Architecture String parameters for each host. See hostinfo.ccl
file (p. 92) for details on how to set this up.
2. Set the environment variable CFX_SOLVE_DISABLE_REMOTE_CHECKS in your
user or site cfx5rc.txt file. See Resources Set in cfx5rc Files in the CFX
Introduction for details.
If ANSYS CFX is to determine the required information for itself, then remote-
or secure-shell access must be available from the master node (the system
on which parallel runs will be started) to slave nodes (systems on which the
ANSYS CFX-Solver will actually run). You must be able to execute an rsh or
ssh command on the remote host without typing in your password. Unless
you already have your Windows systems set up to allow this type of access,
this method of setting up distributed parallel is not recommended.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 97
Configuring ANSYS CFX Parallel
3. If necessary, change to the disk drive that has the ANSYS software installed. For
example, to change to the C drive, enter:
C:
If you need to change the port number used by the service, you can run a
command of the following form:
"<install_dir>\v140\CFX\bin\cfx5parallel" -setportkey-pcmpi-service <port number>
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
98 Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup
If you need to change the port number used by the service, you can run a
command of the following form:
cfx5parallel -setportkey-pcmpi-service <port number>
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 99
Configuring ANSYS CFX Parallel
– <CFXROOT>\..\commonfiles\MPI\Platform\8.1\<winx64|win32>\sbin\pcmpi-
win32service.exe
– <CFXROOT>\..\commonfiles\MPI\Plat-
form\8.1\<winx64|win32>\bin\mpirun.exe
– <CFXROOT>\..\commonfiles\MPI\Platform\8.1\<winx64|win32>\bin\mp-
id.exe
After each selection, click OK to add that program to the list of programs
that are permitted to pass through the Windows firewall.
6. When you are finished, click OK to close the Windows Firewall dialog, then
close the Windows Security Center and the Control Panel.
For running ANSYS CFX with CCS 2003/HPC 2008, this can be accomplished by
following the steps below (terms in angle brackets < > should be replaced with
the required entry):
1. Install ANSYS Licensing, ANSYS Workbench and ANSYS CFX on the head node.
2. Share the installation directory. For example, on a typical installation share
C:\Program Files\ANSYS Inc as \\<HeadNodeName>\ANSYS Inc
where <HeadNodeName> is the name of the head node.
3. Install the ANSYS prerequisites on all of the cluster nodes. You can do this either
by:
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
100 Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup
4. Share the working directory on the head node. For example, share
C:\Users\<UserName> as \\<HeadNodeName>\<UserName> where
<UserName> is the user name.
To submit a job:
1. Start the CFX-Solver Manager (either using CFX standalone or from ANSYS
Workbench) on the submitting machine using the software installed on the
headnode.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
Inc. and its subsidiaries and affiliates. 101
Configuring ANSYS CFX Parallel
2. Ensure that the Run Mode on the Run Definition tab of the CFX-Solver Manager
is set to Submit to Windows CCS or HPC Queue. Otherwise, set up
the CFX-Solver Manager as normal.
3. Click Start Run on the CFX-Solver Manager to start the simulation. The first
time a simulation is run, supply the required credentials that are prompted (this
prompt may appear behind the CFX-Solver Manager window). You may elect
to have these credentials saved to avoid repeated prompting of these credentials.
Note
1. For simulations making use of User Fortran, you must ensure that
the Fortran is linked against the solver-msmpi.lib. This is done
by making the appropriate changes to cfx5mkext.ccl.
2. %USERPROFILE% is typically C:\Documents and Set-
tings\<Username>\ on XP, or C:\Users\<UserName> on
Vista or Server HPC 2008.
3. To use on ANSYS Workbench with Parameters and Design Points,
start the CFX-Solver Manager ensure that the Run Mode on the Run
Definition tab of the CFX-Solver Manager is set to Submit to
Windows CCS or HPC Queue, set the number of processes,
then click Save Settings. When the user clicks Update all Design
Points each parameter or design point will be solved on the cluster.
Release 14.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,
102 Inc. and its subsidiaries and affiliates.