Ai Linx
Ai Linx
Ai Linx
ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317 ansysinfo@ansys.com http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494
Revision Information
The information in this guide applies to all ANSYS, Inc. products released on or after this date, until superceded by a newer version of this guide. This guide replaces individual product installation guides from previous releases.
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, compliance 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. Published in the U.S.A.
Table of Contents
1. Installation Prerequisites for Linux .................................................................... 1 1.1. System Prerequisites ..................................................................................... 4 1.1.1. CAD Support ........................................................................................ 5 1.2. Disk Space and Memory Requirements ......................................................... 6 1.3. GPU Requirements ....................................................................................... 7 1.4. Additional Hardware and Software Requirements ......................................... 7 1.5. Third-Party Software and Other Security Considerations ................................ 8 2. Platform Details ................................................................................................ 11 3. Pre-Installation Instructions ............................................................................. 17 3.1. Pre-Installation Instructions for Download Installations ................................ 17 3.1.1. Downloading the Installation Files ...................................................... 17 3.2. Mounting the DVD Instructions for DVD Installations (Linux x64 Only) .......... 18 4. Installing the Software ...................................................................................... 21 4.1. Installing ANSYS, Inc. Products ..................................................................... 21 4.1.1. Product Installation ............................................................................ 21 4.1.2. License Manager Installation .............................................................. 24 4.1.2.1. Registering the License Server ................................................... 26 4.1.3. Network Installation and Product Configuration .................................. 26 4.1.3.1. Export the /ansys_inc Directory ........................................... 27 4.1.3.2. Run the Product Configuration Utility on All Client Machines ...... 28 4.1.3.3. Configure Licensing for File Server Installations .......................... 29 4.1.4. Silent Mode Operations ...................................................................... 29 4.1.4.1. Silent Product and License Manager Installation ......................... 30 4.1.4.2. Silent Product Configuration/Unconfiguration ........................... 33 4.1.4.3. Silent Media Installation ............................................................. 34 4.1.4.4. Silent Uninstall .......................................................................... 35 5. Post-Installation Instructions ........................................................................... 37 5.1. Post-Installation Procedures for All Products ................................................ 37 5.1.1. Post-Installation Procedures for Mechanical APDL (ANSYS) and ANSYS Workbench Products .................................................................................. 38 5.1.2. Post-Installation Procedures for ANSYS CFX ......................................... 40 5.1.2.1. Setting up ANSYS TurboGrid Release 14.0 ................................... 42 5.1.2.2. Using the ANSYS CFX Launcher to Set Up Users .......................... 42 5.1.2.3. Verifying the Installation of ANSYS CFX Products ........................ 43 5.1.3. Post-Installation Procedures for ANSYS FLUENT ................................... 43 5.1.4. Post-Installation Procedures for ANSYS POLYFLOW .............................. 44 5.1.5. Post-Installation Procedures for ANSYS ICEM CFD ................................ 45 5.1.6. Post-Installation Procedures for ANSYS AUTODYN ............................... 45 5.2. Product Localization ................................................................................... 46
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 Mechanical 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 iv
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS, Inc. Installation Guide for Linux 1.1. Prerequisites for Running Distributed ANSYS ......................................... 72 1.1.1. MPI Software ................................................................................ 72 1.1.2. Installing the Software ................................................................. 74 1.2. Setting Up the Cluster Environment for Distributed ANSYS .................... 76 1.2.1. Optional Setup Tasks .................................................................... 78 1.2.2. Using the mpitest Program ........................................................... 80 1.2.3. Interconnect Configuration .......................................................... 81 2. Running a Distributed Job ............................................................................. 81 Configuring ANSYS CFX Parallel .............................................................................. 83 1. ANSYS CFX UNIX Parallel Setup ...................................................................... 83 1.1. Setting Up Remote Access on UNIX/Linux ............................................. 83 1.1.1. Testing Remote Access ................................................................. 84 1.1.2. Global Set Up of rsh ...................................................................... 84 1.1.3. Individual User Set Up for rsh ....................................................... 85 1.1.4. Set Up of ssh ................................................................................ 85 1.2. hostinfo.ccl File .................................................................................... 85 1.2.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility ........................................................................................................ 88 1.3. Using Platform MPI (Message Passing Interface Library) ......................... 89 1.3.1. Environment Variables .................................................................. 90 1.3.2. Interconnect Selection ................................................................. 91 2. ANSYS CFX Windows Parallel Setup ................................................................ 92 2.1. hostinfo.ccl file ...................................................................................... 92 2.1.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility ........................................................................................................ 95 2.2. Setting Up Platform MPI for Windows .................................................... 96 2.2.1. Setting Up Distributed Parallel or Remote Access .......................... 97 2.2.2. Installing the Platform MPI Service and Registering Users on Windows Vista ............................................................................................ 98 2.2.3. Installing the Platform MPI Service and Registering Users on Windows XP ............................................................................................... 98 2.2.4. Enabling Parallel Through a Windows Firewall ............................... 99 2.3. Setting up and Running CCS 2003/HPC 2008 ....................................... 100
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
vi
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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: The Mechanical Application DesignModeler Design Exploration Meshing Remote Solve Manager TGrid FE Modeler EKM Desktop
Because some of these applications can be run as standalone applications without ANSYS Workbench, you will see some but not all of these listed separately as options when you uninstall. In such cases, you will need to select those options in order to uninstall those components.
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. 2
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Note
The ANSYS, Inc. License Manager supports additional UNIX/Linux platforms. Please see the ANSYS, Inc. Licensing Guide for the complete list of platforms supported by the ANSYS, Inc. License Manager.
Linux Itanium 64
Itanium2
Red Hat Enterprise Linux 5; SUSE Linux Enterprise 10 and Enterprise 11 SP1 Red Hat Enterprise Linux 5; Red Hat Enterprise Linux 6, SUSE Linux Enterprise 10 [1] and Enterprise 11 SP1
Download only
Linux x64
EM64T/Opteron 64
linx64
Download / DVD
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 discussions 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, Inc. and its subsidiaries and affiliates.
System Prerequisites later in this guide for detailed information on supported platforms for distributed computing.
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.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Chapter 1: Installation Prerequisites for Linux Linux Itanium 64 NX 6.0 [2] NX 7.5 NX 8.0 STEP AP203, AP214 IGES 4.0, 5.2, 5.3 DWG GEMS 1. 2. 3. 4. 5. Linux x64 A, W, I W [3], I [3] W [5] W, I W, I I I
For ANSYS ICEM CFD standalone, ACIS 18.0.1 is the supported version for all platforms. NX 6.0 has dropped support for all Linux platforms except Linux SUSE 10 SP2. NX 7.5 supports Red Hat 5.3 and SUSE Linux Enterprise 10 SP2. Red Hat requires the installation of i686 (32-bit) glibc & libstdc++ libraries. 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, Inc. and its subsidiaries and affiliates.
Additional Hardware and Software Requirements Product CFD Post only ANSYS Geometry Interfaces Disk Space 8.0 GB 170 MB
Memory Requirements We recommend that you have at least 2 GB of memory available for running product installations.
Chapter 1: Installation Prerequisites for Linux Mesa-libGL (OpenGL) is required to run data-integrated ANSYS Workbench applications such as Mechanical. If you are using Exceed to run ANSYS Workbench products, Exceed 3D is required. Exceed 3D 2008 Service Pack 9 or higher is recommended. For FLUENT, CFX-Pre, and CFD-Post, a three-button mouse is required to access all available functionality. Adobe Acrobat Reader is required to read the installation guides and other user documentation. ANSYS CFX requires Exceed 2006 or newer to remote display from some platforms. FLUENT graphics are not officially supported when running under Exceed.
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, 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.
10
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. CATIA V4 with Mechanical APDL To run CATIA V4 with Mechanical APDL on Linux 64-bit platforms, you must have the following Linux 32-bit i686 libraries: 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: 1. 2. 3. Use the kcontrol command to launch the KDE Control Center. In the Control Center window, select Desktop> Window Behaviour> Advanced. Change Focus Stealing Prevention Level to None.
12
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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": 1. 2. 3. 4. Use the systemsettings command to launch the System Settings. In the System Settings window, select General> Window Behaviour> Focus. Change Focus Stealing Prevention Level to None. Click Apply.
Mechanical, Meshing, DesignModeler, and FE Modeler Applications If you are using a localized operating system (such as French or German), you must set the mwcontrol VisualMainWin control on any machines running these applications in order for these applications to recognize the correct numerical format. ANSYS Workbench must already be installed before setting this control. First, you need to ensure that the /v140/aisol/WBMWRegistry/ directory has write permissions. From the /v140/aisol/ directory, issue the following command:
chmod -R 777 WBMWRegistry/
Then, use the following procedure to set mwcontrol for your locale: 1. 2. cd to <wb_install directory>/v140/aisol Issue the following command:
./.workbench -cmd mwcontrol
3. 4. 5. 6. 7.
On the MainWin Control Panel, select Regional Settings. Select the Regional Settings tab. Change the language in the dropdown to match the language you want to use. Check the Set as system default locale option. Click Apply to accept the changes, and then click OK to dismiss the Change Regional Settings notification.
Using FLUENT with Infiniband On some operating systems, the default amount of physical memory that can be pinned/locked by a user application is set to a low value and must be explicitly increased. A value recommended by Intel is 90% of the physical memory. Therefore, for a system with 8GB of memory, the following should be added to the /etc/security/limits.conf file:
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
13
The need for increasing the limits may be indicated by the following error message 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
Semaphore Limit On some Linux systems, ANSYS Workbench reaches a system limit on the number of semaphores in the Linux configuration. In this case, you will see a message similar to the following: sem_lock->semop->op_op: Invalid argument sem_unlock->semctl: Invalid argument To increase the number of semaphores, run the following command as owner or root:
% echo 256 40000 32 32000 > /proc/sys/kernel/sem
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 systems 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: Red Hat 4: compat-libstdc++-33-3.2.3-47.3 Red Hat 5: compat-libstdc++-33-3.2.3-61 SUSE 10: compat-libstdc++-5.0.7-22.2
14
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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. To work around this problem, run the following as root:
mkdir p /usr/lib/gcc/x86_64-redhat-linux/3.4.6 ln -sf /usr/lib/gcc/i586-suse-linux/2.95.3/crtbegin.o /usr/lib/gcc/x86_64-redhat-linux/ 3.4.6/crtbegin.o ln -sf /usr/lib/gcc/i586-suse-linux/2.95.3/crtend.o /usr/lib/gcc/x86_64-redhat-linux/ 3.4.6/crtend.o
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. To overcome this possible problem, run the following as root:
ln ln ln ln ln ln ln ln ln ln -sf -sf -sf -sf -sf -sf -sf -sf -sf -sf /usr/lib64/libGLU.so.1.3.060402 /usr/X11R6/lib64/libXm.so.3.0.3 /usr/X11R6/lib64/libXp.so.6.2 /usr/X11R6/lib64/libXt.so.6.0 /usr/X11R6/lib64/libXext.so.6.4 /usr/X11R6/lib64/libXi.so.6.0 /usr/X11R6/lib64/libX11.so.6.2 /usr/X11R6/lib64/libSM.so.6.0 /usr/X11R6/lib64/libICE.so.6.4 /lib64/libgcc_s.so.1 /usr/lib64/libGLU.so /usr/X11R6/lib64/libXm.so /usr/X11R6/lib64/libXp.so /usr/X11R6/lib64/libXt.so /usr/X11R6/lib64/libXext.so /usr/X11R6/lib64/libXi.so /usr/X11R6/lib64/libX11.so /usr/X11R6/lib64/libSM.so /usr/X11R6/lib64/libICE.so /lib64/libgcc.so
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 Enterprise 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
ANSYS TurboGrid 14.0 is not supported on Linux IA-64. AMD Opteron ANSYS was tested on a generic Opterontm system running Red Hat Enterprise Linux AS release 4 (Update 5). Intel Xeon EM64T ANSYS was built and tested on a generic Intel EM64T system running Red Hat Enterprise Linux AS release 4 (Update 5). 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.
16
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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. The license manager, product, and documentation packages that you've selected to download are listed. Click on each link provided to begin the downloads. 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. Begin the product installation as described in Installing the Software (p. 21).
6. 7.
8.
3.2. Mounting the DVD Instructions for DVD Installations (Linux x64 Only)
If you install ANSYS, Inc. products from the installation media (DVD), you will need to run the installation procedure using either a locally- or remotely-mounted DVD, depending on your site's system. For a locally-mounted DVD installation, issue the following commands:
mkdir dvdrom_dir mount -t iso9660 /dev/cdrom dvdrom_dir
If the target machine does not have a DVD reader, first follow the steps for locallymounted DVD, and then follow the procedure below for remotely-mounted DVDs:
or
/dvdrom_dir (ro)
2. 18
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. Run man exports for more information. 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
20
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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). To invoke the EKM Server installation, run INSTALL.EKMSVR to launch the EKM server setup. You must install the EKM client, ANSYS Workbench, and any other desired components before installing the EKM Server. 2. Select the language. Click Next.
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. 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 Configuration 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. Click Next to continue. 5. Specify the installation directory. You can accept the default or specify an alternate directory name where the products are to be installed. When you choose an install directory via the Browse feature, the installation will automatically append /ansys_inc/ to the chosen directory. The installation path can have a maximum of 100 characters. You must install all ANSYS, Inc. products into the same location. Installing products into different locations can cause product components to fail. Default directory is /ansys_inc, if it exists, or /usr/ansys_inc if not. We strongly recommend that you also set the symbolic link /ansys_inc to the directory where the ANSYS, Inc. product is installed. The /ansys_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. 22
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
4.
Installing ANSYS, Inc. Products Click Next to continue. 6. Select the components you want to install. You can select as many components as you wish to install. The amount of disk space required for the available components and the disk space available appears at the bottom of the window. If the disk space required exceeds the disk space available, be sure that you have sufficient space before continuing. The disk space required as calculated by the installation program may be greater than the actual amount needed. If you choose to continue the installation, you should carefully review any log and error files at the end of the installation to ensure that the installation completed successfully. 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. Click Next to continue. 7. If you selected NX, you will have to choose which NX product to configure. You can choose the Reader (non-associative), Workbench Associative Interface (requires that the CAD product be installed), or skip and configure later (using the CAD Configuration Manager). If you choose the Workbench Associative Interface and the UGII environment 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 resolution. If no conflicts are found, click Next. 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 configured on your system. The installation window displays the individual actions as they occur. When the installation is complete, the window displays 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.
9.
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
If you have a three-license server network, we do not recommend that you load ANSYS, Inc. products on a single file server; doing so eliminates the inherent safety of a redundant setup.
2. 3. 24
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. 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. 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. Click Next to continue. 7. Select the components you want to install. You can choose to install the ANSYS, Inc. License Manager. The amount of disk space required and the disk space available appear at the bottom of the window. If the disk space required exceeds the disk space available, be sure that you have sufficient space before continuing. The disk space required as calculated by the installation program may be greater than the actual amount needed. If you choose to continue the installation, you should carefully review any log and error files at the end of the installation to ensure that the installation completed successfully. Click Next to continue. 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 resolution. If no conflicts are found, click Next. A summary of the selected installation data appears. Information shown includes platform, installation directory, and product. Review the information carefully, and if correct, click Next to continue the installation. 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 installation 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.
5.
6.
9.
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. Use the Run the License Wizard option of the ANSLIC_ADMIN utility to enter your license key and start the license manager.
3.
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 We strongly recommend that these steps be performed by the same non-root user. Installing and configuring as different users may create permissions problems. Likewise, installing and/or configuring as a root user may also result in permissions problems.
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
4.
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 configuraRelease 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).
2. 3.
Select Configure Products. Select the products you want to configure and click Configure.
Note
ANSYS Workbench is configured when Mechanical APDL, ANSYS CFX, ANSYS FLUENT, ANSYS POLYFLOW, ANSYS Icepak, or Remote Solve Manager Standalone Services is selected. CFD-Post is configured when either ANSYS CFX or ANSYS FLUENT is configured. Select Common/CAD to configure the NX CAD packages. 28
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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.
2. 3. 4.
Choose Tools> Complete Unfinished Licensing Installation Configuration. Follow the on-screen prompts to provide any necessary information. Click Exit.
Product Flags
Product Mechanical APDL (ANSYS) ANSYS Customization Files ANSYS AUTODYN product_flag -mechapdl -ansyscust -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 ANSYS LS-DYNA ANSYS CFD-Post ANSYS CFX ANSYS TurboGrid ANSYS FLUENT ANSYS POLYFLOW ANSYS AQWA ANSYS Icepak ANSYS ICEM CFD product_flag -lsdyna -cfdpost -cfx -turbogrid -fluent -polyflow -aqwa -icepak -icemcfd
Note: Installing any of the above products will install ANSYS Workbench. ANSYS ICEM CFD Unigraphics NX Interface ANSYS Remote Solve Manager Standalone Services NX Geometry Interface CATIA 4.x Geometry Interface Parasolid Geometry Interface ACIS Geometry Interface -icemug -rsm -ug -catia4 -parasolid -acis
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: 30
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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. -silent -help -install_dir path Initiates a silent installation. Displays a list of valid arguments for a silent installation. Specifies the directory to which the product or license manager is to be installed. If you want to install to the default location, you can omit the -install_dir argument.The default location is /ansys_inc if the symbolic link is set; otherwise, it will default to /usr/ansys_inc. Specifies one or more products to install specific products. If you omit the -product_flag argument, all products will be installed. See the list of valid product_flags below. You can specify an options file that lists the products you want to install.To do so, you must provide a full path to a file containing desired products. See Specifying Products with an Options File below for more details. Disables automatic internet feeds to ANSYS, Inc. products (Linux only). Specifies the location of the license file to install. If the path is not specified or if the path is the same as the existing license file, the license file will not be installed.Valid only when doing a silent license manager installation (INSTALL.LM). Specifies a language to use for the ANSLIC_ADMIN utility and the ANSYS, Inc. Licensing Interconnect log file. Use the language directory name in the language subdirectory of the licensing directory (en-us, fr, de, etc.) as the language value.This flag can be used during a GUI installation as well. Valid only when doing a license manager installation (INSTALL.LM).
-product_flag
-productfile path
-setliclang language
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 -licserverinfo Specifies information to be used by the client for the license server. Valid only in conjunction with a silent installation (INSTALL).The format is: Single license server: LI_port_number:FLEXlm_port_number:hostname Example: 2325:1055:abc Three license servers: LI_port_number:FLEXlm_port_number:hostname1,hostname2,hostname3 Example: 2325:1055:abc,def,xyz The default values for the Licensing Interconnect and FLEXlm port numbers (2325 and 1055, respectively) will be used if they are not specified. However, you do need to include the colons. Example: ::abc or ::abc,def,xyz Information specified via -licserverinfo will be appended to existing information in the ansyslmd.ini file. To change information already in your ansyslmd.ini file, you must use the ANSLIC_ADMIN utility. Any messages will be written to the appropriate installation log files. Installation log files are located in the installation directory: install.log contains install-
32
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Installing ANSYS, Inc. Products ation messages, and install_licconfig.log contains licensing installation messages. In rare circumstances with a silent licensing installation, the licensing installation messages may not be written to the install_licconfig.log (for example, if the silent licensing installation aborts); in these cases, you may find error messages in the .ansys_install_temp_licconfig_<user>_<index>.log file, located in /var/tmp.
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.
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
Use the -product_flag argument to specify which products should be configured. If you do not specify one or more products, all products that have been installed will be configured. The valid product_flags are: Product Mechanical APDL (ANSYS) ANSYS CFD-Post ANSYS CFX ANSYS TurboGrid ANSYS FLUENT ANSYS POLYFLOW ANSYS Icepak ANSYS ICEM CFD ANSYS Remote Solve Manager Standalone Services product_flag -mechapdl -cfdpost -cfx -turbogrid -fluent -polyflow -icepak -icemcfd -rsm
Errors will be written to the install.err on the server machine if you have write access to that machine.
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, Inc. and its subsidiaries and affiliates.
34
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. To uninstall individual products, use the following product options in conjunction with the -silent argument: Mechanical APDL ANSYS CFX ANSYS CFD-Post ANSYS FLUENT ANSYS POLYFLOW ANSYS ICEM CFD ANSYS TurboGrid ANSYS Icepak ANSYS Remote Solve Manager Standalone Services -mechapdl -cfx -cfdpost -fluent -polyflow -icemcfd -turbogrid -icepak -rsm
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. A record of the uninstall process will be written to ansys_inc/install.log. Any errors messages will be written to ansys_inc/install.err.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
35
36
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
(or appropriate path to the individual products' executables) (contains ANSLIC_ADMIN utility)
/ansys_inc/shared_files/licensing/lic_admin
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 following, where dev is the workstation hostname or IP address on which to display graphics:
setenv DISPLAY dev:0.0
DISPLAY - set this to the IP address or hostname of the workstation to which the users will output their analysis results. Note that the X server must have permission to connect to the host machine.
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 environment 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. Designate server(s) for license checkout and establish necessary user privileges (recommended but not required). For information on these tasks, see Post-Installation Instructions for the License Manager in the ANSYS, Inc. Licensing Guide. Make a backup copy of the /ansys_inc directory using a tape backup command such as tar. 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.
4.
5. 6.
Quality Assurance Program: If you require verification of Mechanical APDL, the Mechanical Application, FLUENT, or CFX, ANSYS, Inc. offers Quality Assurance programs. If you are interested in this service, go to http://www.ansys.com/About+ANSYS/Quality+Assurance/Quality+Services or call the ANSYS, Inc. Corporate Quality Group at (724) 746-3304.
5.1.1. Post-Installation Procedures for Mechanical APDL (ANSYS) and ANSYS Workbench Products
The following post-installation procedures apply only to the Mechanical APDL (ANSYS) and ANSYS Workbench products. These are in addition to the post-installation procedures noted above for all products. 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. The ANSYS140_DIR environment variable sets the location of the ANSYS directory hierarchy. The default value is /ansys_inc/v140/ansys. You probably will not need to reset this variable, unless you change the location of the installed files. The ANSYSLIC_DIR environment variable sets the location of the ANSYS licensing directory hierarchy. The default value is /an38
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products sys_inc/shared_files/licensing . You probably will not need to reset this variable, unless you change the location of the licensing files. ANSYS140_PRODUCT - set this to the correct product variable to run Mechanical APDL (ANSYS) to start with the correct product without specifying the -p command modifier each time. See the Product Variable Table in the ANSYS, Inc. Licensing Guide for a list of valid product variables. ANSYS_LOCK - set to ON (default) to create file locks to prevent users from opening a new job with the same name and in the same directory as the current job. ANSYS140_WORKING_DIRECTORY - set this variable to the directory you want designated as your working directory. The working directory setting in the launcher will reflect this setting. SPACEBALL2 - set this environment variable to 1 to use a spaceball with Mechanical APDL. ANSYS140_MAT161 - set this environment variable to 1 to enable use of the LS-DYNA *MAT_COMPOSITE_MSC material (requires an LS-DYNA MAT_161 license). ANSYS140_MAT162 - set this environment variable to 1 to enable use of the LS-DYNA *MAT_COMPOSITE_DMG_MSG material (requires an LSDYNA MAT_162 license). ANSBROWSER - set this environment variable to the browser on your system (specify the full path) if the automatic browser detection fails. A browser is needed to view HTML reports and help for the ANS_ADMIN utility and the Mechanical APDL (ANSYS) launcher. By default, ANSBROWSER points to one of several Linux browsers, based on the browser specified in your path (if any). If you will be using connection functionality, you may have additional environment 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.
Explicit Dynamics, Rigid Dynamics, My Computer Background, and Remote Solve Manager (RSM) Users: If you are running ANSYS Workbench on a multiuser RSM machine, the My Computer, Background Solve Process Settings will likely not function as expected due to write permissions for RSM working directories. In this situation, we strongly recommend that you set up RSM as a daemon. 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 information.
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.
40
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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
Use the -h option to view the optional commands. 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 different 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
Modification of system setup files The system administrator modifies the setup files (normally /etc/profile), which are run by all users during login, to include the directory cfxroot/bin in the command search path. While this has the advantage of only one file needing to be modified in order to allow all users to use the software, it also: Affects users regardless of whether they use ANSYS CFX Can only be done by the root user Is system dependent
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
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. Modification of system setup files The system administrator modifies the setup files ( normally etc/profile), which are run by all users during login, to include the directory cfxroot/bin in the command search path. While this method has the advantage that only one file needs to be modified to allow all users to use the software, it: Affects users regardless of whether they use ANSYS TurboGrid Can only be done by the root user Is system dependent
Refer to your system documentation for information about which files to change for your workstations.
42
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products and select Tools> Configure User Startup Files. This option runs cfxroot/bin/cfx5setupuser that modifies your setup files or writes the necessary 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
at the command line. You should then change to this directory by typing:
cd cfx_example
Start the ANSYS CFX Launcher by typing cfx5. To complete testing, perform all the steps in Flow in a Static Mixer. 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
We recommend adding these statements to your $HOME/.cshrc (C shell), $HOME/.profile (Bourne/Korn shell), or $HOME/.bashrc (bash shell) file for regular use. After installing the ANSYS FLUENT software, you will need to reset the default values in the ANSYS FLUENT launcher as follows: 1. Verify that the FLUENT_INC environment variable is not set. Remove the FLUENT_INC setting from your .cshrc, .profile, or .bashrc file if you have added it for previous versions. Verify that the environment variable is unset by typing:
printenv FLUENT_INC
This command should not return anything. 2. Add the following paths to all users' login startup files:
<install_dir>/ansys_inc/v140/fluent/bin
3.
4. 5. 6.
Click Default. Click Yes when asked if you want to discard the LAUNCHER history. 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.
44
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Post-Installation Procedures for All Products This command should not return anything.
Add the following environment variable to all users' login startup files. ICEM_ACN - set to /ansys_inc/v140/icemcfd/<ICEMCFD_OS_DIR>/bin
3.
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
ANSYS, Inc. licensing also looks for the languagesettings.txt in the licensing languages subdirectories in order to display the ANSLIC_ADMIN utility and the ANSYS, Inc. Licensing Interconnect message and log files in a different language. 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 installation.
46
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Launching ANSYS, Inc. Products 2. 3. Copy the message files msgcat.140, msgidx.140, and msgfnm.140 into that subdirectory. Access these files from the Language Selection option of the launcher or via the -l command line option:
ansys140 -l fr
/ansys_inc/v140/Framework/bin/<platform>/runwb2 /ansys_inc/v140/CFX/bin/cfx5 /ansys_inc/v140/fluent/bin/fluent For a complete list of command line and launcher options, see Starting ANSYS FLUENT in the FLUENT Users Guide.
/ansys_inc/v140/icemcfd/<platform>/bin/icemcfd /ansys_inc/v140/polyflow/bin/polyman Starts the POLYFLOW MANager. For any other tool, use /ansys_inc/v140/polyflow/bin/<tool>
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 Product ANSYS CFD-Post ANSYS Icepak ANSYS TurboGrid ANSYS AUTODYN Command /ansys_inc/v140/CFDPost/bin/cfdpost /ansys_inc/v140/Icepak/bin/icepak /ansys_inc/v140/TurboGrid/bin/cfxtg /ansys_inc/v140/autodyn/bin/autodyn140 solver only Notes
48
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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: Select Products to Uninstall Uninstall all ANSYS Products
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
50
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Caution
Be sure to install Mechanical APDL (ANSYS) and the connection functionality from the same release. If you attempt to run the latest connection functionality on a machine that is running an earlier release of Mechanical APDL, or vice versa, the connection may fail. 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.
51
Chapter 7: Configuring CAD Products The CAD Configuration Manager on Linux is organized into several tabs: CAD Selection Creo Parametric (options are active on Windows only) NX Teamcenter Engineering (options are active on Windows only) CAD Configuration
An administrative user has the option to configure or unconfigure any selected CAD systems either for the present user's environment or for all users, as indicated by the Configuration actions apply to options. When the original installation was performed by a non-administrative user, an administrative user will only be allowed to configure or unconfigure for all users. In this situation, NX configure and unconfigure actions are skipped. Non-administrative users will only be allowed to configure for themselves. Any user-specific configuration settings take precedence over global configuration settings. This document describes how to use the CAD Configuration Manager as a wizard on Linux systems, beginning with the CAD Selection tab and using the Next button to progress through the configuration process. You can also manually select each tab to progress through the configuration process; both methods work the same. However, the applicable tabs will not be enabled until you choose the associated product on the CAD Selection tab. 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, substituting 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. If you selected NX as one of your CAD products, the NX tab opens. a. Enter or browse to the NX installation location.
3.
52
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Using the CAD Configuration Manager b. c. 4. The NX custom directory file is not applicable on Linux and can be ignored as it will be disabled. Click Next.
The CAD Configuration tab opens. a. b. Click the Configure Selected CAD Interfaces button. When the configuration for all products is complete, log entries appear, listing those products that were successfully configured and those that were not. Address any errors and reconfigure. For more details, click the Display Configuration Log File button to see a detailed log file.
c.
5.
When all of your CAD products have been successfully configured, click Exit.
You can review the CAD Configuration Manager log file, CADConfigurationMgr.log, in /ansys_inc. If you do not have write permissions to the /ansys_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.
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 Argument unconfigure Value None Comment Results in any specified CAD sources being unconfigured. When this flag is absent, the CAD Configuration Manager will attempt to configure all designated CAD sources. Configure/unconfigure NX Geometry Interface to Workbench.The argument UGII_BASE_DIR must also be specified. This should agree with environment variable UGII_BASE_DIR. Not required with unconfigure operation.
UG_CONFIG_WB UGII_BASE_DIR
None
Full path to NX installation (quotations are required if there are spaces in the path). None
UG_USE_COLORS
Process NX entity colors as possible source of attributes and named selections. Not required with unconfigure operation.
Note
All arguments require a dash (-) before them in order to be properly recognized by the CAD Configuration Manager. Arguments' values should not have a dash preceding them. 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
where installpath is the /v140 directory under the installation directory. To unconfigure the same CAD Interface, the command would be:
<installpath>/commonfiles/CAD/bin/ansmono -unconfigure -UG_CONFIG_WB Ans.CadInt.CADConfigurationUtility.exe
Although the argument order does not matter, an argument value must immediately follow its argument.
54
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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: Registers the NX Reader for ANSYS Workbench by copying the file UGNX#.Component.XML from /ansys_inc/v140/aisol/CADIntegration/UG to either /ansys_inc/v140/commonfiles/registry/linx64/append when the configuration manager is in administrative mode or to $HOME/.config/Ansys/140/UserRegFiles_NNNN/append, when the CAD Configuration Manager is run by a non-administrator. The CAD Configuration Manager ensures that only one version of the file exists in the target location. UGNX# is the NX version detected by the CAD Configuration Manager, and NNNN is a numeric identifier appended to the UserRegFiles directory. You must specify the environment variable UGII_BASE_DIR, which must match the install location supplied to the CAD Configuration Manager. The WorkBench Reader for NX will not work without this variable set properly, as it is required for proper startup of the CAD.
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/icemcfd/linux64_amd/dif/ug/lib/ug/ugXX_vendor_dir. Here, XX corresponds to the version of NX intended to load the NX Direct CAD Interface: XX=22 for NX4 XX=23 for NX5
7.2. Configuring NX
To use NX in reader mode, you will not need to perform any additional configuration 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 To use NX in plug-in mode, you need to set additional environment variables. ANSYS provides default settings for some of the necessary environment variables.
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. ANSCON_CONFIG_DIR: Sets the location of the config.anscon.140 configuration file. This environment variable is used only if the ANSYS140_DIR has not been set. Defaults to /ansys_inc/v140/ansys/ac4/data. UGII_VENDOR_DIR: This environment variable is not set during the installation process and can only be set in a user's start-up file or at command level before running NX. This environment variable defines the Mechanical APDL (ANSYS) or ICEM CFD menu for NX. You must set this environment variable if you will be running the connection for NX product from inside NX. This environment variable tells NX where to find the Mechanical APDL or ICEM CFD program.
Note
You cannot set the UGII_VENDOR_DIR for both Mechanical APDL and ICEM CFD. You must set it for only one product. For Mechanical APDL, set this environment variable as follows:
setenv UGII_VENDOR_DIR /ansys_inc/v140/ansys/ac4/bin/ug50/<platform>
Where NN = 22 for NX4, 24 for NX6 UGII_OPTION: This environment variable sets the case of characters in directory names on the current system. You must set this environment variable if the directory names in this environment variable or in ANSCON_CONFIG_DIR contain uppercase characters. Possible options are MIXED, LOWER or UPPER. We recommend the following setting:
setenv UGII_OPTION MIXED
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 Configuration Parameters in the ANSYS Connection User's Guide for more information about the config.anscon.140 file.
7.2.2. Configuring the Geometry Interface for NX for ANSYS Workbench Products
If you chose to skip configuring the Geometry Interface for NX during the ANSYS Workbench installation, you may need to run the CAD Configuration Utility's CAD Interface Configuration > Configure UG NX Reader for Workbench option. 1. 2. 3. 4. 5. Launch CAD Configuration Utility. Select CAD Interface Configuration to continue. Select Configure UG NX Reader for Workbench to continue. Enter the directory path to the NX installation path. Select OK to continue. Select EXIT to close CAD Configuration Utility.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
57
58
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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/System FAQs. Then select either the Windows or Linux link. For information on licensing-related errors, see the Troubleshooting section of the ANSYS, Inc. Licensing Guide. 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.
60
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.
Mouse clicks are slow to initiate an action. 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 environment 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: In KDE: Choose [K Menu] >Settings >Input Method In GNOME: Choose System >Preferences >More Preferences >Input Methods. In other window managers: Run program im-chooser. Select Never Use Input Methods. Then rerun the installation.
62
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Installation Troubleshooting tions (Linux x64 Only) (p. 18) and enter the correct pathname for your platform. 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. This Linux-only message appears during an ANSYS, Inc. product installation if the installed license manager files are newer than the ones being installed. You should always use the newest files. However, due to system format changes or other unlikely scenarios, the date check could produce incorrect results. To override the date check and force the installation to always install the files from the media, regardless of the file dates, re-run the installation with the -nodatecheck option. We strongly recommend that you exercise caution when running the installation with the -nodatecheck option; installing older license files can result in licensing errors and the inability to run 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.
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 Processing Guide for a complete list of supported MPI versions.
8.2.2. Japanese/Chinese characters display in status bar windows on Mechanical APDL (ANSYS) on Red Hat AS 4.0
If you are running the traditional Mechanical APDL (ANSYS) interface and see Japanese/Chinese characters in the status bar windows, you will need to reinstall Red Hat, picking only English. This problem is caused by choosing to install "Everything" during the Red Hat Linux OS setup, thus installing all languages. If you then install Mechanical APDL and do a solve with the traditional interface, you will see Japanese or Chinese text in the solve status window. This bug will not be fixed.
8.2.3. Mechanical APDL (ANSYS) Documentation File for User Interface Error Messages
Missing or erroneous documentation files for user interface. Command ignored. 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
64
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Make sure that the pathnames in the menulist140.ans file are correct.
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. To revert to accelerated graphics mode, launch ANSYS Workbench using the oglhw flag:
runwb2 -oglhw
If you are running under Exceed3D, try the following settings if you are having graphics problems: Turn off the graphics (hardware) acceleration option in Exceed3D options. If graphics acceleration is on, turn on the GLX 1.3 option.
Any version of Exceed that does not have the GLX 1.3 option is unlikely to function correctly with graphics acceleration.
66
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: support@cadfem.de All ANSYS Products Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and select the appropriate option. National Toll-Free Telephone: German language: 0800 181 8499 English language: 0800 181 1565 International Telephone: German language: +49 6151 3644 300 English language: +49 6151 3644 400 Email: support-germany@ansys.com 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: support-uk@ansys.com 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 68
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Contacting Technical Support Email: CFX: japan-cfx-support@ansys.com; Mechanical: japan-ansys-support@ansys.com FLUENT Products Telephone: +81-3-5324-7305 Email: FLUENT: japan-fluent-support@ansys.com; POLYFLOW: japan-polyflow-support@ansys.com; FfC: japan-ffc-support@ansys.com; FloWizard: japan-flowizard-support@ansys.com Icepak Telephone: +81-3-5324-7444 Email: japan-icepak-support@ansys.com Licensing and Installation Email: japan-license-support@ansys.com 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: feasup-india@ansys.com;CFD products: cfdsup-india@ansys.com; Installation: installation-india@ansys.com 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: support-france@ansys.com 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 Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and select the appropriate option. Telephone: +32 (0) 10 45 28 61 Email: support-belgium@ansys.com Support for University customers is provided only through the ANSYS Customer Portal. 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: support-sweden@ansys.com Support for University customers is provided only through the ANSYS Customer Portal. SPAIN and PORTUGAL All ANSYS Products Web: Go to the ANSYS Customer Portal (http://www.ansys.com/customerportal) and select the appropriate option. Telephone: +33 1 30 60 15 63 Email: support-spain@ansys.com 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: support-italy@ansys.com Support for University customers is provided only through the ANSYS Customer Portal.
70
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
71
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 installation. For Windows platforms, you must install the MPI software as described later in this document.
Setting up Distributed ANSYS Distributed ANSYS runs on the following platforms: Intel IA-64 Linux (Platform MPI, SGI MPT) Intel Xeon EM64T 64-bit Linux (Platform MPI, Intel MPI) AMD Opteron 64-bit Linux (Platform MPI, Intel MPI) Windows 32-bit (Platform MPI, Intel MPI) Windows 64-bit (Platform MPI, MS MPI, Intel MPI) Windows HPC Server 2008 x64 (Microsoft HPC Pack (MS MPI))
Linux, Intel Xeon Platform MPI EM64T and AMD Opter- 8.1.2 on 64-bit Intel MPI 4.0.2
Platform MPI: http://www.platform.com/cluster-computing/platform-mpi Intel MPI: http://software.intel.com/en-us/articles/intel-mpi-library-documentation/ Platform MPI: http://www.platform.com/cluster-computing/platform-mpi Intel MPI: http://software.intel.com/en-us/articles/intel-mpi-library-documentation/
Windows 32-bit / Windows XP / Windows Vista / Windows 7 Windows 64-bit / Windows XP x64 / Windows Vista x64 / Windows 7 x64 Windows HPC Server 2008 x64
http://www.microsoft.com/hpc/
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 folRelease 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.
74
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
75
Verify communication between machines via rsh or ssh (e.g., rsh golinux2 ls). You should not be prompted for a password. If you are, check the .rhosts permissions and machine names for correctness. For more information on using remote shells, see the man pages for rsh or ssh. 3. If you want the list of machines to be populated in the Mechanical APDL Product Launcher, you need to configure the hosts140.ans file. You can use the ANS_ADMIN utility to configure this file. You can manually modify the file later, but we strongly recommend that you use ANS_ADMIN to create this file initially to ensure that you establish the correct format. Windows: Start >Programs >ANSYS 14.0 >Utilities >ANS_ADMIN 14.0
76
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Setting up Distributed ANSYS Choose Configuration options, and then Configure Cluster to configure the hosts140.ans file. 1. Specify the directory in which the hosts140.ans will be configured: Select the Configure a hosts140.ans file in a directory you specify option and click OK. Enter a working directory. Click OK. Enter the system name (from Step 1) in the Machine hostname field and click Add. On the next dialog box, enter the system type in the Machine type drop-down, and the number of processors in the Max number of jobs/processors field and click OK for each machine in the cluster. When you are finished adding machines, click Close, then Exit. An example hosts140.ans file where machine1 has 2 processors and machine2 has 4 processors would look like this:
machine1 intel 0 2 0 0 MPI 1 1 machine2 intel 0 4 0 0 MPI 1 1
2.
Linux: /ansys_inc/v140/ansys/bin/ans_admin140 Choose ANSYS/Workbench Configuration, and then click Configure Cluster. Under Select file to configure, choose the hosts140.ans file to be configured and choose Configure for Distributed ANSYS. Click OK. Then enter the system name (from Step 1) in the Machine hostname field and click Add. On the next dialog box, enter the system type in the Machine type drop-down, and the number of processors in the Max number of jobs/processors field for each machine in the cluster. Click Add. When you are finished adding machines, click Close. The hosts140.ans should be located in your current working directory, your home directory, or the apdl directory. 4. Windows only: Setting up environment variables. On the head node, where ANSYS and ANSYS Licensing is installed, set the following: ANSYS140_DIR=C:\Program Files\ANSYS Inc\v140\ansys ANSYSLIC_DIR=C:\Program Files\ANSYS Inc\Shared Files\Licensing where C:\Program Files\ANSYS Inc is the location of the product install. If your installation location is different than this, specify it instead.
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 On Windows systems, you must use the Universal Naming Convention (UNC) for all ANSYS environment variables on the compute nodes for Distributed ANSYS to work correctly. On the compute nodes, set the following: ANSYS140_DIR=\\head_node_machine_name\ANSYS Inc\v140\ansys ANSYSLIC_DIR=\\head_node_machine_name\ANSYS Inc\Shared Files\Licensing For Distributed LS-DYNA: 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 running Platform MPI: MPI_REMSH - This is the path to the remote shell (ssh or rsh). Set this environment 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, Inc. and its subsidiaries and affiliates.
78
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 uppercase, 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 interconnect 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.
On Linux systems running Intel MPI: 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.intel.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
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. 2. Create a file named machines in your local/home directory. Open the machines file in an editor. 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 80
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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
Interconnects plug into a PCI (Peripheral Component Interconnect), PCI-X (extended), or PCIe (PCI Express) slot on the system. You will need a PCI-X or a PCIe slot for the faster interconnects to accommodate the higher speeds. Hardware for specific types of interconnects is generally incompatible with other proprietary interconnect types (except Ethernet and GiGE). Systems can have a network of several different types of interconnects. Each interconnect must be assigned a unique hostname and IP address. On Windows x64 systems, use the Network Wizard in the Compute Cluster Administrator to configure your interconnects. See the Compute Cluster Pack documentation for specific details on setting up the interconnects. You may need to ensure that Windows Firewall is disabled for Distributed ANSYS to work correctly.
81
82
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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 environment or in the cfx5rc file (see Resources Set in cfx5rc Files in the CFX Introduction). In either case, rsh or ssh, the remote machine must not prompt for a password when you run remote commands.
Note
On systems running HP-UX, use "remsh" instead of "rsh". 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 documentation 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>
84
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup where <netgroup> is the name of a netgroup to which users of ANSYS CFX belong. A detailed description of how to configure NIS is beyond the scope of this manual. Please see your system documentation for more information about NIS.
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
85
Note
The SIMULATION CONTROL...END wrapper is a requirement for Release 12.0 and later. If you manually create your hostinfo.ccl file, you must ensure that this wrapper is present. 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
which will be used in preference if it exists. 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
86
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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
If an individual user wants to use a host that is not present in either the hostinfo.ccl in the installation config directory or the user's own version of this file, then the user can add this host to the list for a particular run by using the CFX-Solver Manager. However, this would have to be done each time a run is started. The available parameters for the hostinfo.ccl file are as follows: 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 <CFXROOT>/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 actual 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 involving two machines, one with a relative speed of 2.0 and the other with a relative 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, underscore 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: %r %p %v %o %a root directory of the installation parallel suffix for the executable version of ANSYS CFX being run operating system string architecture subdirectory specification; for example, linux/double
1.2.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility
You can add new hosts to ANSYS CFX's database for parallel runs using the cfx5parhosts utility:
CFXROOT\bin\cfx5parhosts argument list
where argument list corresponds to one or more of the arguments listed below: Argument -add host[,host,...] Description 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.
88
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS CFX UNIX Parallel Setup Argument Description host may be specified as [user@]hostname[:cfx5 root] if the user name or the ANSYS CFX installation 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. Use the specified file as the hostinfo.ccl file. Merge host information from the named file. After modifying the file, write back the information available without attempting to fill in any missing pieces. 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. Use the system host file.This is the default. 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. Use the per-user host file.
-system -update
-user
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 Platform MPI is automatically installed with ANSYS CFX in the <CFXROOT>/tools directory. You do not need a license from Platform to run the ANSYS CFX-Solver using Platform MPI. 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 <CFXROOT>/etc/start_methods.ccl file.
90
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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 interconnects. See the next section.
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 Interconnect VAPI 1st attempt Environment variable MPI_ICLIB_VAPI 2nd attempt Environment variable MPI_ICLIB_VAPIDIR libpsm_infinipath.so.1 3rd attempt libmtl_common.so, libmpga.so, libmosal.so, libvapi.so /usr/lib64/ libpsm_infinipath.so.1
Infinipath
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.
92
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, 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 CFXSolver 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
The SIMULATION CONTROL...END wrapper is a requirement for Release 12.0 and later. If you manually create your hostinfo.ccl file, you must ensure that this wrapper is present. 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. The available parameters are as follows:
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 <CFXROOT>/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 involving two machines, one with a relative speed of 2.0 and the other with a relative 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, underscore 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: %r %p root directory of the installation parallel suffix for the executable
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
94
ANSYS CFX Windows Parallel Setup %v %o %a version of ANSYS CFX being run operating system string architecture subdirectory specification, for example, linux/double
2.1.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility
You can add new hosts to ANSYS CFX's database for parallel runs using the cfx5parhosts utility; this is done by running:
CFXROOT\bin\cfx5parhosts argument list
where argument list corresponds to one or more of the arguments listed below. On Windows Vista, cfx5parhosts must be run with administrator privileges. This is because the hostinfo.ccl file, like all files in Program Files, requires administrative privileges to edit. Argument -add host[,host,...] Description 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. host may be specified as [user@]hostname[:cfx5 root] if the user name or the ANSYS CFX installation root directory differs from the local host. To add a set of separately-installed Windows hosts to the hostinfo.ccl file, where the installation may be in a different place on each host, the recommended method is to gather the hostinfo.ccl files created on each host by the installation process, and merge them together using the -merge switch. -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. 95
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Configuring ANSYS CFX Parallel Argument -file file -merge file -no-update -strict Description Use the specified file as the hostinfo.ccl file. Merge host information from the named file. After modifying the file, write back the information available without attempting to fill in any missing pieces. 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. Use the system host file.This is the default. 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. Use the per-user host file.
-system -update
-user
96
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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 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 start_methods.ccl file in the <CFXROOT>/etc directory.
2.
Have ANSYS CFX determine the required information for itself. If ANSYS CFX is to determine the required information for itself, then remoteor 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
2.2.2. Installing the Platform MPI Service and Registering Users on Windows Vista
On Windows Vista, you must start a command window and install the Platform MPI service as Administrator: 1. 2. From Explorer, right-click C:\WINDOWS\system32\cmd.exe and select Run As. In the Run As dialog, select The following user and login as Administrator. Enter the username and password information. 3. The username should be entered in full (for example DOMAIN\user). The password information is encrypted and added to the registry.
If necessary, change to the disk drive that has the ANSYS software installed. For example, to change to the C drive, enter:
C:
4.
A message appears in the terminal when the installation is complete. On the master host, details of a user with access to all of the hosts in the run must now be set. The username and password information is used during the run to access the hosts. 5. Start the service; enter:
"<install_dir>\v140\CFX\bin\cfx5parallel" -start-pcmpi-service
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>
For details on the cfx5parallel utility, enter "<install_dir>\v&ansys_version;\CFX\bin\cfx5parallel" -help at the command prompt.
2.2.3. Installing the Platform MPI Service and Registering Users on Windows XP
As a user with administrative privileges:
98
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS CFX Windows Parallel Setup 1. 2. From the launcher, select Tools > Command Line. Enter:
cfx5parallel -install-pcmpi-service
A message appears in the terminal when the installation is complete. On the master host, details of a user with access to all of the hosts in the run must now be set. The username and password information is used during the run to access the hosts. 3. Enter your username and password information. 4. If prompted, the username should be entered in full (for example DOMAIN\user). The password information is encrypted and added to the registry.
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>
For details on the cfx5parallel utility, enter cfx5parallel -help at the command prompt.
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
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. 2. Install ANSYS Licensing, ANSYS Workbench and ANSYS CFX on the head node. 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. Install the ANSYS prerequisites on all of the cluster nodes. You can do this either by: Executing the following commands directly on each node:
\\<HeadNodeName>\ANSYS Inc\v140\prereq\vcredist_x64_SP1.exe \\<HeadNodeName>\ANSYS Inc\v140\prereq\vcredist_x86_SP1.exe \\<HeadNodeName>\ANSYS Inc\v140\prereq\2008vcredist_x64.exe /qn
3.
or by using theclusrun command on the headnode to execute these commands on all the nodes (refer to your Windows CCS or HPC documentation for details).
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
100
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. Alternatively, share the working directory of the submitting machine. For example share C:\Users\<UserName> on the submitting machine as \\<SubmitHostName>\<UserName> where <SubmitHostName> is the name of the submitting machine. 5. If the submitting machine is different from the server head node, it is necessary to install HPC Pack 2008 R2 Client Utilities on the submitting machine. This is available for download from Microsoft. This sets the CCP_HOME environment variable, enabling the Submit to Windows CCS or HPC Queue start method in the CFX-Solver Manager. On the submitting machine, create %USERPROFILE%\.cfx\cfxccs_options.txt with the following content to define the required CCS options: PATHMAP=C:\Program Files\Ansys Inc;\\<HeadNodeName>\Ansys Inc PATHMAP= C:\Users\<UserName>;\\<HeadNodeName>\<UserName> or PATHMAP=C:\Users\<UserName>;\\<SubmitHostName>\<UserName> if the working directory has been shared from the submitting machine. CLUSTERHOST=<HeadNodeName> to be used when submitting jobs from machines other than the headnode. ACCOUNT=<OtherUserDomain>\<OtherUserName> to be used when submitting jobs using different credentials, where <OtherUserDomain> and <OtherUserName> are the domain and user names of another user, respectively. PROCESSORSPERSOLVER=2 an optional setting (default setting is 1) that allocates the number of cores per partition. This is typically used on hosts that are limited by memory bandwidth such as Xeon-based machines. 7. Set up ANSYS Workbench for a network as described in ???.
6.
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. 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.
3.
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. %USERPROFILE% is typically C:\Documents and Settings\<Username>\ on XP, or C:\Users\<UserName> on Vista or Server HPC 2008. 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.
2.
3.
102
Release 14.0 - SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.