Installation and Licensing Documentation
Copyright and Trademark Information © 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited. ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are ed trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM
CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners. 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 s 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 and conditions of that software license agreement. ANSYS, Inc. is certified to ISO 9001:2008. U.S. Government Rights For U.S. Government s, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses). 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 ANSYS, Inc. Published in the U.S.A.
ANSYS, Inc. Licensing Guide
ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317
[email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494
Release 15.0 November 2013 000409 ANSYS, Inc. is certified to ISO 9001:2008.
Revision Information The information in this guide applies to all ANSYS, Inc. products released on or after this date, until superseded by a newer version of this guide.
Copyright and Trademark Information © 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited. ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are ed trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.
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 s 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 and conditions of that software license agreement. ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights For U.S. Government s, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses).
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 ANSYS, Inc. Published in the U.S.A.
Table of Contents Preface ................................................................................................................... vii 1. Introduction ........................................................................................................ 1 1.1. Explanation of Licensing ..................................................................... 2 1.1.1. The FlexNet License Manager Daemon (lmgrd) ..................................... 3 1.1.2. The Vendor Daemon (ansyslmd) ........................................................... 3 1.1.3. ANSYS Licensing Interconnect (ansysli_server) ...................................... 3 1.1.4. The License File .................................................................................... 4 1.1.4.1. License File Format ...................................................................... 4 1.1.4.1.1. SERVER Lines ...................................................................... 5 1.1.4.1.2. VENDOR Lines ..................................................................... 6 1.1.4.1.3. INCREMENT Lines ............................................................... 7 1.1.4.1.4. Sample License Files ........................................................... 8 1.1.4.1.5. Recognizing an ANSYS, Inc. License File ............................... 9 1.1.5. The Application Programs .................................................................. 10 1.1.6. The License Server Machines .............................................................. 10 1.1.6.1. Selecting License Server Machines ............................................. 10 1.1.6.2. Redundant Server Options ......................................................... 12 2. Installing the ANSYS License Manager ............................................................. 13 2.1. Communications Requirements .................................................................. 14 2.1.1. Configuring T/IP ............................................................................. 14 2.1.1.1. Determining Whether T/IP Is Installed on a Microsoft Windows System ................................................................................................. 15 2.1.2. Changing the Default ANSYS Licensing Interconnect and FlexNet Port Numbers .................................................................................................... 16 2.2. Installing the License Manager ................................................................... 17 2.2.1. License Manager Installation Instructions - Windows ........................... 17 2.2.2. License Manager Installation Instructions - UNIX/Linux ....................... 20 2.2.3. Silent License Manager Installation Instructions .................................. 22 2.2.4. Advanced Licensing Configuration Options ........................................ 24 2.3. Post-Installation Instructions ....................................................................... 29 2.3.1. Start the ANSYS License Manager at System Boot Time ....................... 30 2.3.2. Configuring the License Server Machine(s) .......................................... 32 2.3.3. Modify License Manager Startup Options ........................................... 33 2.3.4. Create a Group ................................................................................... 33 2.3.4.1. Defining Group Restrictions for the Licensing Interconnect ........ 34 2.3.5. Specify Privileges ........................................................................ 35 2.3.6. Specifying the License Server and License Files ................................... 35 2.3.7. Specifying Firewall Settings ................................................................ 36 2.3.8. Setting Up Redundant (Triad) Servers ................................................. 37 Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
iii
ANSYS, Inc. Licensing Guide 3. License istration Using ANSLIC_ ................................................. 39 3.1. Using the ANSLIC_ Utility ................................................................. 40 3.1.1. License Server Machine Information ...................................... 44 3.1.2. Display the License Server Machine Hostid ......................................... 44 3.1.3. Run the License Wizard ....................................................................... 45 3.1.4. Install the License File ......................................................................... 46 3.1.5. Start the ANSYS, Inc. License Manager ................................................. 47 3.1.6. Stop the ANSYS, Inc. License Manager ................................................. 48 3.1.7. Reread the License Manager Settings ................................................. 50 3.1.8. Specify the License Server Machine .................................................... 50 3.1.8.1. Sample Scenario ........................................................................ 54 3.1.9. Set License Preferences for .......................................................... 54 3.1.10. Run the ANSYS Borrow Utility ........................................................... 55 3.1.10.1. Setting up License Borrowing .................................................. 56 3.1.10.2. Running the Borrowing Utility .................................................. 57 3.1.11. Set Site Preferences .......................................................................... 59 3.1.11.1. Edit the FlexNet Options File .................................................... 59 3.1.11.1.1. The Options File Format .................................................. 60 3.1.11.1.2. Sample Options File ........................................................ 63 3.1.11.2. Specify Product Order .............................................................. 64 3.1.11.3. Modify Startup Options ........................................................... 65 3.1.11.4. Specify License Servers to Cache .............................................. 67 3.1.12. View Status/Diagnostic Options ........................................................ 68 3.1.12.1. Display the License Status ........................................................ 69 3.1.12.2. Display Queued Licenses ......................................................... 69 3.1.12.3. Display the Customer Number ................................................. 70 3.1.12.4. View the ANSYS Licensing Interconnect Debug Log File ............ 70 3.1.12.5. View the ANSYS FlexNet License File ......................................... 71 3.1.12.6. View the ANSYS FlexNet Debug Log File ................................... 71 3.1.12.7. Gather Diagnostic Information ................................................. 71 3.1.13. Uninstall the License Manager .......................................................... 72 4. End- Settings .............................................................................................. 75 4.1. Client Environment Variable Settings ........................................................... 75 4.1.1. License Files Settings Precedence ....................................................... 76 4.2. Establishing Licensing Preferences ....................................................... 77 4.2.1. ANSYS Workbench Licensing Methods ................................................ 78 4.2.2. HPC Licensing .................................................................................... 82 4.2.2.1. Specifying HPC License Order .................................................... 84 4.2.3. HPC Parametric Pack Licensing ........................................................... 85 4.3. Setting Up License Queuing ........................................................................ 86 4.4. Using License Borrowing ............................................................................. 86 5. Troubleshooting ................................................................................................ 89 iv
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS, Inc. Licensing Guide 5.1. Getting Additional License Debug Information ............................................ 89 5.2. Gathering Diagnostic Information ............................................................... 91 5.3. Problem Situations ..................................................................................... 91 5.3.1. License Manager Will Not Start ........................................................... 91 5.3.2. License Manager Will Not Stop ........................................................... 92 5.3.3. License Manager Will Not Stop in a Three-Server Environment ............ 93 5.3.4. The Application Does Not Show the Correct License(s) ........................ 93 5.3.5. I Do Not See an HPC Product Category in the Specify Product Order or the Set License Preferences for Dialogs ................................................ 94 5.3.6. FlexNet Log File Shows Unexpected Messages When the License Manager Is Stopped .................................................................................... 94 5.3.7. Unable to Check Out Licenses ............................................................. 95 5.3.8. Entries in the FlexNet Options File Are Ignored .................................... 96 5.3.9. Jobs Abort When License Manager Goes Down in Three-Server Environment ...................................................................................................... 96 5.3.10. Licensing Log File Not Created .......................................................... 97 5.3.11. Queuing Does Not Work ................................................................... 98 5.3.12. The FlexNet Utility lmutil Does Not Shut Down License Manager ....... 98 5.3.13. The FlexNet Utility lmcksum May Give Misleading Information .......... 99 5.3.14. The Mechanical APDL Launcher is Excessively Slow to Start ............... 99 5.3.15. Mechanical APDL Launcher is Not Using ANSYS150_PRODUCT Environment Variable Correctly .......................................................................... 99 5.3.16. Cannot Run a Product Listed in the Mechanical APDL Product Launcher ................................................................................................... 99 5.3.17. No Licensing Interconnect or FlexNet Path Available from Display the License Status Option ............................................................................... 100 5.3.18. Cannot Enter Data in Text Fields ...................................................... 100 5.3.19. Cannot See the Entire Run License Wizard Dialog Box ...................... 101 5.3.20. Design Point Project Locks Reserved Licenses During a Hang .......... 101 5.3.21. Removing the Obsolete ANSYS FLEXlm License Manager Service ..... 102 5.3.22. See a “File Not Found” Message When Running a Licensing Utility ............................................................................................................ 103 5.4. Licensing Installation Process Errors .......................................................... 103 5.5. Licensing-Related Mechanical APDL Launcher Error Messages ................... 103 5.6. Licensing Error Messages .......................................................................... 105 5.7. License Manager Installation Directory Errors ............................................ 114 5.8. ANSYS License Borrowing Errors ................................................................ 115 5.9. FlexNet License Log File Errors ................................................................... 116 6. Product Variable Table .................................................................................... 119 Glossary ............................................................................................................... 127 Index .................................................................................................................... 135
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
v
vi
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Preface This document contains information for running the ANSYS, Inc. License Manager with all ANSYS, Inc. products, except ANSYS Electromagnetics (Ansoft) products. However, some information may pertain only to specific products/licensing levels, such as Mechanical APDL (ANSYS) or ANSYS Fluent.
Important Notice If you wish to run multiple releases of ANSYS, Inc. software, you MUST install them chronologically (i.e., Release 14.0 followed by Release 15.0). If you install an earlier release after installing Release 15.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 15.0, you MUST uninstall Release 15.0, then re-install the releases in order.
ed Hardware Platforms This document details information about licensing ANSYS, Inc. products on the hardware platforms listed below. Not all products all platforms listed below. Please refer to the installation documentation for platform specifics, including the platforms on which your specific product runs. The name in parentheses indicates the directory name for each platform (referred to as
throughout this document). • Sun SPARC 64 (solus64) • Linux x64 (linx64) • Windows x64 (winx64) • Windows 32 (win32) For specific operating system requirements, refer to the installation guide for the product and platform you are running. For the SPARC 64, please see our platform information at http://www.ansys.com//Platform+. (This URL is case-sensitive.)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
vii
Preface
Intended Audience The ANSYS Licensing Guide is intended for the person responsible for licensing istration of all ANSYS, Inc. products at a site. This person is typically the system . End s of the product may also find this information useful, especially client options.
Applicability This guide applies to all products licensed with the ANSYS License Manager. See Product Variable Table (p. 119) for a list of products.
Summary of New and Changed Features Listed below is a summary of those licensing items that are either new or have been changed since the last release. For a list of all major new and changed features of any product, see the Release Notes document for that product. • The ANSYS, Inc. License Manager now s the use of IP addresses & LM_PROJECT in the FlexNet options file. • DesignPoint studies and ANSYS HPC Parametric Pack has been enhanced in the following ways: – ANSYS Icepak licenses may now be reserved for DesignPoint studies and can be used with HPC Parametric Packs. – ANSYS Structural, ANSYS Structural Solver and ANSYS Professional NLS licenses may now be reserved for DesignPoint studies and can be used with HPC Parametric Packs • In the License Preference dialog box, the PrePost tab now includes the product licenses that provide both pre/post processing & solver capability. Previously, this class of product licenses (example ANSYS Mechanical) were only available in the Solver tab. • The ANSYS ASAS SPLINTER functionality is now enabled in these products: ANSYS Multiphysics, ANSYS Mechanical, ANSYS Professional NLS, ANSYS Structural and any ANSYS Academic products that contain ANSYS Mechanical simulation capabilities.
viii
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
• Graphics Processing Unit (GPU) licensing has been enabled for both ANSYS HPC and ANSYS HPC Pack licenses. • EKM no longer needs to check out application licenses when extracting data for reports.
Conventions Used in This Document Computer prompts and responses and input are printed using this font: /ansys_inc/shared_files/licensing/lic_/anslic_
Lengthy input lines that exceed the width of the page are listed in multiple lines, with the second and subsequent lines indented: exec_path
:\Program Files\Ansys Inc\ansys150\ac4 \bin\pro\
\ac4pro150.exe
Wild card arguments and variables are italicized. Commands appear in bold face.
Note Note paragraphs are introduced by the text Note. A note contains information that supplements the main topic being discussed.
Caution Paragraphs that begin with the word “Caution” in bold, with the rest of the text in normal type, warn you about actions or situations that potentially may cause problems or unexpected behavior or results in ANSYS, Inc. products.
Warning Paragraphs that begin with the word “Warning” in bold warn you about actions or situations that can shut down ANSYS, Inc. products, damage files, etc.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ix
x
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 1: Introduction ANSYS, Inc. uses the FlexNet license manager for all of its licensed products. FlexNet is best known for its ability to allow software licenses to be available (or float) anywhere on a network. Floating licensing benefits both s and license s. s can make more efficient use of fewer licenses by sharing them on the network. License s can control who uses the licensed application and the machine(s) where the licenses will be available. The format of the traffic between the ANSYS product(s) and the license manager is machine independent, allowing for heterogeneous networks. The license server machine and the computer running an application can be different hardware platforms or even different operating systems (Windows and UNIX/Linux, for example). The actual communication between the ANSYS applications and FlexNet occurs through an intermediary process call the ANSYS Licensing Interconnect. The Licensing Interconnect is nearly transparent; you should not see any noticeable difference in your day-to-day operation of ANSYS products. To get the full set of files necessary to run as a server, you will need to run the license manager installation. The general licensing process is explained here; for detailed installation instructions, see Installing the ANSYS License Manager (p. 13). All files necessary to run as a client are automatically installed during the product installation.
The Licensing Process The licensing process for ANSYS, Inc. products is as follows: 1. Select the license server machine(s). See Selecting License Server Machines (p. 10) for guidelines. 2. Install and configure T/IP. See Communications Requirements (p. 14) for information on configuring T/IP. 3. Install the software. See Installing the ANSYS License Manager (p. 13), or see the appropriate installation manual for your product and platforms for detailed installation instructions. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
1
Introduction 4. the license server machine(s). See License Server Machine Information (p. 44). 5. After you receive your license file, run the License Wizard. See Run the License Wizard (p. 45) for information on installing your license file. 6. Set up the licensing environment. See Post-Installation Instructions (p. 29).
Compatibility with Other FlexNet-Licensed Software Because of FlexNet's popularity, you may have FlexNet licenses from more than one vendor. The ANSYS License Manager uses FlexNet 11.11.1.1. If you do have other FlexNetlicensed products running FlexNet 11.11.1.1 or higher, you can run them in conjunction with ANSYS products with no intervention or special configuration requirements. However, we do not combining ANSYS, Inc. license files with other license files using one lmgrd license manager.
Links to FlexNet For more information on using FlexNet, please visit the FlexNet web site at http:// www.flexerasoftware.com/. You can refer to the FLEXNet Licensing End 's Guide for more detailed information on all FlexNet features. You can access this document from the ANSLIC_ Help menu option View the FLEXNet Licensing End 's Guide.
1.1. Explanation of Licensing The main components of our licensing are: • The ANSYS, Inc. license manager, including: – Licensing Interconnect (ansysli_server) -- Also includes ansysli_monitor, which ensures that the license server is functioning correctly and attempts to correct the situation if the license server is not running or is unresponsive. – FlexNet license manager daemon(lmgrd) – Vendor daemon (ansyslmd) • License files
2
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Explanation of Licensing • Application program (e.g., Mechanical APDL (ANSYS) or ANSYS Fluent) • License server machines These components are explained in more detail in the following sections. The ANSYS, Inc. License Manager monitors what products are being run, who is running them, and from what computer system. It grants or denies permission to run products. When an ANSYS product begins, it requests permission to execute from a server. The server checks the pool of available license tasks and grants the request only if the required tasks are available. For each request that is granted, the required license tasks are removed from the pool. As each ANSYS product execution ends, these license tasks are returned to the pool of available tasks.
1.1.1. The FlexNet License Manager Daemon (lmgrd) lmgrd is one of the FlexNet components of the ANSYS, Inc. License Manager. Its primary purpose is to start and maintain the vendor daemon (ansyslmd). It also refers application checkout requests to the vendor daemon (ansyslmd). lmgrd must be running on the license server machine to run ANSYS, Inc. products.
1.1.2. The Vendor Daemon (ansyslmd) Licenses are granted by running processes. Each vendor who has a FlexNet-licensed product on the network has one process, called the vendor daemon. The vendor daemon keeps track of how many licenses are checked out, and who has them. If the vendor daemon terminates for any reason, all s for that product lose their licenses. The ANSYS vendor daemon is ansyslmd. Client programs, including ansysli_server, communicate with ansyslmd, usually through T/IP network communications. The vendor daemon (ansyslmd) is started by lmgrd. The vendor daemon ansyslmd must be running on the license server machine to run ANSYS, Inc. products.
1.1.3. ANSYS Licensing Interconnect (ansysli_server) The ANSYS Licensing Interconnect (ansysli_server) is an intermediary process that communicates with the FlexNet component of the license manager to authenticate and process all license requests. In a typical configuration, the ANSYS Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
3
Introduction Licensing Interconnect starts the FlexNet component lmgrd, which then starts ansyslmd. We do offer advanced licensing configuration options for sites with well-established procedures; please see Advanced Licensing Configuration Options (p. 24) for more details. With the Licensing Interconnect, your license file and license options file are still applicable and in effect. Using an intermediary process allows us to seamlessly integrate our full range of product offerings to continually offer you access to the latest products with minimal disruption to your licensing environment. It also allows us a platform on which to enhance important licensing features. The Licensing Interconnect must be running on the license server machine to run ANSYS, Inc. products.
1.1.4. The License File Licensing data is stored in a text file called the license file. The license file is created by ANSYS, Inc. and is installed by the license . It contains information about the server machines and vendor daemon, and at least one line of data (called INCREMENT lines) for each licensed product. Each INCREMENT line contains a license key based on the data in that line, the hostids specified in the SERVER line(s), and other vendor-specific data. The default and recommended location for the ANSYS license file (license.dat) is in the licensing directory. End s can override this location by setting the environment variable ANSYSLMD_LICENSE_FILE to point elsewhere. License files need to reside only on license server machines.
1.1.4.1. License File Format License files usually begin with a SERVER line (or three SERVER lines for redundant triad servers) followed by a VENDOR line, followed by one or more INCREMENT lines. You can modify only these data items in the license file: • System host names on the SERVER line(s) • Port numbers on the SERVER line(s) • Vendor daemon file paths on the VENDOR line(s) • Options file paths on the VENDOR line(s) 4
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Explanation of Licensing • Optional port numbers on the VENDOR line(s) (for firewall only) Long lines normally use the "\" line-continuation character to break up long lines. A space character must precede the line-continuation character.
Note Everything else is used to compute the license key and should be entered exactly as supplied. All data in the license file is case sensitive, unless otherwise indicated.
1.1.4.1.1. SERVER Lines The SERVER line specifies the hostname and hostid of the license server machine and the lmgrd port number. Normally a license file has one SERVER line. Three SERVER lines mean that you are using redundant servers. License s do not have the option of deleting SERVER lines from a license file because the hostids from all of the SERVER lines are computed into the license keys on every INCREMENT line. The format of the SERVER line is: SERVER host hostid 1055
where: host is the license server machine host name or IP address; a string returned by the UNIX/Linux hostname or uname -n command. On Windows systems, ipconfig /all returns the host name. This can also be an IP address (nnn.nnn.nnn.nnn format). hostid is returned by the Display the License Server Hostid option of the ANSLIC_ utility. 1055 is the FlexNet T port number to use. ANSYS' default FlexNet port number is 1055. This can be changed if port 1055 is already in use on your system. Example:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
5
Introduction SERVER enterprise 0122345 1055
Note If you change the FlexNet port number, then you must also change the FlexNet port number that is specified in the ansyslmd.ini file (see Specify the License Server Machine (p. 50)) or in the ANSYSLMD_LICENSE_FILE environment variable on all client machines to match the port number specified in the SERVER line.
1.1.4.1.2. VENDOR Lines The VENDOR line specifies the vendor daemon's name and path. lmgrd uses this line to start the vendor daemon, and the vendor daemon reads it to find its options file. The format of the VENDOR line is shown below. VENDOR ansyslmd [vendor_daemon_path] [[options=]options_file_path] [[port=]port]
where: ansyslmd is the name of the ANSYS vendor daemon. vendor_daemon_path is the path to the executable for this daemon. This path is optional. ANSYS, Inc. does not supply this field because lmgrd will look for the vendor daemon ansyslmd executable in the directory where lmgrd is located and all ANSYS products install both of these daemons into the same directory.
Note If you do supply this path and the path includes spaces, enclose the entire directory path in double quotes, as in the following example: VENDOR ansyslmd "C:\Program Files\ANSYS Inc\Shared Files\Licensing \win64"
options_file_ path is the full path to the end- options file for this daemon. FlexNet does not require an options file. The options file need not be specified on this line. As long as the options file ansyslmd.opt is located in the same directory as the license file (the licensing directory), the vendor daemon will automatically find and use it. The Edit the FlexNet Options File option of
6
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Explanation of Licensing the ANSLIC_ utility will put the options file in the correct directory location. If the directory path includes spaces, enclose the entire directory path in double quotes, as in the following example: VENDOR ansyslmd options="C:\Program Files\ANSYS Inc\Shared Files\ Licensing\ansyslmd.opt"
port is the vendor daemon port number. Note: This is for firewall only and is otherwise not recommended. In the following example, #### would be replaced with the port number you choose: VENDOR ansyslmd options=/ansys_inc/shared_files/licensing /ansyslmd.opt port=####
1.1.4.1.3. INCREMENT Lines An INCREMENT line describes the license to use a product. The syntax of the INCREMENT line is: INCREMENT feature ansyslmd feat_version exp_date #lic key [VENDOR_STRING="vendor_str"] [ISSUED="..."] [START="..."]
where: feature is the name representing the product/capability being licensed. ansyslmd is the name of the ANSYS vendor daemon; also found in the VENDOR line. The specified daemon serves this feature. feat_version is the latest build date of this feature that is ed by this license. For paid-up customers, this is usually set to the expiration date of the maintenance agreement. The value of 9999.9999 is used when this field is not applicable. exp_date is the expiration date of license, e.g., 7-may-2014. #lic is the number of concurrent licenses for this feature. key is the encryption key for this INCREMENT line. Additional fields may follow. See the FLEXNet Licensing End 's Guide (accessible from the ANSLIC_ utility) for more information. Note that ANSYS, Inc. may not all options described in the FLEXNet Licensing End 's Guide.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
7
Introduction VENDOR_STRING Keywords VENDOR_STRING keyword:
ANSYS, Inc. has created the following
• customer The customer keyword specifies the customer number. The format is customer:<cust_num>, where cust_num is the customer's number. This keyword cannot be modified by the .
1.1.4.1.4. Sample License Files A sample license file is shown here. This file is for 15 ANSYS Mechanical tasks and 12 ANSYS CFD tasks. SERVER gagh 690daec6 1055 VENDOR ansyslmd INCREMENT ansys ansyslmd 9999.9999 30-sep-2013 15 8C59A481BA50 \ VENDOR_STRING=customer:00012345 ISSUED=10-sep-2012 \ START=10-sep-2012 INCREMENT acfd ansyslmd 9999.9999 30-sep-2013 12 47A354CA1291 \ VENDOR_STRING=customer:00012345 ISSUED=10-sep-2012 \ START=10-sep-2012
where: • gagh is the hostname of the license server • 690daec6 is the hostid • 1055 is the FlexNet port number • ansyslmd is the vendor daemon • ansys is the feature representing ANSYS Mechanical and acfd is the feature representing ANSYS CFD. • 9999.9999 indicates that the maintenance agreement is not applicable. Otherwise, this the highest ed build date for the product. For Mechanical APDL (ANSYS) only, you can view the build date by running Mechanical APDL (ANSYS) with the -v command option. • 30-sep-2013 is the expiration date • 15 and 12 are the number of tasks for ANSYS Mechanical and ANSYS CFD, respectively
8
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Explanation of Licensing • 8C59A481BA50 and 47A354CA1291 are encryption keys for ANSYS Mechanical and ANSYS CFD, respectively • customer:00012345 is the customer number • ISSUED=10-sep-2012 is the date the license was created • START=10-sep-2012 is the start date
1.1.4.1.5. Recognizing an ANSYS, Inc. License File If you receive a license file and are not sure if it is an ANSYS, Inc. license file, you can determine if it is by looking at the contents of the license file. If it is an ANSYS, Inc. license file, then: • In the line beginning with the word VENDOR, the next field/item is ansyslmd. • In the line(s) beginning with the word INCREMENT, the third field/item is ansyslmd. ANSYS, Inc. supplies some licenses for other applications that use different license managers. These license files are not compatible with the ANSYS License Manager. The applications and how to recognize their license files are explained below. Look for the words shown in the VENDOR, DAEMON, INCREMENT, and FEATURE lines for each application. For these license files, you must use their respective license manager tools. Table 1.1: Identifying License Files Application
VENDOR
ANSYS CFX
DAEMON
INCREMENT
CFDS
CFDS
FEATURE
ANSYS ICEM CFD
ICEM_CFD
ICEM_CFD
ANSYS Autodyn
AUTODYN
AUTODYN
Fluent,Polyflow, Icepak
FluentLM
FluentLM
ANSOFT
ansoftd
ansoftd
Apache
apacheda
apacheda
Apache
seqld
seqld
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
9
Introduction
1.1.5. The Application Programs Application programs are software programs such as Mechanical APDL (ANSYS), CFX, Fluent, etc. ANSYS application programs need to be able to communicate with the ANSYS License Manager.
1.1.6. The License Server Machines License istration is controlled from specific computers on the network called license server machines. License server machines run the license manager, which controls access to all licenses. The server machine or machines are designated by you--the end . You have the option of designating one server or three servers. In a one-server network, if the server machine goes down, the licenses are no longer available for use until the server machine is back in service. In a three-server (redundant triad) network, as long as two of the three machines are still running, the licenses are still available for use. The master server actually controls the license istration. If a network has only one server machine, then that server machine is automatically the master server. In a three server environment, the order of the SERVER lines in the license file determines which server is the master. The order of the servers must match on all machines in a three server environment. The first is the master, the second is the first backup, etc. If the order of the SERVER lines does not match on the three servers, then the servers will attempt to determine the master server; however, this attempt may not be successful. In a three-server network, if the master server is unavailable, then the first backup acts as the master. You must make sure the order of the SERVER lines is consistent between redundant servers; otherwise, reconnections may fail.
1.1.6.1. Selecting License Server Machines Before running any ANSYS, Inc. software, you must select which machine(s) will be license servers, and provide the hostid and hostname of those machines to ANSYS, Inc. Use the License Server Information option of the ANSLIC_ utility to capture the necessary system information and create the licserver.info file, which then needs to be forwarded to your ANSYS sales representative. If the ANSYS license manager software is not available for installation on a license server machine, you can a utility to capture license
10
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Explanation of Licensing server machine information from http://www.ansys.com//Licensing/ Capture+License+Server+Information. You need to select the computer systems that will act as server machines before we can supply you with the licenses that are required to activate your licensed product(s). Information about the server machines is used to generate the necessary license key(s). Consider the following points when deciding which computer(s) will be used as server(s): • All files used in conjunction with the license manager software must be located on a disk that is physically local to the server computer(s). • Computers must have a high-speed, reliable Ethernet connection. • Computers that experience extremely high levels of network traffic or processing lags due to high U and/or I/O usage are poor candidates for servers. • Do not use computers that are frequently rebooted as servers. • Do not enable “sleep mode” for the computer you are using as a license server. Client computers are not able to connect with a license server that is in sleep mode. • The license server machine must have a static IP address. • We do not allow the use of wide area networks (WANs) for license servers (with the standard ANSYS contract). • You cannot use DH for license server machines. • If using a three-server network, we recommend that you choose three machines that are of the same platform type (that is, three Linux, three Windows machines, etc.). • If using a three-server network, we highly recommend that all three server machines be on the same subnet in the same physical location.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
11
Introduction If these guidelines are not followed, the ability of the ANSYS License Manager to perform consistently will be compromised.
Caution Do not change the date on the license server machine. Doing so will prohibit the ANSYS product from running. Restoring the system to its original state prior to the date change may require significant effort.
1.1.6.2. Redundant Server Options Throughout this document, we use the term “three-server network” when referring to redundant triad servers. Redundant server setup is a network configuration where multiple machines are designated as license servers. Redundancy can be achieved in two ways: • Any number of license server machines can be running independently. The total number of licenses is split between each license server. For example, if you are licensed for 20 tasks of a certain product, and you have two license server machines, each license server machine will serve ten licenses. In this example, if one of these machines fails, only ten licenses will be available. • Three different machines can be selected to work together in tandem, where two of the three must be running at all times. These three license server machines work from a single set of licenses. This option is not recommended. We recommend the first option if your site requires redundancy. Be sure to review Selecting License Server Machines (p. 10) for guidelines and special considerations when choosing license servers. Single license server networks are usually sufficient for most sites.
Note If you are running redundant servers, you should have the license file (as well as the entire licensing directory) installed locally on each license server. If you do not, you lose all the advantages of having redundant servers, since the file server holding these files becomes a single point of failure.
12
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 2: Installing the ANSYS License Manager The ANSYS, Inc. License Manager installation includes both a server and a client component. You must install the license manager software on your server machine(s) at this release in order to be able to run ANSYS, Inc. products. The updates at this release include the new ANSYS Licensing Interconnect, the latest daemons/services, and the latest ANSLIC_ updates. If you do not install the license manager at this release, your ANSYS, Inc. products will not run. You will find detailed instructions for installing the license manager on your server machines later in this chapter. References in this chapter to licensing installation refer to installing all necessary licensing components on a machine designated as a license server machine. Once the updated License Manager is installed on your server machine(s) and you have installed the product(s), the client component will run successfully. The client component is installed automatically during a product installation; s running as a client will not need to perform any additional installation steps to successfully run the product(s). UNIX/Linux Server Installation Notes: If you are installing the License Manager on the same machine where the product will be run, use the same top level directory path for both the product installation and the License Manager installation. We strongly recommend that you install the licensing files relative to the product installation directory to avoid manually editing the product run scripts. A typical product installation on a UNIX/Linux machine allows you to install the product anywhere on the system and then creates a symbolic link from the installation directory to /ansys_inc. If you did not set the symbolic link during the product installation, or if you installed the licensing files somewhere other than relative to the installation directory, replace all references to /ansys_inc in this guide with the name of the installation directory you used. Any reference throughout this manual to the licensing directory on UNIX/Linux platforms means /ansys_inc/shared_files/licensing. Windows License Server Installation Notes: The licensing installation on a Windows machine installs all necessary licensing files into the \Program Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
13
Installing the ANSYS License Manager Files\ANSYS Inc\Shared Files directory by default, located on the same drive as the operating system, regardless of where your product installation resides. You must have istrative privileges on your machine to install the licensing files. The license manager components are shared across all ANSYS, Inc. products and need to reside in the same location for all ANSYS, Inc. products and releases. Any reference throughout this manual to the licensing directory on Windows platforms means \Program Files\ANSYS Inc\Shared Files\Licensing, located on the same drive as the operating system, or the directory where you installed the licensing files. If you choose to install the ANSYS, Inc. License Manager to a different location, you must replace any references to \Program Files\ANSYS Inc\Shared Files\Licensing with the directory where you installed the license manager. Windows/UNIX/Linux License Client Installation Notes: The license client files are automatically installed into the \Shared Files\Licensing (Windows) or the /shared_files/licensing (UNIX/Linux) subdirectory of the product installation at the end of the product installation.
2.1. Communications Requirements 2.1.1. Configuring T/IP T/IP needs to be configured and started for any ANSYS, Inc. product and the license manager to be able to run. You should consult your network for assistance with this configuration. The T/IP protocol must be installed on any machine on which you want to run an ANSYS product. T/IP is supplied as part of the UNIX/Linux operating system. Table 2.1: Configuring T/IP (p. 15) specifies the system utility used to configure T/IP on the
14
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Communications Requirements various hardware platforms. You should consult your network for assistance with this configuration.
Note Linux systems require an Ethernet card. Table 2.1: Configuring T/IP Hardware Platform
T/IP Configuration Utility
Sun
System Management Console (/usr/s/bin/smc )
Linux (Red Hat Enterprise) (64-bit)
system-config-network
Linux (SuSE Enterprise) (64-bit)
yast
For Windows systems, the T/IP protocol is included as part of the operating system and is typically installed by default. If you do need to install T/IP, that it must be bound to a network adapter. On machines that are connected to an internal network, T/IP must be bound to a network card such as an Ethernet adapter. The vast majority of systems using T/IP will fall into this category. On machines that connect to the Internet or corporate intranet through a modem, T/IP can be bound to a dial-up connection.
2.1.1.1. Determining Whether T/IP Is Installed on a Microsoft Windows System To determine if T/IP is installed on your system, open the Control . Continue as follows based upon the machine's operating system: • Windows XP -- Open Network Connections, highlight Local Area Connection and right-mouse click. Select Properties. Internet Protocol (T/IP) should be listed. • Windows 7 and 8 -- Select Control > Network and Internet> Network and Sharing Center. Click Local Area Connection and click Properties. Internet Protocol (T/IP) should be listed.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
15
Installing the ANSYS License Manager If T/IP is installed, you must determine whether it is bound to a network adapter card or a dial-up connection. A network card or a Dial-Up Adapter will be shown under Connect Using:.
Caution If your computer is connected to a network, it is highly recommended that you your Information Technology Department before installing or modifying T/IP on your machine.
2.1.2. Changing the Default ANSYS Licensing Interconnect and FlexNet Port Numbers A port number specifies the communications channel by which two or more processes can communicate. ANSYS uses 2325 as the default port number for the ANSYS Licensing Interconnect and 1055 as the default port number for the FlexNet component of the license manager. ansyslmd also uses a port designated by the operating system, unless one is manually specified in the license file on the VENDOR line. If you encounter a conflict in port numbers, you can change the default by modifying all of the following files: ANSYS Licensing Interconnect Port Number The ANSYS Licensing Interconnect port number is defined in the ansyslmd.ini file. You can change this file by selecting Specify the License Server Machine on the ANSLIC_ utility. Enter the new port number in the ANSYS Licensing Interconnect Port Number field. The Licensing Interconnect port number may also be specified via theANSYSLI_SERVERS environment variable, if set. FlexNet Port Number To change the default FlexNet port number, you need to change the following files: • On the license server machine(s): the port number listed on the SERVER line in the license file (license.dat). • On the client machine(s): the port number listed in the ansyslmd.ini file. Use the Specify the License Server Machine option of the ANSLIC_ utility to change the ansyslmd.ini file. The FlexNet port number may also be specified via the ANSYSLMD_LICENSE_FILE environment variable, if set. ansyslmd Port Number The ansyslmd daemon uses a port designated by the operating system, unless one is manually specified in the license file on the
16
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager VENDOR line. See VENDOR Lines (p. 6) for information on specifying this port number on the VENDOR line. You should need to specify this port number manually only if using a firewall. For information on firewall settings, see Specifying Firewall Settings (p. 36).
2.2. Installing the License Manager You must have privileges to install the ANSYS, Inc. License Manager on Windows systems. On UNIX/Linux systems, you can install without istrative privileges but you may encounter permission problems during the installation. To proceed with the installation, the current license manager must be shut down if it's running. The installation process will shut down the license manager; however, you should that no s will be affected while you run the installation. The licensing installation process will install all necessary files, including the newest ANSLIC_ files, as well as set the ANSYSLIC_DIR environment variable in the product run scripts. You cannot perform a platform license server installation (i.e., installing files for a different machine type than you're running on) on Windows systems. New licenses for existing customers may not be supplied with the ANSYS Release 15.0 package. They will be supplied when the current licenses expire or when TECS expires. Run the license manager installation on all machines that will act as license servers.
2.2.1. License Manager Installation Instructions - Windows Follow the instructions below to install the ANSYS License Manager on Windows systems that will act as license servers. Client licensing is installed automatically when the product is installed; you do not have to take any further steps to run as a client if you have installed a product. 1.
Right—click the setup.exe file and select Run as . If you ed only the license manager installation, run setupLM.exe.
2.
The installation launcher appears. Choose a language from the dropdown.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
17
Installing the ANSYS License Manager 3.
Select Install ANSYS License Manager.
4.
You will be notified that the license manager, if running, will be shut down. Click OK.
5.
The License Agreement screen appears. Read the license agreement, and if you agree, click I Agree to accept the and click Next. You must select I Agree to continue with the installation.
6.
Specify the installation directory. You can accept the default or specify an alternate path and the directory name where the license manager is to be installed. The installation directory is set to
\Program Files\ANSYS Inc by default. You must have istrative privileges for the directory you specify. In addition, the directory: • Must be a local directory • Must be a local, fixed-media drive • Cannot be a UNC or relative path • Cannot be a short (8.3) file name format path • Cannot be a symbolic link or junction • Cannot use wide character names/paths
Note You are not permitted to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager. To change the installation directory location, you must first uninstall any previous versions of the product.
7.
18
The ANSYS, Inc. License Manager is the only component available and is selected to be installed. 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. However, 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. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager Click Next to continue. 8.
A licensing file date verification summary appears. If no conflicts are found between the installation files and the files already on your machine from a previous installation, the message Date verification complete appears. If the date verification finds a conflict, details of the conflict appear. If no conflicts are found, click Next.
9.
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.
10. The Licensing Server Installation Configuration box appears. As the license manager is configured, progress messages appear in the box. Click Continue. You will then be asked to confirm that the installation should proceed. Click Yes. 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 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 s currently running using the license manager. Click Continue on the License Wizard to begin, and follow the instructions on the screen. If you are not using the default License Configuration option or require more information on types of license servers, please refer to Advanced Licensing Configuration Options (p. 24). 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 Exit. A new Start Menu item named ANSYS, Inc. License Manager will be created automatically. It will
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
19
Installing the ANSYS License Manager include selections for the server ANSLIC_ utility, the ANSYS, Inc. Licensing Guide, and the FLEXNet Licensing End 's Guide.
Note Client machines will also include a Client ANSLIC_ option under the ANSYS 15.0 Start Menu folder. The client-only version of ANSLIC_ offers access to a limited number of ANSLIC_ features, such as configuration and status/reporting options.
On Windows, if you encounter a problem during the licensing installation process that results in a failure or abort, or if you are concerned that the licensing installation did not complete correctly, we recommend that you re-run the License Manager installation.
2.2.2. License Manager Installation Instructions - UNIX/Linux Follow the instructions below to install the ANSYS License Manager on UNIX/Linux systems that will act as license servers. Client licensing is installed automatically when the product is installed; you do not have to take any further steps to run as a client if you have installed a product. 1.
Run INSTALL.LM to launch the license manager installation. If you ed the license manager installation package, this file will reside in the directory where you untarred the files. If you are running from media, this file will reside in the top level of the media.
2.
Select a language.
3.
You will be notified that the license manager, if running, will be shut down. Click OK.
4.
The License Agreement screen appears. Read the license agreement, and if you agree, click I Agree to accept the and click Next. You must select I Agree to continue with the installation.
5.
If you are installing more than one platform or if you are installing a platform other than your current machine type, you will need to select the platform(s) on which you want to install the ANSYS, Inc. License Manager. The platform on
20
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager which you launched the installation will be selected by default and is shown at the bottom of the window. Click Next to continue. 6.
The mount directory (location where the installation is located) is specified. You should accept the default. You can also accept the default installation directory or specify an alternate path and directory name where the license manager is to be installed. You cannot use wide character names/paths in the installation directory.
Note You are not permitted to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager. To change the installation directory location, you must first uninstall any previous versions. We 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. The symbolic link option is available only if you are installing as root. If you chose to set the symbolic link during the product installation, you should set it here as well. 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. However, 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 no conflicts are found between the installation files and the files already on your machine from a previous installation, the message No conflicts found 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.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
21
Installing the ANSYS License Manager 9.
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 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 s currently running using the license manager. Click Continue on the License Wizard to begin, and follow the instructions on the screen. If you are not performing a default License Server installation or require more information on Types of License Servers, please refer to Advanced Licensing Configuration Options (p. 24). 12. When the License Wizard is complete, click Finish 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. On Linux, if you encounter a problem during the licensing installation process that results in a failure or abort, or if you are concerned that the licensing installation did not complete correctly, try running the Complete Unfinished Licensing Installation Configuration option from the ANSLIC_ utility's Tools menu.
2.2.3. Silent License Manager Installation Instructions You can deploy an ANSYS, Inc. License Manager installation in silent mode on both Windows and UNIX/Linux systems. Client licensing is installed automatically when the product is installed; you do not have to take any further steps to run as a client if you have installed a product. To run a silent product installation, 22
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager including the client licensing, please see Silent Product and License Manager Installation in the ANSYS, Inc. Installation Guide for your platform. To silently install the ANSYS License Manager on Windows systems that will act as license servers, you must run the setupLM.exe with the -silent option: setupLM.exe -silent
To install the ANSYS License Manager on UNIX/Linux systems that will act as license servers, you must run the INSTALL.LM with the -silent option: INSTALL.LM -silent -install_dir path
The silent license manager installation is valid only for the default Licensing Configuration option Run the ANSYS Licensing Interconnect with FlexNet. If you are installing the license manager to a non-default installation directory, you can use the silent installation method, but only for the initial installation. To change the license manager installation directory for future installations, you will need to either use the GUI installation or uninstall the license manager before reinstalling to a different directory.
Note You are unable to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager. To change the installation directory location, you must first uninstall any previous versions of both products. You can use the following arguments when running a silent license manager installation: -silent
Initiates a silent installation.
-install_dir path
Specifies the directory to which the 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 on UNIX/Linux is /ansys_inc if the symbolic link is set; otherwise, it will default to /usr/ansys_inc.
-licfilepath path
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. For the license file path
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
23
Installing the ANSYS License Manager on Windows, you must enclose the path in quotes if you have spaces in the pathname. -setliclang language
Specifies a language to use for the server ANSLIC_ 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.
During a silent installation, any messages will be written to the licensing installation log file, install_licconfig.log, located in the installation directory. 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_<>_
.log file, located in %TEMP% on Windows or in /var/tmp on UNIX/Linux.
Caution A silent license manager installation could shut down the ANSYS, Inc. License Manager, affecting other s who are using that license server machine. If you are running a silent client installation, you can specify license server information as well. -licserver- Specifies information to be used by the client for the license server. Valid only in conjunction with a silent product installinfo ation (setup.exe or INSTALL). Please see the ANSYS, Inc. Installation Guide for your platform for details on running a silent product installation, including client licensing.
2.2.4. Advanced Licensing Configuration Options In addition to the default configuration, ANSYS, Inc. offers two advanced licensing configuration options when you run the License Wizard: • Run the ANSYS Licensing Interconnect without FlexNet -- Use this option if you want to run a local copy of the ANSYS Licensing Interconnect for better performance, such as if your server machine is in a remote location, or to manage the server load better if your license server machine serves many
24
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager s. With this option, FlexNet licenses will be taken from another server machine. Use this option to run the Licensing Interconnect on additional systems other than your license server; your site must still have the Licensing Interconnect running on the license server machine. • Run the ANSYS Licensing Interconnect and FlexNet independently -- Use this option if you want to manage your FlexNet licenses independently of the ANSYS, Inc. tools (for example, using Flexera Software's FLEXnet Manager to manage multiple companies' product licenses). This option should be used only by experienced s with well-established licensing procedures. Use this option to run the Licensing Interconnect on additional systems other than your license server; your site must still have the Licensing Interconnect running on the license server machine. These options are available only for license server machines and are available only with a license manager installation or via the server ANSLIC_ option Run the License Wizard after a license manager installation has been run on this machine. You can select either of these options by clicking the appropriate button in the Type of License Server field in the License Wizard. You can also set up these types of license servers manually. Instructions for both using the wizard and configuring manually are provided in the following sections. If you have already configured your licensing and are changing to a different configuration option, you must stop and restart the ANSYS, Inc. License Manager for these changes to take effect. Rereading the license manager settings will not be sufficient.
Run the ANSYS Licensing Interconnect without FlexNet To use the License Wizard to set up a license server that will run the Licensing Interconnect without FlexNet, follow the steps below.
Important When using this advanced option, the license server holding the FlexNet licenses must also have the Licensing Interconnect installed and running. 1.
Select Run the License Wizard from the ANSLIC_ utility.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
25
Installing the ANSYS License Manager 2.
In the Type of License Server field, select Run the ANSYS Licensing Interconnect without FlexNet. Click Continue on the message box.
3.
Click Continue to begin the configuration process.
4.
Click Continue to specify the local machine as the primary Licensing Interconnect.
5.
If you have not yet specified license server machines, you will need to specify the server from which you will check out ANSYS, Inc. FlexNet licenses. If you have already specified license server machines, that specification will be used. If you need to change the server specification, use the Specify the License Server Machine option of ANSLIC_ after you have completed the wizard. Click Continue.
6.
You will now be asked to start or restart the license manager. Click Continue.
7.
Click Exit.
You can also configure a machine manually to run the Licensing Interconnect without FlexNet: 1.
Choose Modify Startup Options from the ANSLIC_ utility.
2.
Under FlexNet Options, select Start ANSYS Licensing Interconnect without FlexNet and click OK.
3.
Choose Specify the License Server Machine from the ANSLIC_ utility. If you see a message, click OK on the message box.
4.
In the Specify the License Server Machine dialog box, add this machine to be the primary Licensing Interconnect and specify the Licensing Interconnect port number but not the FlexNet port number. If necessary, use the Move up button to move this machine to the beginning of the list of servers.
5.
that you also have a machine specified from which you will use FlexNet licenses. This machine must appear below the primary Licensing Interconnect in the list of servers. If you do not have a machine specified, add it.
Note For the machine holding the FlexNet licenses, you must specify both the FlexNet and the Licensing Interconnect port numbers,
26
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing the License Manager even though the Licensing Interconnect running on that machine will only be used as a backup.
6.
Start or restart the license manager using the Start the ANSYS, Inc. License Manager option of the ANSLIC_ utility.
The above procedures configure your local machine to be the primary Licensing Interconnect. If you do not want your machine to be the primary Licensing Interconnect (i.e., your machine is a client machine), but you do want to connect to another machine that is a Licensing Interconnect machine not running FlexNet, follow the steps below: 1.
Choose Specify the License Server Machine from the ANSLIC_ utility. Click OK on the message box.
2.
Add or select the machine that is to be the primary Licensing Interconnect, and use the Move up button to move that machine to the beginning of the list of servers. If you are adding the machine, specify only the Licensing Interconnect port number. If the machine is already listed and includes a FlexNet port number, you will need to select Edit Selected Server Machine to remove the FlexNet port number.
3.
Add or the machine from which you will use FlexNet licenses. This machine must appear below the primary Licensing Interconnect in the list of servers.
Note For the machine holding the FlexNet licenses, you must specify both the FlexNet and the Licensing Interconnect port numbers, even though the Licensing Interconnect running on that machine will only be used as a backup.
Run the ANSYS Licensing Interconnect and FlexNet independently Use this option if you want to manage your FlexNet licenses on a server machine independently of the ANSYS, Inc. tools (for example, using Flexera Software's FLEXnet Manager to manage multiple companies' product licenses). This option should be used only by experienced s with well-established licensing procedures. To use the License Wizard to set up a license server that will run the LicensRelease 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
27
Installing the ANSYS License Manager ing Interconnect independently of FlexNet, follow the steps below. Running these processes separately requires caching the license file, meaning that you specify the location of an existing license file that contains FlexNet licenses for ANSYS, Inc. products. Because the ANSLIC_ will no longer be managing FlexNet, you will need to use your license management tools (such as FLEXNet Manager) to start/restart FlexNet or to reread the license file if you make changes to the license file.
Important If you make changes to the license file, in addition to rereading the license file in FlexNet (using your license management tools), you must also recache the license file in the Licensing Interconnect by restarting the Licensing Interconnect or by using the Reread the License Manager Settings option of ANSLIC_. To use the License Wizard to set up a license server that will run the Licensing Interconnect and FlexNet independently, follow the steps below: 1.
Select Run the License Wizard from the ANSLIC_ utility.
2.
In the Type of License Server field, select Run the ANSYS Licensing Interconnect and FlexNet independently. Click Continue on the message box.
3.
Click Continue to begin the configuration process.
4.
Specify the location of an existing license file that contains FlexNet licenses for ANSYS, Inc. products. Note that the license file will not be installed, (i.e., moved into the default ANSYS license file location). Click Continue.
5.
Specify your local machine as the license server machine. Click Continue.
6.
You will now be asked to start or restart the license manager. Click Continue.
7.
Click Exit.
Note Starting or restarting the license manager using this procedure will start ONLY the Licensing Interconnect. You must start or restart FlexNet
28
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Instructions using whatever license management tool(s) you will be using to manage FlexNet (such as FLEXNet Manager or LMTOOLS). You can also configure your licensing manually to run the Licensing Interconnect independently of FlexNet: 1.
Choose Modify Startup Options from the ANSLIC_ utility.
2.
Under FlexNet Options, select Start ANSYS Licensing Interconnect without FlexNet.
3.
Select Cache FlexNet Licenses.
4.
the license path shown in the License File Path field and correct it if necessary. Click OK.
5.
If you wish to use ANSYS licenses from this machine when running ANSYS products on it, choose Specify the License Server Machine from the ANSLIC_ utility. If this machine is not in the list of servers, add it. Specify both the Licensing Interconnect and FlexNet port numbers.
6.
Start or restart the license manager using the Start the ANSYS, Inc. License Manager option of the ANSLIC_ utility. This step will start (or restart) only the Licensing Interconnect component of the license manager.
7.
Use your license management tools (such as FLEXNet Manager) to start FlexNet if it is not already started.
2.3. Post-Installation Instructions After you have installed the ANSYS, Inc. License Manager, you may want to complete some post-installation steps in order to optimize the performance of the ANSYS, Inc. License Manager at your site. We recommend that you set your license manager to boot at system startup. Other optional post-installation tasks are included here. You will only need to configure your license server machine and configure your client machines if those steps were not completed during the product or license server installation processes.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
29
Installing the ANSYS License Manager
2.3.1. Start the ANSYS License Manager at System Boot Time You can set the license manager to start automatically at system boot time on Linux machines. This task is optional but is recommended and should be done regardless of which type of license server configuration you use. Table 2.2: License Manager Automatic Startup Instructions (p. 30) details the steps for each UNIX/Linux hardware platform that must be performed on each license server to start the license manager automatically when the system is rebooted. You should substitute your platform name (see ed Hardware Platforms (p. vii)) wherever you see
. The instructions below include steps to remove any existing boot_ansflex; if you have already removed the boot_ansflex, you can safely skip that step. On Windows systems, the license manager is set to start up automatically at system reboot.
Note The procedure described in this section starts the license manager at boot time as root. It is not essential that the license manager be started by the root ; it may be run by a non-privileged , depending on your preference. If you do not want the license manager to be started by root, see the FLEXNet Licensing End 's Guide for an example of starting the license manager as a non-root at boot time. Table 2.2: License Manager Automatic Startup Instructions Platform Sun
Instructions Remove existing license manager startup information: 1. Locate all instances of the boot_ansflex script: find /etc -name "*ansflex" -print
2. Remove each file, one at a time using rm. Issue the new license manager startup instructions: /ansys_inc/shared_files/licensing/init_ansysli /etc/init.d chmod 555 /etc/init.d/init_ansysli ln -s /etc/init.d/init_ansysli /etc/rc0.d/K03init_ansysli ln -s /etc/init.d/init_ansysli /etc/rc2.d/S97init_ansysli
30
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Instructions Platform Linux: Red Hat
Instructions Remove existing license manager startup information. Edit the file /etc/rc.d/rc.local and delete the ANSYS boot_ansflex lines. Issue the new license manager startup instructions: /ansys_inc/shared_files/licensing/init_ansysli /etc/init.d chmod 555 /etc/init.d/init_ansysli chkconfig --add init_ansysli chkconfig init_ansysli on
Linux: SuSE
Remove existing license manager startup information. Edit the file /etc/rc.d/boot.local and delete the ANSYS boot_ansflex lines. Issue the new license manager startup instructions: /ansys_inc/shared_files/licensing/init_ansysli /etc/init.d chmod 555 /etc/init.d/init_ansysli chkconfig --add init_ansysli chkconfig init_ansysli on
Once the procedure is in place for starting the license manager automatically at boot time, reboot the system to that the automatic boot procedure is working correctly. When the system comes back up, check to see that the license manager is running by typing the appropriate ps command and looking for ansyslmd and ansysli_server in the resulting display under the column labeled COMMAND. For example: ps -ef|grep ansysli; ps -ef|grep ansyslmd
Next, check the license.log and the ansysli_server.log files in the licensing directory for error messages. This file contains a history of ANSYS product activity across the network when this computer is chosen as the master license server by the licensing software. It will also contain start-up messages and possibly error messages.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
31
Installing the ANSYS License Manager
Removing the Automatic Startup Information If you remove the license manager server installation from a machine and need to remove this capability, follow the instructions below. Table 2.3: Removing License Manager Automatic Startup Instructions Platform Sun
Instructions Issue the following commands: /etc/init.d/init_ansysli stop rm /etc/init.d/init_ansysli rm /etc/rc0.d/K03init_ansysli rm /etc/rc2.d/S97init_ansysli
Linux
Issue the following commands: /etc/init.d/init_ansysli stop chkconfig --del init_ansysli rm /etc/init.d/init_ansysli
2.3.2. Configuring the License Server Machine(s) If you did not complete the configuration tasks when you installed the license manager on your license server machines, you should complete the steps below to your license server information and then run the license wizard to complete the configuration. 1.
your license server information. Run the License Server Information option of the ANSLIC_ utility if you do not have a license file. This option creates a file named licserver.info in the home and licensing directory. The content of this file is generated by prompting you for information about your company and you (the person running the utility). This is important so that we know to which of our customers this information belongs and to whom we may speak if we have questions about the data. The option also pulls necessary information from your license server (such as computer type, operating system level, and hostid) and places it in the file. Create this file on each system that will be a license server. Return the licserver.info file(s) to your ANSYS sales representative so that licenses can be supplied to you.
2.
32
Run the license wizard.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Instructions 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 or rereading the license file. The wizard will prompt you for the necessary information at each step. The license file will be named license.dat and will be created in the licensing directory. You should use this option when you receive a new license file as it will walk you through the necessary steps to activate the new license. If you are running in a three-server environment, the license file must reside on all three servers and must match on all three servers. Therefore, run the license wizard on all three servers, installing the same license file on each machine.
2.3.3. Modify License Manager Startup Options This ANSLIC_ utility option writes an ansyslmd.ini file in the licensing directory. This file contains any changes to the default values as well as your license server specifications and other settings (such as log file locations). Use this ANSLIC_ utility option to change the default values. For a detailed description of the settings that you can change with this option, see Modify Startup Options (p. 65).
2.3.4. Create a Group You may want to create a group of s with specific usage capabilities, such as s with licensing istrative privileges, or s who are authorized to shut down the license manager. An lm group is the most common type of group. To specify a list of s with access to licensing istrative options, you need to create an lm group on computers from which license istration will be performed. If you create an lm group, you must include root in order for root to continue to have access to these functions. For more details on using an lm group, see the FLEXNet Licensing End 's Guide (accessible from the ANSLIC_ utility). This option is available for UNIX/Linux platforms only. Follow the instructions below for your hardware platform to create an lm group. Sun, Linux
Add a line to the file /etc/group as follows:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
33
Installing the ANSYS License Manager lm:*:nn:root,1,2,3...n
where nn represents any unique group number and 1, 2, 3, ..., n represent a list of n s in the group.
2.3.4.1. Defining Group Restrictions for the Licensing Interconnect On UNIX/Linux machines only, you can also specify who can shut down the ANSYS, Inc. License Manager by using the ANSLIC_ utility's Modify Startup Options. By default, anyone can stop the license manager. You can restrict shutdown capabilities to only the who started it, or to a group, such as lm. If you choose group, you will need to specify the name of the group. Note that the who started the license manager will still be able to shut it down, even if he is not part of a group with shutdown capabilities. If you specify a group restriction, any s in that group who wish to perform that operation must have the specified group as their primary group. For example, adding the following restriction: RESTRICT_SHUTDOWN=GROUP:lm restricts the ability to shut down the license manager to only of the lm group. Any who is a member of the lm group and wants to shut down the license manager must have lm as his primary group: machineabc{1}: groups other testing dev1 lm In the above example, 1 is a member of the groups other, testing, dev1, and lm, where other is the primary group and testing, dev1, and lm are secondary groups. To change a group from a secondary to a primary group, issue the newgrp (or equivalent) command: machineabc{1}: newgrp lm
In this example, 1 now has lm as his primary group and will be able to shut down the license manager: machineabc{1}: groups lm other testing dev1
34
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Instructions
2.3.5. Specify Privileges Establish privileges by editing the FlexNet Options file. The options file allows you, the license , to control various operating parameters of FlexNet: • Allow or deny the use of features based on , hostname, display name, group, etc. • Reserve licenses based on , hostname, display name, group, etc. • Control the amount of information logged about license usage. By using the options file, you can be as secure or as open with licenses as you like. The default location of the options file, ansyslmd.opt, is in the licensing directory. If you have a three-server system, the options file must match exactly on all three servers. If you are using an options file, you must specify the pathname to the file on the VENDOR line in the license file, unless it uses the default name, ansyslmd.opt, and resides in the same directory as the license file, which is the default when using the ANSLIC_ utility. On UNIX/Linux systems, the VENDOR line would look like this for an options file named my.opt: VENDOR ansyslmd options=/ansys_inc/shared_files/licensing/my.opt
On Windows systems, if the path has spaces in it, you must enclose it in quotes: VENDOR ansyslmd options="c:\Program Files\ANSYS INC\Shared Files\Licensing\my.opt"
Use the Edit the FlexNet Options File option of the ANSLIC_ utility to edit the license options file. The license options files must match on all three systems if you are using redundant systems. See Edit the FlexNet Options File (p. 59) for details on editing the FlexNet Options file.
2.3.6. Specifying the License Server and License Files ANSYS products need to be able to locate and communicate with the license server for your ANSYS, Inc. products to run correctly. The license server and license files should be specified correctly during the product and license manager installations. Use the Specify the License Server Machine option of the ANSLIC_ utility only if you need to change the settings already specified.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
35
Installing the ANSYS License Manager The Specify the License Server Machine option of the ANSLIC_ utility creates a file named ansyslmd.ini in the licensing directory. The ansyslmd.ini file contains your license server specification. For more information on specifying the license server, see Specify the License Server Machine (p. 50) in License istration Using ANSLIC_ (p. 39). On Windows server machines, use the Server ANSLIC_ utility (accessed via Start> All Programs> ANSYS, Inc. License Manager> Server ANSLIC_ Utility) to modify the ansyslmd.ini file. On client machines, use the Client ANSLIC_ utility (accessed via Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0). If you have both the server and the client ANSLIC_ utilities on the same system, use the Client ANSLIC_ to specify machine-specific (local) settings. If you want to set your license paths to have a particular license server machine for your use only (not used by others who are running ANSYS products on this machine), you can do so by setting the ANSYSLI_SERVERS and/or ANSYSLMD_LICENSE_FILE environment variables. Use the ANSYSLI_SERVERS environment variable to specify the Licensing Interconnect port number. Use the ANSYSLMD_LICENSE_FILE to specify the FlexNet port number. If the ANSYSLMD_LICENSE_FILE environment variable is set but the ANSYSLI_SERVERS environment variable is not set, the same server machines will be used to specify the Licensing Interconnect but the port number will be replaced by the Licensing Interconnect default port of 2325. When both variables are set, ANSYSLMD_LICENSE_FILE explicitly defines the FlexNet servers while ANSYSLI_SERVERS explicitly defines the Licensing Interconnect servers.
2.3.7. Specifying Firewall Settings If you use a firewall at your site and if you run ANSYS products outside the firewall but access the license server within the firewall, you will need to add the Licensing Interconnect and FlexNet port numbers to the exceptions list, as well as the PORT designated on the VENDOR line of the license file. By default, these port numbers are: Licensing Interconnect: 2325 FlexNet: 1055 PORT designated by PORT=#### on the VENDOR LINE in the license.dat file (see VENDOR Lines (p. 6) for information on this PORT number)
36
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Instructions
2.3.8. Setting Up Redundant (Triad) Servers Redundant server setup is a network configuration where multiple machines are designated as license servers. Redundancy can be achieved by running any number of license server machines independently, or by running three different machines to work in tandem. We recommend using multiple independent license server machines to achieve redundancy; however, if your site requires the use of three license server machines working in tandem, follow the guidelines in this section to configure the servers. 1.
Install the License Manager on each of the three servers as described in Installing the License Manager (p. 17). Be sure that each machine meets all of the prerequisites.
2.
Start each of the license servers using the same license file on each machine. The license file for the three-server setup will begin with three SERVER lines: SERVER myserver1 00e2463 1055 SERVER myserver2 00132460b724 1055 SERVER myserver3 001a246d4e64 1055 The first SERVER line is the license server you have designated as the primary server followed by the second and third servers, which act as the backup servers.
3.
Always start the primary server first. If not, the second or third server will take over as the master server. When you start each license server, you will see a message indicating that the server is starting . The primary server will not be fully started until you start the second or third server, creating a quorum. Until you have a quorum of servers started, the Status window on the ANSLIC_ utility will show the Licensing Interconnect and monitor running while FlexNet will show as not running. You could see a delay of up to five minutes in the startup of a server's FlexNet component while the communication between all three servers is being established. If a connection cannot be established within the five minutes, the Licensing Interconnect and Licensing Interconnect Monitor will stop. Check the status box in ANSLIC_ to that all components have stopped before you attempt to restart the ANSYS, Inc. License Manager on any server.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
37
Installing the ANSYS License Manager To stop redundant servers, use the Stop the ANSYS, Inc. License Manager option of the Server ANSLIC_ utility. In a redundant server configuration, the Licensing Interconnect will stop all three servers when you choose to stop any one of the three servers. As with starting the license servers, if one person is stopping each of the three servers, you could see a similar delay of five or more minutes before all three are fully shut down.
38
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 3: License istration Using ANSLIC_ This chapter explains how to use the ANSLIC_ utility to perform many of the procedures necessary to ister licenses. You can use the ANSLIC_ utility to perform most licensing procedures. On Windows license server machines, you will have access to a server (full) version of the ANSLIC_ utility and a client version. The option descriptions below note which options are available on the Client ANSLIC_ utility as well as the Server ANSLIC_ utility. The Server ANSLIC_ utility is accessed via Start> All Programs> ANSYS, Inc. License Manager> Server ANSLIC_ Utility and updates the ansyslmd.ini file in the global license directory that resides at
\Program Files\Ansys Inc\Shared Files\Licensing by default. The Server ANSLIC_ offers access to all options and should be used to ister all licenses across a site that use that machine as a license server machine. Changes made using the Server ANSLIC_ utility will affect all s who use that machine as a license server machine, where appropriate. Note that settings such as Specifying the License Server are always local settings and do not affect other machines, even on a license server. From a client machine, you will have access to a limited client version of the ANSLIC_ utility. The Client ANSLIC_ utility is accessed via Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0 and updates the ansyslmd.ini file in the licensing directory that resides with the product installation. The Client ANSLIC_ utility should be used only to make changes to that local machine's configuration. Changes made using the Client ANSLIC_ utility will affect only this machine and will not affect other s. On UNIX/Linux machines, you can access only the full version of ANSLIC_; no client version is available.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
39
License istration Using ANSLIC_ Some options may apply to UNIX/Linux or Windows systems only and are so noted. See Advanced Licensing Configuration Options (p. 24) for details on configuring your license server to use LMTOOLS or FLEXNet Manager to manage FlexNet. For more information on advanced FlexNet operations, select Help > View FLEXNet Licensing End 's Guide.
3.1. Using the ANSLIC_ Utility To run ANSLIC_ on Windows, choose Start> All Programs> ANSYS, Inc. License Manager> Server ANSLIC_ Utility (for the server version) or Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0 (for the client version). To run the utility on UNIX/Linux, type the following: /ansys_inc/shared_files/licensing/lic_/anslic_
To change the language to a localized version of the utility, first issue the following command with the -setliclang option. On Windows, run: "
\Program Files\ANSYS Inc\Shared Files\Licensing\lic\anslic_.bat" -setliclang language
On UNIX/Linux, run: /ansys_inc/shared_files/licensing/lic_/anslic_ -setliclang language
This command changes the language used for both the server ANSLIC_ 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 option is valid only with the server ANSLIC_. Then launch the ANSLIC_ utility using the above methods.
Important Changing the language will affect all s of the server ANSLIC_ utility and the ANSYS, Inc. Licensing Interconnect. Please with your licensing system before making this change. To change the language setting locally for only the current session of the server or client ANSLIC_ utility, you can launch the utility using the -lang option:
40
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility
:\Program Files\ANSYS Inc\Shared Files\Licensing\lic\anslic_ -lang language
or /ansys_inc/shared_files/licensing/lic_/anslic_ -lang language
You do not need system privileges to run the ANSLIC_ utility; however, you must have system privileges or be a member of an lm group to run the Uninstall the License Manager option. Additionally, you need to have system privileges on Windows machines to use the Start the ANSYS, Inc. License Manager and Stop the ANSYS, Inc. License Manager options. Windows 7 Privileges On Windows 7 machines, you need to always run these ANSLIC_ options as an , preferably with UAC turned off. If UAC is on, even as , you must right-mouse click on the ANSLIC_ selection from the Start menu and choose Run as . Windows 8 Privileges On Windows 8 machines, you need to always run these ANSLIC_ options as an . Additionally, you should right-mouse click on the ANSLIC_ selection from the Start menu and choose Run as . See the Control (UAC) section of the ANSYS, Inc. Windows Installation Guide for more details on working with Windows and UAC. We do not recommend running the ANSLIC_ on Windows machines by double-clicking the executable directly, especially on Windows 7 or 8 systems. Doing so could launch the utility with unexpected permission levels. For server machines, status of your machine appears on the bottom left-hand side of the screen, in the Machine Name status area. Status of the Licensing Interconnect, the ansysli monitor, and FlexNet are all displayed. The status will update automatically when the machine's status changes. The right side of the utility usually displays a log of your session activities (the session log). The reporting options will also display information in this area. Use the buttons at the bottom to clear the session log or to write the log out to a file. If you customer , you will need to send them this log file. For some items, such as Display the License Status, the right-hand window converts to a status window showing the requested information. Use the buttons Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
41
License istration Using ANSLIC_ underneath this status area to return to the session log, to write the status information to the session log, or to write the status information directly to a file. To use the utility, select an action from the list of buttons on the left. The ANSLIC_ utility consists of the following options: • License Server Machine Information (p. 44) • Display the License Server Machine Hostid (p. 44) • Run the License Wizard (p. 45) • Install the License File (p. 46) • Start the ANSYS, Inc. License Manager (p. 47) • Stop the ANSYS, Inc. License Manager (p. 48) • Reread the License Manager Settings (p. 50) • Specify the License Server Machine (p. 50) • Set License Preferences for (p. 54) • Run the ANSYS Borrow Utility (p. 55) (Windows only) • Set Site Preferences (p. 59) -- includes the following options: – Edit the FlexNet Options File (p. 59) – Specify Product Order (p. 64) – Modify Startup Options (p. 65) – Specify License Servers to Cache (p. 67) • View Status/Diagnostic Options (p. 68) -- includes the following options: – Display the License Status (p. 69) – Display Queued Licenses (p. 69) – Display the Customer Number (p. 70)
42
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility – View the ANSYS Licensing Interconnect Debug Log File (p. 70) – View the ANSYS FlexNet License File (p. 71) – View the ANSYS FlexNet Debug Log File (p. 71) – Gather Diagnostic Information (p. 71) From the Tools> Uninstall menu (UNIX/Linux only), you can select Uninstall the License Manager. See Uninstall the License Manager (p. 72) for more information on uninstalling the License Manager. From the Tools menu, you can select Complete Unfinished Licensing Installation Configuration (not available on Windows server ANSLIC_). This option will re-run the licensing installation configuration process, allowing you to complete any unfinished configuration steps. Note that the license manager will need to be shut down to proceed with this option on a UNIX/Linux server. Use this option if your licensing installation configuration process was unable to complete (for example, the license manager was not able to be shut down on a UNIX/Linux server). Also from the Tools menu, you can select Set Language Options and then choose a different language in which to view the server ANSLIC_ utility and the ANSYS, Inc. Licensing Interconnect log file. You must close and reopen the ANSLIC_ utility for this setting to take effect. This option is valid only with the server ANSLIC_. From the Help menu, you can select: • View the ANSLIC_ Help • View the FLEXNet Licensing End 's Guide • About ANSYS, Inc. Licensing • About ANSLIC_ To exit the ANSLIC_ utility, choose File>Exit.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
43
License istration Using ANSLIC_
3.1.1. License Server Machine Information This option is used for license server machines only. Use this option to your license server information (including the machine identifier to use as your FlexNet hostid) with ANSYS, Inc. If you want to use a dongle for your license server information, please make sure the device is inserted and the correct device driver is installed. Not all platforms dongles; please your ANSYS, Inc. sales representative for platform and dongle usage information. If the ANSLIC_ utility detects a properly installed dongle, you will be asked if you want to use that device for your license server machine information. If you are running a 32-bit version of the license manager and have multiple dongles on the machine, you will be asked to select the dongle to use. Be sure to choose the correct device from the list presented. If you choose to use a dongle, the device information will be used. Otherwise, the physical machine information will be used. You will then be prompted to supply your customer (agreement) number (optional), company name, your name, email address, etc. This utility also obtains information about your machine, such as hostname, hostid, hardware platform, operating system level, and current date. In addition, this utility requires you to identify the type of license server machine. In the case of a three-server system, you must supply the server information on each server machine. The utility places the information it gathers into a file named licserver.info. By default, this file is written to the licensing directory, or you can specify an alternate location. You can browse to a directory other than the home directory. You must forward the file, created on each license server machine, to your ANSYS sales representative.
3.1.2. Display the License Server Machine Hostid Use this option to obtain and display the machine identifier to use as the FlexNet hostid of the machine on which you are currently running. If you are using a dongle that you want to use for your license server information, please make sure the device is inserted and the correct device driver is installed. Not all platforms dongles; please your ANSYS, Inc. sales representative for platform and dongle usage information.
44
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility If the ANSLIC_ utility detects a properly installed dongle, you will be asked if you want to use that device for your license server machine information. If you are running a 32-bit version of the license manager and have multiple dongles on the machine, you will be asked to select the dongle to use. Be sure to choose the correct device from the list presented. If you choose to use a dongle, the device information will be used. Otherwise, the physical machine information will be used. To write this information out to a file, click the Create File button. By default, the file is named ansysid.machinename.txt, although you can change the filename. This option is available for both the server and client versions of ANSLIC_.
3.1.3. Run the License Wizard You can run the license wizard either from the ANSLIC_ utility or as part of the license manager installation. The license wizard is used to configure license server machines only. This wizard walks you through the process of installing or updating a license file, specifying the license server machine(s) (which updates the ansyslmd.ini file), and starting/restarting the license manager. The wizard will prompt you for the necessary information at each step. You should use this option when you receive a new license file as it will walk you through the necessary steps to activate the new license. Advanced s can also use the wizard to configure their license servers to run the Licensing Interconnect without FlexNet or independently of FlexNet. See Advanced Licensing Configuration Options for more information. You can alternatively perform each of these steps individually using the separate options on the ANSLIC_ utility. 1.
When the License Wizard is launched, you will need to specify the type of license server. You can choose from three options: • Run the ANSYS Licensing Interconnect with FlexNet (default) • Run the ANSYS Licensing Interconnect without FlexNet • Run the ANSYS Licensing Interconnect and FlexNet independently
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
45
License istration Using ANSLIC_ Accept or select the default and click Continue. Most customers will use the default option. The other options are more advanced and should be used only by experienced customers. Instructions for using the other options are found under Advanced Licensing Configuration Options in the ANSYS, Inc. Licensing Guide and are not included here. 2.
Next, you must install a valid license file if one is not already installed. Click Continue, and then browse to and select the license file provided to you by ANSYS, Inc. You must complete this step to continue with the wizard. If you do not have a license file, you must exit the wizard. You can rerun the license wizard when you receive your license file.
3.
The license wizard will next specify the local machine as the license server, meaning you will use the local machine as the license manager from which licenses are checked out. Click Continue. This step updates the ansyslmd.ini file to contain the local machine information as the license server. If you wish to specify a different or additional machine as the license server, you can use the Specify the License Server Machine option of the ANSLIC_ utility.
4.
The final step is to start the ANSYS, Inc. License Manager. Click Continue to start the license manager. If the license manager is already running, the license wizard will stop and restart it. Be aware that stopping the license manager could impact other s who are using this machine as their license server.
When all steps of the wizard have been successfully completed, you can click Exit to leave the license wizard.
Note You can choose to skip steps when applicable; however, if you choose to skip any steps and you have not otherwise configured your system, your license server may not function correctly and you may not be able to run ANSYS, Inc. products.
3.1.4. Install the License File This option is used for license server machines only. If you received a new license and your server and hostid are unchanged, use this option to replace your existing license file. This utility creates the license file, called license.dat by default, in the licensing directory. The license file contains your licensing information and allows you to run ANSYS, Inc. products. 46
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility After you run this option, select Reread the License Manager Settings to reread the FlexNet license file, which allows you to update the license manager with the new license without the need to stop and restart the license server. 1.
Save the license file that you received from your ANSYS sales representative to a temporary file.
2.
Select this option from the ANSLIC_ utility.
3.
Browse to the file. If you do not already have a license file, the information from this temporary file will be used to create the license file. If you do have an existing license file, the existing file will be renamed to license.dat.old.
In a three-server (redundant triad) system, you must use this option on each license server machine.
Caution Do not save license files in Microsoft Word format. If the license manager is running when you add or update a license, you must restart the license manager or reread the license file for the new file to take effect. You can use this option to install ANSYS license files only. To determine if you have an ANSYS license file, see Recognizing an ANSYS License File. If you have s who borrow licenses, you should check the output from Display the License Status to see if anyone currently has borrowed licenses before you update your license file. If you see borrowed licenses, notify those s to return the borrowed licenses prior to the update.
3.1.5. Start the ANSYS, Inc. License Manager This option is used for license server machines only. Use this option to start the license manager. This option starts ansysli_monitor and ansysli_server, which automatically starts the FlexNet components of the license manager: lmgrd and ansyslmd. The license file must exist prior
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
47
License istration Using ANSLIC_ to starting the license manager. The license manager must be running to run an ANSYS, Inc. product.
Note If you chose to configure your license manager such that you run the Licensing Interconnect without FlexNet or run the Licensing Interconnect and FlexNet independently, then selecting this option will start only the Licensing Interconnect. In a three-server license environment, the license manager must be running on at least two of the three servers before an ANSYS product can be run. In a onelicense server system, the license manager must be started on that server.
Note In a three-server environment, you may see a delay in starting the license manager until two of the three servers are running. Do not click the Start the License Manager button more than once for the same server. The ansysli_server.log and the license.log files in the licensing directory contain a history of the Licensing Interconnect and FlexNet activity, respectively, across your network since the last time the license manager was started.
3.1.6. Stop the ANSYS, Inc. License Manager This option is used for license server machines only. Use this option to shut down the license manager. This option will shut down the ANSYS, Inc. License Manager, including ansysli_monitor, the Licensing Interconnect and the FlexNet components of the license manager (lmgrd and ansyslmd) on all machines listed in the license file. You will be asked to confirm that the license manager should be shut down. that the license manager must be running in order to run an ANSYS, Inc. product. Before shutting down the license manager, check that no ANSYS, Inc. product processes are
48
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility currently running. Any processes that are running will be terminated when you shut down the license manager.
Note If you chose to configure your license manager such that you run the Licensing Interconnect without FlexNet or run the Licensing Interconnect and FlexNet independently, then selecting this option will stop only the Licensing Interconnect.
Caution Do not use kill -9 (on UNIX/Linux systems) to shut down the license manager. Use the ANSLIC_ utility option or ansysli_server -k stop.
Note In a three-server (redundant triad) environment, you may see a delay in stopping the license manager. Do not click the Stop the License Manager button more than once for the same server. This option will shut down all three server machines of a three-server (redundant triad) system, unless the license manager was started with the -local option. However, it will only stop the Licensing Interconnect running on the machine where this option was run. You will need to manually stop the Licensing Interconnects that are running on the other two machines of the three-server system, or those Licensing Interconnects will continue to restart FlexNet on the other machines. We do not recommend stopping the license manager manually; however, if you choose to do so, you must stop the components in the following order: 1. Licensing Interconnect monitor (ansysli_monitor) 2. Licensing Interconnect (ansysli_server) 3. FlexNet components (lmgrd first, followed by ansyslmd)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
49
License istration Using ANSLIC_
3.1.7. Reread the License Manager Settings This option is used for license server machines only. Use this option to reread the FlexNet license file and reread the license manager settings. You will need to use this option to reread the FlexNet license file when the license manager is already running and you have updated the license file or the license options file so that changes will take effect. Otherwise, the license manager will not be aware of the changes until it is stopped and restarted. This option: • rereads the ansyslmd.ini file to get any new settings, such as log file size or change of name • appends or opens a new log file • rereads the site preferences • Recaches the license file • Issues a FlexNet reread • Recaches the servers • Informs other servers about changes Be aware that if you change the Licensing Interconnect port number, you will need to restart the license manager; a reread will not update the port number.
Note If you chose to configure your license manager such that you run the Licensing Interconnect without FlexNet or run the Licensing Interconnect and FlexNet independently, then selecting this option will affect only the Licensing Interconnect components and recache the license file.
3.1.8. Specify the License Server Machine Use this option to set the ANSYS Licensing Interconnect and ANSYS FlexNet servers. Using this option creates or updates (lists, adds, modifies, deletes, or
50
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility reorders) entries in the ansyslmd.ini file in the licensing directory for the local machine. With this option, you can specify single servers, multiple single servers, or redundant triad servers. You also use this option to specify the Licensing Interconnect and ANSYS FlexNet port numbers. Run this option on every machine where you installed an ANSYS product. We recommend using this method for specifying your license server preference. This option is available for both the server and client versions of ANSLIC_ on Windows machines. In most situations, you should use the client version. The client version is appropriate regardless of where you have installed the product. You should use the server version of this option only to specify the license server machines for Release 11.0 and lower versions. You can also use the server version to specify license server machines if you have installed the product into
\Program Files, but we recommend using the client version anytime you are working with the current release. If the product is installed in
\Program Files (by a with istrative privileges), you must have istrative privileges in order to add or modify your server specification. If you are running on a Windows 7 machine, you must run as an , preferably with UAC turned off. If you are running with UAC turned on, you must launch ANSLIC_ using the Run as option. If you are running on a Windows 8 machine, you must run as an . Additionally, you must launch ANSLIC_ using the Run as option. For more information, see the Control (UAC) section of the ANSYS, Inc. Windows Installation Guide for more details on working with Windows and UAC. To add a server: 1.
Click Add Server Specification.
2.
Enter the ANSYS Licensing Interconnect and FlexNet port numbers (2325 and 1055 by default, respectively). Specify the number of servers and enter the host name(s) of your license server(s). You cannot enter a path or a filename in place of the hostname. To specify multiple single servers, click OK on this screen after adding the first server. Then click the Add Server Specification button again and add information for the next server. Repeat this process for each single server. To specify redundant triad servers, click the 3-server (redundant triad) option and enter the hostname for each of the three servers in the spaces available. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
51
License istration Using ANSLIC_ 3.
Click OK.
To delete a server, highlight the server in the list and click Delete Selected Server. To edit a server, click on one of the listed servers and click Edit Selected Server. You can then change the ANSYS Licensing Interconnect and the FlexNet port numbers, the number of license servers, or the hostname(s). You can choose to start the ANSYS Licensing Interconnect without FlexNet, and to manage FlexNet separately by caching the FlexNet license. If you choose to run these advanced options, please read Advanced Licensing Configuration Options for detailed instructions, limitations, and caveats. The ansyslmd.ini File The Specify the License Server Machine option creates or updates the ansyslmd.ini file that is located in the licensing directory. Entries in the ansyslmd.ini file tell ANSYS, Inc. products which license server(s) to query to find a valid license. Using this option allows all s at your site to use this setting without having to individually set the ANSYSLMD_LICENSE_FILE or ANSYSLI_SERVERS environment variables to specify the license server machine(s). It also eliminates the need to have a copy of the license file on every system at your site. The order that the SERVER lines are listed in the ansyslmd.ini file dictates the order in which the license request is granted. To reorder the entries in the list, highlight a server and use the Move up or Move down buttons. You are not limited to designating one set of license server machines for your network. You can have multiple single-server or three-server (redundant triad) licensing systems on your network. In this situation, you would have certain licenses connected to a set of server machines (one or three) on the network, and other licenses connected to a different set of server machines (one or three) on the network. The format of the ansyslmd.ini file created by ANSLIC_ follows. Each server's specification entry in this file will typically begin with ANSYSLI_SERVERS= and SERVER= to specify the Licensing Interconnect and FlexNet port numbers, respectively. On a single server: ANSYSLI_SERVERS=
@
SERVER=
@
52
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility For multiple single servers, each server should have its own ANSYSLI_SERVERS= and SERVER= lines. On redundant (triad) servers on UNIX/Linux platforms: ANSYSLI_SERVERS=
@
:
@
:
@
SERVER=
@
:
@
:
@
Windows platforms use semicolons (;) instead of colons: ANSYSLI_SERVERS=
@
;
@
;
@
SERVER=
@
;
@
;
@
Do not use commas as separators; use colons (:) on UNIX/Linux machines and semicolons (;) on Windows machines. The ANSYS Licensing Interconnect default port number is 2325 and the ANSYS FlexNet default port number is 1055. The host is the license server hostname. For example, if the license server name is alpha1: ANSYSLI_SERVERS=2325@alpha1 SERVER=1055@alpha1
The order of the ANSYSLI_SERVERS and the SERVER lines in the ansyslmd.ini file specifies the order in which the requested license will be granted. You must use the port@host format; you cannot enter a path or a filename in place of the hostname. Overriding the ansyslmd.ini File If you want to override the server specification settings in the ansyslmd.ini file, you can do so by setting the ANSYSLMD_LICENSE_FILE and ANSYSLI_SERVERS environment variables on individual machines. These environment variables are useful if you want to temporarily point to a different license server machine without disrupting the machine's configuration. Use the ANSYSLI_SERVERS environment variable to specify the Licensing Interconnect port number. Use the ANSYSLMD_LICENSE_FILE to specify the FlexNet port number. If the ANSYSLMD_LICENSE_FILE environment variable is set but the ANSYSLI_SERVERS environment variable is not set, the same server machines will be used to specify the Licensing Interconnect but the port number will be replaced by the Licensing Interconnect default port of 2325. When both variables are set, ANSYSLMD_LICENSE_FILE explicitly defines the FlexNet servers while ANSYSLI_SERVERS explicitly defines the Licensing Interconnect servers.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
53
License istration Using ANSLIC_ If you set the ANSYSLMD_LICENSE_FILE or ANSYSLI_SERVERS environment variables on a three-server (redundant) system, specify all three systems, in the same order as the SERVER lines are listed in the license file. If you specify only the master and it is down, you could see a “License Server Down” or “No License Found” message and the search for a license could fail. redundant or multiple single server systems by separating the system names with colons on UNIX/Linux systems and semicolons on Windows systems. To have your license server preference known each time you , set the environment variables ANSYSLMD_LICENSE_FILE and ANSYSLI_SERVERS (both Windows and UNIX systems). On UNIX systems, place these environment variables in your startup file (e.g., .cshrc file).
3.1.8.1. Sample Scenario Suppose that you have a company with two departments, Design and Engineering. The Design Department has one license of ANSYS Mechanical and one license of DesignSpace with the server DES1, and all s in the Design Department run on DES1. The second department, Engineering, has two licenses of ANSYS Multiphysics with the server ENG1, and all s in the Engineering Department run on ENG1. The ansyslmd.ini file states ANSYSLI_SERVERS=2325@DES1 and SERVER=1055@DES1 for the Design Department, and ANSYSLI_SERVERS=2325@ENG1 and SERVER=1055@ENG1 for the Engineering Department. These settings limit s in each department to work only on their own server. If individual s in the Design Department need to run on the engineering server, ENG1, they could set the following environment variable: setenv ANSYSLMD_LICENSE_FILE 1055@ENG1
This example would automatically use 2325@ENG1 for the Licensing Interconnect license path. For this example, you would need to set ANSYSLI_SERVERS only if you were not using the default Licensing Interconnect port number.
3.1.9. Set License Preferences for Use this option to review the licenses available and prioritize the licenses. Settings specified here apply only to the name shown in the button title. When you select this option, you will first choose the release for which you want to set preferences. Select the release and click OK. All licenses available to you on your license server machine(s) are shown under the appropriate tab on the next dialog: • Solver
54
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility • PrepPost • Geometry • HPC You control the order in which the system attempts to check-out a license by moving the licenses up and down in the list using the Move Up or Move Down buttons. When you open an application, the license manager attempts to checkout the license listed first in the list. If unable to check-out that license, then the license manager attempts to check out the next license in the list that can be used by the application. The license manager will continue through the list until an available license is found. If none are found, a message displays. By default, all licenses available from your license server are shown and marked as available for use. If you do not want a particular license to be available for your use, select the license in the list, and set the Use/Don't Use field to 0. If you received a new license, you may need to reset your preferences. If you had previously set your license preferences using this option, add the new license to your list in the desired order. If you have made changes to your license preferences, you can return the settings to the default state by selecting the Reset to Default button. When you have completed your changes, click OK to make the changes and close the dialog box. Click Apply to make the changes without closing the dialog box. Selections you make here will take effect with any new sessions/license checkouts but will not affect the current session or change the license(s) currently in use. ANSYS Workbench s can also specify whether to use the shared or separate licensing method. For details on setting license preferences, including shared vs. separate licensing for ANSYS Workbench and specifying HPC licensing settings, see Establishing Licensing Preferences in End- Settings.
3.1.10. Run the ANSYS Borrow Utility License borrowing (available only on Windows machines) allows a to take a license for use outside of the company facility, such as for an engineer to take
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
55
License istration Using ANSLIC_ a license home on his laptop. Before s can take advantage of license borrowing, you need to set up the borrowing environment. License borrowing is available only if you have borrowable licenses and only on Windows machines; however, the license server machine that is managing the licenses can be any system that ANSYS, Inc. s as a license server. You cannot run both borrowed and non-borrowed licenses simultaneously. For example, if you borrow licenses but remain connected to a network from which you can use licenses, you will be able to use only the borrowed licenses. Likewise, if the machine on which you borrowed licenses is also a license server from which you could normally use licenses, you would be able to use only the borrowed licenses. This option is available only for the client version of ANSLIC_.
3.1.10.1. Setting up License Borrowing To use license borrowing, you must have license keys that specify borrowable licenses. License features that can be borrowed will contain the keyword BORROW. You can use the optional FlexNet options file settings to further control borrowing at your site. To use these settings, you must first specify which s are allowed to borrow licenses by adding an INCLUDE_BORROW group to the options file. Any not in the INCLUDE_BORROW group will not be allowed to borrow licenses. You may also wish to set up an EXCLUDE_BORROW group to prevent specific s from borrowing licenses. You can also limit the number of licenses that can be borrowed from your total pool of borrowable licenses. Set the BORROW_LOWWATER option in the options file to the number of licenses that cannot be borrowed. For example, if you have 15 licenses total and want to limit the number that can be borrowed to 5, set BORROW_LOWWATER=10. The maximum number of hours a license can be borrowed at any one time is defined by your license file. You can set that limit lower for your s by setting the MAX_BORROW_HOURS option in the options file. MAX_BORROW_HOURS cannot exceed the limit specified in your license file. The total maximum number of borrowable hours is defined by your license agreement. Compatibility between versions Flexera Software has created an incompatibility in license borrowing between FlexNet releases. Since different versions of FlexNet are used at most releases, the borrowed licenses are not compatible between different ANSYS releases. The ANSBORROW utility includes a selection 56
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility for the ANSYS version you are planning to run using the borrowed license. Choose your version carefully, because you will only be able to run one of the versions at a time with borrowed licenses. Another incompatibility exists within the same release, between platforms. If you borrow a license with one of the Windows versions (32-bit or x64), you can’t use the borrowed license on one of the other Windows versions, even on the same computer. For example, you have an x64 machine running the Windows 32-bit version, and then you install the x64 version when it is released. If you borrow the license using the 32-bit ANSBORROW, you won’t be able to run the x64 version of ANSYS. The ANSBORROW utility allows you to borrow either initial release or service pack (SP) versions. The SP versions for a given platform use the same FlexNet version as the initial release; therefore, licenses selected for an SP should work for the initial release.
3.1.10.2. Running the Borrowing Utility To run the license borrowing utility, you must be running on a Windows machine connected to a network, and you must have borrowable licenses. For more information about borrowable licenses, please your ANSYS sales representative. 1.
Connect to the network where the license server machine is running.
2.
Launch the client license borrowing utility: Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0. Select Run the ANSYS Borrow Utility.
3.
On the Borrow tab, specify the version number and return date. The return date defaults to the third day from the current date. If you change any of the borrowing criteria, the product list will automatically update in five seconds. To update the list immediately, click the Update Delay (sec) button.
4.
Select the product(s) you want to borrow. The product list includes add-on features or geometry interfaces. If you do not see a product listed that you think should be available, that you have selected the correct version.
5.
Click Borrow.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
57
License istration Using ANSLIC_ 6.
Disconnect from the network. Note that even when you've disconnected from the network, you must still run the products from the same you used to borrow the licenses. For example, if you use a network to borrow the licenses, you cannot then run from a local . Be sure to that you can run the correct product with the borrowed licenses from your machine AFTER you've disconnected from the network. If you encounter any difficulties, reconnect to the network, return the license, and then re-borrow the correct license.
If you keep a license for the full amount of time, there is no need to check the license back in. Your borrowed license will simply expire at the end of the borrow period, and the license will be released into the pool of available licenses. To return a license early: 1.
Reconnect to the same license server from which you borrowed the license(s).
2.
Launch the client license borrowing utility: Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0. Select Run the ANSYS Borrow Utility.
3.
Select the Return tab. Click Return all. If you wish to keep some but not all of the licenses you borrowed, you will need to re-borrow them.
4.
Disconnect from the network.
The license(s) you borrowed will be returned to the pool of available licenses.
Note You must return borrowed licenses from the same you used to borrow the licenses originally. Some multi-feature products include other products and/or add-on features. The utility will automatically check out any such included products or add-on features. If you borrow one of these multi-feature products and then click on the Return tab, you will see the product you selected, as well as any other products and add-ons that it includes. If you return a multi-feature product early, these products and add-on features will also be returned.
58
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility
3.1.11. Set Site Preferences This option is used for license server machines only. The following site preference settings are available: • Edit the FlexNet Options File (p. 59) • Specify Product Order (p. 64) • Modify Startup Options (p. 65) • Specify License Servers to Cache (p. 67)
3.1.11.1. Edit the FlexNet Options File To set specific privileges with FlexNet, you need to use the options file. The options file allows you, the license , to control various operating parameters of FlexNet: • Allow or deny the use of features based on , hostname, display name, group, etc. • Reserve licenses based on , hostname, display name, group, etc. • Control the amount of information logged about license usage. By using the options file, you can be as secure or as open with licenses as you like. The default location of the options file, ansyslmd.opt, is in the licensing directory. If you have a three-server (redundant triad) system, the options file must match exactly on all three servers. If you are using an options file, you must specify the pathname to the file on the VENDOR line in the license file, unless it resides in the same directory as the license file, which is the default when using the ANSLIC_ utility. On UNIX/Linux systems, the VENDOR line would look like this for an options file named my.opt: VENDOR ansyslmd options=/ansys_inc/shared_files/licensing/my.opt
On Windows systems, if the path has spaces in it, you must enclose it in quotes: VENDOR ansyslmd options="C:\Program Files\ANSYS INC\Shared Files\Licensing\my.opt" Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
59
License istration Using ANSLIC_ Use the Edit the FlexNet Options File option to edit the license options file ansyslmd.opt. The license options files must match on all three systems if you are using redundant systems. Restart the license manager or Reread the License Manager Settings (p. 50) for changes to take effect.
3.1.11.1.1. The Options File Format The maximum line length is 2048 characters. FlexNet allows the "\" character as a continuation character in options file lines. You can include comments in your options file by starting each comment line with a pound sign "#." Everything in an options file is case sensitive. Be sure that names and feature names, for example, are entered correctly. Some commonly used lines in the options file are shown below. See the FLEXNet Licensing End 's Guide (accessible from the ANSLIC_ utility) for information on additional options. EXCLUDE
Deny a access to a feature.
EXCLUDEALL
Deny a access to all features served by this vendor daemon.
GROUP
Define a group of s for use with any options.
HOST_GROUP
Define a group of hosts for use with any options.
INCLUDE
Allow a to use a feature.
INCLUDEALL
Allow a to use all features served by this vendor daemon.
RESERVE
Reserve licenses for a .
BORROW_LOWWATER
Sets the number of licenses for a BORROW feature that cannot be borrowed.
EXCLUDE_BORROW
Excludes a or predefined group of s from the list of who is allowed to borrow licenses for a BORROW feature.
INCLUDE_BORROW
Includes a or predefined group of s in the list of who is allowed to borrow a BORROW feature.
MAX_BORROW_HOURS
Changes the maximum period for which a license can be borrowed. The new period must be less than that specified in the license file. If multiple MAX_BORROW_HOURS
60
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility keywords appear in the options file, only the last one is applied to the license feature.
Note You must stop and restart the license manager (rather than rereading the license file) when a change is made to the options file. When creating an options file, you must understand the options file precedence. INCLUDE and EXCLUDE statements can be combined in the same options file and control access to the same features. When doing so, keep in mind the following: • If there is only an EXCLUDE list, everyone who is not on the list will be allowed to use the feature. • If there is only an INCLUDE list, only those s on the list will be allowed to use the feature. • If neither list exists, everyone is allowed to use the feature. • The EXCLUDE list is checked before the INCLUDE list; someone who is on both lists will not be allowed to use the feature. • EXCLUDE_BORROW supersedes INCLUDE_BORROW. • Anyone not in an INCLUDE_BORROW statement is not allowed to borrow licenses. Once you create an INCLUDE or EXCLUDE list, everyone else is implicitly "outside" the group. This feature allows you, as an , the ability to control licenses without having to explicitly list each that you wish to allow or deny access to. In other words, there are two approaches; you can either give most s access and list only the exceptions, or you can severely limit access and list only the those s that have access privileges. Keyword Format
The format for these keywords follow:
RESERVE number feature { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name INCLUDE feature { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
61
License istration Using ANSLIC_ EXCLUDE feature { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name GROUP name list_of_s INCLUDEALL { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name EXCLUDEALL { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name HOST_GROUP name host_list BORROW_LOWWATER feature number EXCLUDE_BORROW feature { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name INCLUDE_BORROW feature { | HOST | DISPLAY | PROJECT | GROUP | HOST_GROUP | INTERNET} name MAX_BORROW_HOURS feature num_hours
Above, number is the number of tasks; feature is the license feature name (see the Product Variable Table for a list of license feature names for all ANSYS, Inc. License Manager products); name is the 's name or group; list_of_s is a blank-separated list of group member's names; host_list is a blank-separated list of host names; and num_hours is the number of hours for which a license can be borrowed, up to the limit specified in the license file. On UNIX/Linux systems, DISPLAY requires the tty device name, and not the DISPLAY environment variable name. Also, PROJECT refers to the LM_PROJECT environment variable.
Note You can make groups arbitrarily large by listing the GROUP more than once; FlexNet concatenates such entries. You can specify a feature by any of the following fields, found in the license file INCREMENT lines: VERSION HOSTID EXPDATE KEY VENDOR_STRING ISSUER NOTICE dist_info _info asset_info
If your license file has multiple INCREMENT lines of the same feature and any of these fields (such as VENDOR_STRING and VERSION) differ between the INCREMENT lines, and you are reserving licenses for this feature, FlexNet will reserve the same number of licenses from each INCREMENT line. This can result in more
62
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility licenses being reserved than expected. Specify the differing field to reserve licenses from a single INCREMENT line. For example, the following license contains two INCREMENT lines that differ only by the version date: INCREMENT struct ansyslmd 2014.0331 permanent 1 AA1DE4A0E7BB \ VENDOR_STRING=customer:12345678 \ ISSUED=01-Jan-2014 START=01-Jan-2014 INCREMENT struct ansyslmd 2014.0430 permanent 1 3D967A3ECF4E \ VENDOR_STRING=customer:12345678 \ ISSUED=01-Jan-2014 START=01-Jan-2014
If you create the following entry in the options file: RESERVE 1 struct smith
then you will reserve two licenses, one from each INCREMENT line, for smith. To reserve only one license, create an entry that contains the differing information: RESERVE 1 struct:VERSION=2014.0430 smith
For a complete list of license features, see the Product Variable Table. For more information on the options file, see the FLEXNet Licensing End 's Guide (accessible from the ANSLIC_ utility).
Note ANSYS products use a TIMEOUT and TIMEOUTALL default of 55 minutes (3300 seconds). You cannot set the minimum value below 15 minutes (900 seconds). Application idle TIMEOUTs are not ed, i.e., the TIMEOUT options will not work for applications that are not actively in use.
3.1.11.1.2. Sample Options File In the following example options file, one license to execute ANSYS Mechanical is reserved for pat, three licenses for lee, and one license for anyone on the computer with the hostname of client3. In addition, joe is not allowed to use the ANSYS Mechanical license. RESERVE 1 ansys pat RESERVE 3 ansys lee
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
63
License istration Using ANSLIC_ RESERVE 1 ansys HOST client3 EXCLUDE ansys joe
Note In a three license server environment, the same options file must be placed on all three systems. The options specified will not take effect until the license manager has been shut down and restarted.
3.1.11.2. Specify Product Order This option launches a utility that allows you to designate the order that the licensed products are listed in the Mechanical APDL launcher and the order in which licenses are tried in all applications. You first will need to select the product release. You can choose one of the following: • Release 11.0: Selecting this option affects the product ordering for Release 11.0 for this machine (including all s who run a Release 11.0 product on this machine or mount to this machine). If you select this option, the product ordering you specify will NOT affect any releases after 11.0. • Release 12.0 and higher: Selecting this option affects the product ordering for Releases 12.0 or later and is applicable ONLY if this machine is a license server machine. The product ordering you select with this option will affect all s who use this machine as a license server machine. After you choose a release level, click OK. You will then need to select the installation directory (Release 11.0 only), product category (Solver, PrepPost, Geometry, or HPC). To re-order the products, select a product and click the Move up or Move down button. When you have finished reordering all products that you wish to reorder, click Save and then Close. All products available in a given category are shown, regardless of whether you have licenses for them. If you have made changes to your product ordering, you can return the settings to the default state by selecting the Reset to Default button. For Release 12.0 and higher, after making changes to the product order (including resetting to the default), you will need to reread the license or restart the license manager for the changes to take effect.
64
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility Only those logged in as root or super (UNIX/Linux) or with istrative privileges (Windows) can use this utility. You should set the product order before any of the s at your site run; once a sets his preferences, the preferences will take precedence.
Note After upgrading the License Manager, if you have specified a product order in a previous release you must re-run the Specify Product Order option and re-specify your required product order.
3.1.11.3. Modify Startup Options Note Only those s who are logged in as root or super (UNIX/Linux) or with istrative privileges (Windows) can use this utility. Use this option to modify your license manager startup options. License manager startup options that you can modify include: ANSYS Licensing Interconnect Debug Log File You can specify the path to the ANSYS Licensing Interconnect debug log file (ansysli_server.log, by default), the detail level of the file (standard, connections, or verbose), the size limit of the file (default is 10MB; minimum is 1MB), and the number of log files to save (default is 10; minimum is 1). ANSYS Licensing Interconnect Report File The Licensing Interconnect has the ability to track and log your usage data into a report file (
.rprt). By default, this feature is turned off. Use this option to enable this feature. Report files are saved and time-stamped for future reference. You can specify a directory other than the default where the report files will be saved, but you cannot change the file name. You can also specify the size of the report file in megabytes. While we are able to collect this data into a report file, we currently do not offer a reporting tool that will display the data. FlexNet Options You can specify the path to the FlexNet license file (license.dat, by default), as well as to the FlexNet debug log file (license.log, by default). By default,
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
65
License istration Using ANSLIC_ a new license.log file is created each time you start the license manager; you can choose to have new information appended to the existing file instead. You can also set the -local setting (UNIX/Linux only). The -local option restricts the ability to shut down the FlexNet components of the license manager to only an running on the same machine where the FlexNet components of the license manager was started. This option is off by default. See the FLEXnet Licensing End s Guide (accessible from the ANSLIC_ utility) for more information on using this option. The -local option is not recommended if you will be using license borrowing. You can also choose to start the ANSYS Licensing Interconnect without FlexNet and to cache FlexNet licenses. Use these two options together to run the ANSYS Licensing Interconnect and FlexNet independently. These options are advanced configuration options and require additional steps. Please see Advanced Licensing Configuration Options for more information, including detailed procedures for using these options. Miscellaneous Options You can specify the ANSYS Licensing Interconnect port number here. The default port number is 2325. All machines that have this server machine in their Licensing Interconnect paths must use the same port number. If you change the Licensing Interconnect port number here, and other machines use this machine's Licensing Interconnect, then on each of those machines, you must change the Licensing Interconnect port number by one or both of the following options, as appropriate for your configuration: • Specify the License Server Machine option of the ANSLIC_ utility • Specify License Servers to Cache option of the ANSLIC_ utility You can also disable the ability to reserve licenses for a design point study in ANSYS Workbench and/or the s' ability to track licenses used by ANSYS Workbench. For more information on reserving licenses for design point studies in ANSYS Workbench, see Reserving Licenses for Design Point Studies in the ANSYS Workbench documentation.
66
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility On UNIX/Linux machines only, you can also specify who can shut down the ANSYS, Inc. License Manager. By default, anyone can stop the license manager. You can restrict shutdown capabilities to only the who started it, or to a group, such as lm. If you choose group, you will need to specify the name of the group. If you specify a group restriction, any s in that group who wish to stop the license manager must have the specified group as their primary group. Note that the who started the license manager will still be able to shut it down, even if he is not part of a group with shutdown capabilities.
Warning The license.log file and the ansysli_server.log file for each server should be located on a local disk. Writing to an NFSmounted disk or remote file server creates a situation where the license server(s) may fail. If the remote system containing these files crashes, the license manager would be unable to log license transaction data. This would create a fatal error condition.
3.1.11.4. Specify License Servers to Cache When the Licensing Interconnect starts, it caches the licenses for any ANSYSLI_SERVERS lines that are in the ansyslmd.ini file in addition to its own licenses. As you run ANSYS applications and they connect with the Licensing Interconnect, it caches the licenses for any servers in your ANSYSLI_SERVERS path that have not yet been cached. Sometimes, especially due to network traffic, this caching process can impact the time it takes to check out a license. Use this option to cache your servers when you start the ANSYS, Inc. License Manager, rather than at the point that you request individual licenses.
Note Only those s who are logged in as root or super (UNIX/Linux) or with istrative privileges (Windows) can use this utility. When you select this option: 1.
On the Specify License Servers to Cache dialog, click Add Server Machine Specification.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
67
License istration Using ANSLIC_ 2.
On the Specify License Servers to Cache - Edit Selected Server Machine dialog box, enter the Licensing Interconnect port number. The default Licensing Interconnect port number is 2325.
3.
Enter the hostname of the server.
4.
Click OK.
5.
Repeat steps 1 - 4 for any additional servers that you want to cache.
6.
When you have finished specifying servers, click Close on the Specify License Servers to Cache dialog.
To delete a cached server, highlight the server in the list and click Delete Selected Server Machine. To edit a cached server, click on one of the listed servers and click Edit Selected Server Machine. You can then change the ANSYS Licensing Interconnect port number or the hostname(s).
3.1.12. View Status/Diagnostic Options The following reporting options are available: • Display the License Status (p. 69) • Display Queued Licenses (p. 69) • Display the Customer Number (p. 70) • View the ANSYS Licensing Interconnect Debug Log File (p. 70) • View the ANSYS FlexNet License File (p. 71) • View the ANSYS FlexNet Debug Log File (p. 71) • Gather Diagnostic Information (p. 71) When you select one of these options, the data will appear in the log area on the right side of the utility. Display the Customer Number appends the customer number to the session log itself; the other options create their own display in the log area. Each option is explained in the following sections.
68
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility Not all of these options are available for both the server and client versions of ANSLIC_.
3.1.12.1. Display the License Status Use this option to see the status of licensing activity. All features are displayed in the status window, along with the s of those features. You can append this information to the session log or write it directly to a file using the buttons at the bottom of the window. This option displays information based on the same license path rules as ANSYS, Inc. products, taking into the settings in the ANSYSLMD_LICENSE_FILE environment variable and the ansyslmd.ini and license files. Setting the ANS_FLEXLM_DISABLE_DEFLIATH environment variable will affect the information displayed by this option.
3.1.12.2. Display Queued Licenses Use this option to see a list of capabilities that are queued and awaiting availability, and the applicable licenses that are being used. The report will have the following format: Capability
Timestamp
Timestamp Timestamp Timestamp
1 2 n
Timestamp Timestamp Timestamp
1 2 n
Product1
Product2
Count Count Count Count Count Count Count Count Count
Host
PID
Platform
Host Host Host
PID PID PID
Platform Platform Platform
Host Host Host
PID PID PID
Platform Platform Platform
Where the first line shows information for the requesting , and subsequent lines under that capability show information for the s who are currently using the licenses for each of the licensed products that satisfy the requested capability. An example report is shown below. Each line is numbered for reference in the discussion following the example. Note that the actual report does not contain line numbers. Capability 1 ANS_SOLVER 2 3 4
Product Timestamp 2010/04/27 09:39:27 ane3fl 2010/04/27 08:01:10 2010/04/27 07:29:13
Count Host JQD 1 mach1.win.acme.com 3 JXS 1 mach2.win.acme.com MQD 2 mach3.win.acme.com
PID 1234
Platform winx64
5678 8765
winx64 winx64
Line 1: JQD is running a process, 1234, on the machine mach1.win.acme.com, which has requested one license with the ANS_SOLVER capability.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
69
License istration Using ANSLIC_ Line 2: Based on the site/ preferences, the ane3fl product can satisfy the requested capability, and this site/ is permitted to use up to 3 licenses of this product. Line 3: JXS has been using 1 of the available licenses since 8:01:10, from machine mach2.win.acme.com, running process number 5678. Line 4: MQD has been using 2 of the available licenses since 7:29:13, from machine mach3.win.acme.com, running process number 8675. Since s JXS and MQD are already using all of the available licenses, JQD must either wait for one of those licenses to be freed, or one of those s and request that a license be freed. Select the Auto-Refresh button to have the information automatically refresh every five (5) seconds. You can also display the queuing report via command line, without launching the ANSLIC_ GUI. To do so, run the following command on Windows systems: "C:\Program Files\Ansys Inc\Shared Files\Licensing\lic\anslic_" -queueinfo
If you need to view the queuing report frequently, you may find it convenient to set a desktop shortcut using the above command. Run the following command on UNIX/Linux systems: /ansys_inc/shared_files/licensing/lic_/anslic_ -queueinfo
3.1.12.3. Display the Customer Number Use this option to display your customer number (necessary when requesting customer ). The license manager must be running for you to obtain your customer number.
3.1.12.4. View the ANSYS Licensing Interconnect Debug Log File This option is available only on the license server machine(s). Use this option to view the Licensing Interconnect debug log file (named ansysli_server.log by default).
70
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility
3.1.12.5. View the ANSYS FlexNet License File This option is available only on the license server machine(s). This option displays the contents of your current license file in the reporting area. You can append this information to the session log or write it out to a separate file. Do not use this option to create a new license file. The Write to File option here will create a text file that includes extraneous information that is not valid in a license file, and should be used only to create a file for reference purposes.
3.1.12.6. View the ANSYS FlexNet Debug Log File This option is available only on the license server machine(s). Use this option to view the license log file (named license.log by default).
3.1.12.7. Gather Diagnostic Information When you choose this option, you will be given the option to gather all relevant log and error files into a single directory. Files that will be gathered include the license.log file, the ansysli_server.log file, relevant ansyslmd.ini files, etc. This feature is useful if you want to easily review the files from a single location, or if you need to compress the files and send them to a technical representative. Every time you choose to gather these files, they will be copied into a new, date-stamped subdirectory in your /var/tmp directory on UNIX/Linux or in the directory specified by the TEMP environment variable on Windows. Be aware when choosing this option that some of these files can be large and could require significant disk space. You may wish to delete these directories when you are finished reviewing them because of the disk space usage. After all relevant files are gathered (if selected), this option runs the ansys_pid utility, which queries the system for information that may be useful for troubleshooting certain problems. This operation may take a few minutes. You can append this information to the session log, or you can write it out directly to a file using the buttons at the bottom of the window. When you run this utility, information about your licensing information is displayed in the ANSLIC_ log area. Information displayed may include: • operating system info • environment information, including environment variable settings Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
71
License istration Using ANSLIC_ • firewall information • ANSYS, Inc. License Manager version and status information • available license information The contents of specific log and error files will not be displayed in the ANSLIC_ log area. You will need to review these files individually for specific errors and other status/formation.
Note If you have set the ANS_FLEXLM_DISABLE_DEFLIATH environment variable, the information will be displayed based on the ANSYSLMD_LICENSE_FILE environment variable setting; settings in the ansyslmd.ini file in the licensing directory will NOT be used.
3.1.13. Uninstall the License Manager UNIX/Linux On UNIX/Linux machines only, you can use this ANSLIC_ option to remove the entire ANSYS, Inc. license manager installation from your system. To use this option, you must be logged in as root or super. You should not uninstall the license manager if you still have products installed that use the license manager. You will be asked to that the license manager should be uninstalled from this system. The contents of the licensing directory will be deleted. Also, if the license manager is running, it will be shut down. Windows On Windows machines, you must follow the procedure below. You should not uninstall the license manager if you still have products installed that use the license manager. License Servers
Follow these steps on a license server machine:
1.
Stop the ANSYS, Inc. License Manager via the ANSLIC_ utility (Start> All Programs> ANSYS Inc. License Manager> Server ANSLIC_ Utility).
2.
Uninstall the ANSYS, Inc. License Manager service. You must use the following command to do so:
72
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the ANSLIC_ Utility "C:\Program Files\ANSYS Inc\Shared Files\Licensing\
\ansysli_server" -k uninstall
3.
Delete the licensing subdirectory (C:\Program Files\ANSYS Inc\Shared Files\Licensing by default).
4.
Remove the ANSYS, Inc. License Manager folder from the Start menu.
5.
Remove the ANSYSLIC_DIR and the ANSYSLIC_SYSDIR environment variables, if set.
Clients
Follow these steps on client machines:
1.
Delete the licensing subdirectory (C:\Program Files\ANSYS Inc\Shared Files\Licensing by default).
2.
Remove the ANSYS 15.0> ANSYS Client Licensing folder from the Start menu.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
73
74
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 4: End- Settings End s can set several controls for a customized licensing environment. These controls are explained in this chapter.
4.1. Client Environment Variable Settings You can set following environment variables on individual machines to control their behavior, especially if you need it to be different from the general site configuration. These settings are especially useful for situations where you are testing a new product installation/license manager installation on a single machine before full site deployment, or other similar situations. ANSYSLMD_LICENSE_FILE Can be used to identify a license server machine or license file. If set, this specification is used before any other license path information. See License Files Settings Precedence (p. 76) for precedence information. The default port number assigned to ANSYS, Inc. is 1055. Therefore, if your server has the hostname alpha1 and the IP address of 10.3.1.69, you can identify the server to use as 1055@alpha1 or
[email protected]. ANS_FLEXLM_DISABLE_DEFLIATH Indicates that the default license path should not be searched when determining the licensing path in the ANSYS product: • Only ANSYSLMD_LICENSE_FILE and ANSYSLI_SERVERS environment variable settings are used. • Only the ANSYSLMD_LICENSE_FILE environment variable setting is required. • Settings in the ansyslmd.ini file and the license file in the licensing directory will NOT be used.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
75
End- Settings ANSYSLI_SERVERS Used to identify the server machine for the Licensing Interconnect. Set to port@host. The default port is 2325. This setting takes precedence over settings specified in the ansyslmd.ini file. ANSYSLI_TIMEOUT_CONNECT Used to specify the amount of time that elapses before the client times out if it cannot connect to the server. Default is 20 seconds. Minimum timeout period you can specify is 5 seconds and the maximum is 60 seconds. If the client determines that a server is not available in less time, it will cancel immediately. ANSYSLI_TIMEOUT_T Used to specify the amount of time that elapses before the client times out if it cannot get a response from the server. This setting applies only when the license server is running but is responding slowly ( generally because of network issues or server load). Default is 60 seconds. Minimum timeout period you can specify is 30 seconds and the maximum is 300 seconds.
4.1.1. License Files Settings Precedence ANSYS Licensing Interconnect settings have precedence in the following order: 1. ANSYSLI_SERVERS environment variable 2. If ANSYSLI_SERVERS is not set, use ANSYSLMD_LICENSE_FILE environment variable, replacing the FlexNet port number with the default Licensing Interconnect port number of 2325. 3. Settings in the ansyslmd.ini file in the relative client licensing directory for ANSYSLI_SERVERS= keyword FlexNet settings have precedence in the following order: 1. ANSYSLMD_LICENSE_FILE environment variable
76
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Establishing Licensing Preferences 2. Settings in the ansyslmd.ini file in the relative client licensing directory for SERVER= keyword.
Note The FlexNet environment variable LM_LICENSE_FILE is not ed with the ANSYS, Inc. License Manager.
4.2. Establishing Licensing Preferences Before running ANSYS, Inc. products, you should establish your licensing preferences, especially if you have multiple licenses at your site. Use the Set License Preferences for option of the ANSLIC_ utility or choose Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> License Preferences 15.0 to set your own licensing preferences. Please note, preferences specified with this option apply only to you on the computer system on which the option was run and will not affect other s at your site. You can use this option to review the licenses available, prioritize the licenses, and establish which licenses you will use. When you select this option, a dialog box opens. All licenses available to you on your license server machine(s) are shown under the appropriate tab: • Solver • PrepPost • Geometry • HPC You control the order in which the system attempts to check-out a license by moving the licenses up and down in the list using the Move Up or Move Down buttons. When you open an application, the license manager attempts to checkout the license listed first in the list. If unable to check-out that license, then the license manager attempts to check out the next license in the list that can be used by the application. The license manager will continue through the list until an available license is found. If none are found, a message displays. By default, all licenses available from your license server are shown and marked as available for use. If you do not want a particular license to be available for your use, select the license in the list, and set the Use/Don't Use field to 0. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
77
End- Settings If you received a new license, you may need to reset your preferences. If you had previously set your license preferences using this option, add the new license to your list in the desired order. If you have made changes to your license preferences, you can return the settings to the default state by selecting the Reset to Default button. When you have completed your changes, click OK to make the changes and close the dialog box. Click Apply to make the changes without closing the dialog box. Selections you make here will take effect with any new sessions/license checkouts but will not affect the current session or change the license(s) currently in use. If you are sending solve jobs to a remote compute cluster via Remote Solve Manager (RSM), note that your license preferences set for your local machine (the RSM Client) may not be the same as the license preferences set for the remote cluster machine (the Compute Server). In cases where local and remote license preferences are different, the preferences for the local RSM Client machine will not be applied when running on the remote Compute Server; instead, the preferences defined for the remote Compute Server will be used. If the license preferences and/or the licensing checkout order do not make the necessary licenses available to your remote solve, you must adjust the Compute Server preferences by setting your license preferences on the remote machine. Remote license preferences may be defined according to corporate IT policy, so please see your license about adjustments to Compute Server preferences.
4.2.1. ANSYS Workbench Licensing Methods ANSYS Workbench s can also specify the licensing method to use. ANSYS Workbench offers two licensing methods at Release 15.0: • Share a single license between applications (default) (shared mode) • Use a separate license for each application (separate mode) Use the Licensing Preferences dialog box (Start> All Programs > ANSYS 15.0 > ANSYS Client Licensing > License Preferences 15.0) to specify which method to use and which licenses to use. You must specify the licensing method before starting an ANSYS Workbench session. If you access the Licensing Preferences dialog box from the ANSYS Workbench Tools menu, you will not be able to choose a licensing preference from there.
78
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Establishing Licensing Preferences
Single License Sharing ANSYS Workbench allows you to work across multiple applications and workspaces in ANSYS Workbench while consuming only one of a single type of license per per session. Using shared licensing, the active application holds the license, preventing other applications that are sharing that license from using it during that time. The application or operation requiring use of the license is called a concurrency event. For example, meshing and solving would each be a concurrency event. Single license sharing allows you to progress through your analysis, from specifying engineering data through building or attaching a geometry, meshing, setup, solving, and finally, reviewing your results, all under the same license. The application holding the license must close or issue a PAUSE command, or receive an automatic release request to release the license and allow another application to use it. Licenses cannot be released while an application is actively performing a licensed operation (for example, an application cannot release a license in the middle of a solve operation; the license cannot be released until the solve operation is completed). Single license sharing applies only to licenses of the same type (e.g., Mechanical). Choosing this option does not affect your ability to use licenses of different types simultaneously (e.g., Mechanical for one task and Fluid Dynamics for another). Because this method is the default, you do not have to take any action to run this way. Explanation of License Type and Examples License type is primarily by license feature. It is possible to use both a Mechanical and an Emag license within a single ANSYS Workbench session. It is also possible to use both a Multiphysics and a Mechanical license within a single ANSYS Workbench session. The first license checked out within a session will be based on your preferences and what capabilities are being requested. For all applications other than the first (subsequent) one opened (within ANSYS Workbench), ANSYS licensing will first look at what other licenses are opened within this session. These subsequent license requests will look at sharing first to satisfy their request: do any other licenses being used within this session fulfill the needed capabilities? If yes, share an existing license. If not, preferences are used and a new, different license is checked out.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
79
End- Settings Example 1: You have one license for Multiphysics and one license for Mechanical, with Multiphysics listed first in your preferences. The first application starts and only needs capabilities in Mechanical. Since Multiphysics contains Mechanical capabilities and is first in your preferences, Multiphysics will be checked out. The second application starts and needs Multiphysics; since Multiphysics is already checked out, the second application will share it with the first. Only the Multiphysics license is consumed in this session. Example 2: You have one license for Multiphysics and one license for Mechanical, with Mechanical listed first in your preferences. The first application starts and only needs capabilities provided in Mechanical, so Mechanical is checked out. The second application starts and needs capabilities provided on Multiphysics; since (the already in use) Mechanical cannot satisfy its requirements, it checks out Multiphysics. Both a Multiphysics and a Mechanical license are consumed in this session. Restrictions of Single License Sharing You cannot run two concurrency events simultaneously (for example, you cannot mesh one model and solve another simultaneously) with one license. If you are using a license for one application, other applications may still not be able to share that license if those applications require capabilities not ed by the license. For example, you cannot share a Mechanical license with a Fluent application. Single License Sharing in ANSYS Workbench Applications applications handle single license sharing differently:
ANSYS Workbench
The Mechanical Application: You can launch the Mechanical application and move between its components (such as Meshing, Setup, and Solve). The active component will control the license while completing its operations and will release the license as soon as the operation is completed. For example, when you mesh, the Meshing component will control the license during the meshing operation and then immediately release the license when the operation is completed. The other components will remain in a read-only mode while Meshing uses the license, allowing you to view the data in other components but not operate on it.
Note Applications in read-only mode because of shared licensing do not refresh their license status automatically. Once the shared li-
80
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Establishing Licensing Preferences cense is released by the editor that had consumed it, you must trigger Mechanical to query the license status. The most straightforward way to do this is click outside the Mechanical application window and then click back in the window to cause the license availability to be rechecked. The Mechanical APDL Application: This application consumes a license as soon as you launch it, and retains that license until it is finished. If you launch the Mechanical APDL application interactively, the license is retained until you either close the application or issue a PAUSE command at the Mechanical APDL command line. PAUSE allows you to temporarily release the license for another application to use. No other operation other than SAVE or /EXIT is permitted while PAUSED. When the second application has finished and releases the license, issue an UNPAUSE command from the Mechanical APDL command line to resume its use of the license. CFX, Fluent, Autodyn, Polyflow: These applications consume a license when launched and retain the license until they receive a request from another application to release it. For example, if you open CFX-Pre, CFX-Pre will obtain and control the license. It will retain the license until you close the application or until another application (such as the CFX solver) requests it. Autodyn and Polyflow also provide a manual PAUSE feature that allows you to interrupt Autodyn or Polyflow and release the license, temporarily, for another application to use.
Separate Licenses By using the separate licenses method, ANSYS Workbench requires a separate license for each application. By using this method, you can move freely between the many applications that you might require during an analysis in ANSYS Workbench, provided that you have sufficient licenses. You can leave each application running and easily move between them at any point during the analysis, even if one of the applications is actively using the license (such as during a solve process). The disadvantage to this method is that you could potentially consume many licenses. To activate the separate licenses method, choose Use a separate license for each application in the Licensing Preferences dialog box (Start> All Programs > ANSYS 15.0 > ANSYS Client Licensing > License Preferences 15.0). Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
81
End- Settings You must specify the licensing method before starting an ANSYS Workbench session. Examples of Using Separate Licenses You have two Mechanical licenses. When you open and mesh or solve a model in the Mechanical application, you consume one Mechanical license. If you link that Mechanical analysis to a Mechanical APDL system, you would consume a second Mechanical license when you launch the Mechanical APDL application, if you have not closed out of the Mechanical application. Neither of these licenses would then be available for other s until you closed out of one or both of the applications.
4.2.2. HPC Licensing ANSYS, Inc. offers multiple high performance computing license options, described below. These license options apply to ANSYS, Inc. commercial and academic associate licenses only. These license options do not apply to ANSYS LS-DYNA; see the ANSYS LS-DYNA 's Guide for details on parallel processing options with ANSYS LS-DYNA. The HPC license options below cannot be combined with each other in a single solution; for example, you cannot use both ANSYS HPC and ANSYS HPC Pack Licenses in the same analysis solution. See the applicable product documentation for instructions on configuring and running a distributed solution. Notes on utilizing GPU: • GPU acceleration is allowed when using either ANSYS HPC Licenses or HPC Pack Licenses with the Mechanical APDL, Mechanical or Fluent applications. • GPU acceleration is available on 64-bit Windows and Linux x64 systems only. • For more information on GPU acceleration, see GPU Accelerator Capability in the Mechanical APDL Parallel Processing Guide. ANSYS HPC These physics-neutral licenses can be used to run multiple analysis jobs across multiple processors and work with most ANSYS, Inc. applications. The Mechanical APDL, Mechanical or Fluent applications can utilize any combination of U and GPU processors. Other applications are limited to U processors only. your ANSYS sales representative for a complete list of applications that can be used with ANSYS HPC. 82
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Establishing Licensing Preferences The Mechanical APDL application allows you to use two non-GPU processors without using any HPC licenses; ANSYS HPC licenses add to this base functionality. For example, a Mechanical APDL using twelve processors (or cores) will consume only ten ANSYS HPC tasks. ANSYS HPC licenses do work with ANSYS Workbench's Remote Solve capability; however, ANSYS HPC licenses are not subject to single license sharing as described in ANSYS Workbench Licensing Methods (p. 78). You cannot combine ANSYS HPC licenses with any other type of HPC licenses, including HPC Pack Licenses, in the same solution. ANSYS HPC licenses are not valid with academic products; instead, use the appropriate ANSYS Academic HPC license. ANSYS HPC Pack Licenses These physics-neutral licenses can be used to run a single analysis across multiple processors and work with most ANSYS, Inc. applications. your ANSYS sales representative for a complete list of applications that can be used with ANSYS HPC Pack Licenses. ANSYS HPC Pack Licenses enable parallel for single simulations according to the following schedule: • 1 ANSYS HPC Pack License per simulation: Combined Us and GPUs not to exceed 8 • 2 ANSYS HPC Pack Licenses per simulation: Combined Us and GPUs not to exceed 32 • 3 ANSYS HPC Pack Licenses per simulation: Combined Us and GPUs not to exceed 128 • 4 ANSYS HPC Pack Licenses per simulation: Combined Us and GPUs not to exceed 512 • 5 ANSYS HPC Pack Licenses per simulation: Combined Us and GPUs not to exceed 2048 You cannot use more than five HPC Pack Licenses on a single analysis. Individual HPC Pack Licenses cannot be split between multiple s or between multiple analyses. Mechanical APDL allows you to use two processors without using any HPC licenses; ANSYS HPC Pack licenses function independently of this base capRelease 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
83
End- Settings ability. For example, a Mechanical APDL simulation using a single ANSYS HPC Pack License can access up to eight processors (or cores), as noted above, and not ten processors (or cores). HPC Pack Licenses do work with ANSYS Workbench's Remote Solve capability; however, HPC Pack Licenses are not subject to single license sharing as described in ANSYS Workbench Licensing Methods (p. 78). You cannot combine ANSYS HPC Pack Licenses with any other type of HPC licenses, including ANSYS HPC licenses, in the same solution. ANSYS HPC Pack Licenses are not valid with academic products. One ANSYS HPC Pack License can be borrowed at a time. Multiple HPC Pack Licenses or other HPC licenses cannot be borrowed. Mechanical HPC, CFX Parallel Computing, CFD HPC, etc. Licenses These physics-specific licenses will continue to work. The Mechanical APDL application allows you to use two processors without using any HPC licenses; Mechanical HPC licenses accommodate this feature. For example, a Mechanical APDL with two Mechanical HPC tasks can access four processors/cores. You cannot combine physics-specific HPC licenses with any other type of HPC licenses, including ANSYS HPC or HPC Pack Licenses, in the same solution.
4.2.2.1. Specifying HPC License Order Use the HPC tab to define the order in which HPC licenses are used. By default, the physics-neutral HPC licenses are listed before the physics-specific HPC licenses. If you wish to change the order, select licenses and click the Move up or Move down button to reorder the list.
Note Be aware that you can only use five (5) HPC Pack Licenses (a maximum of 2048 processors) for a single analysis. If you configure your distributed analysis such that it requires more than 2048 processors, the HPC Pack Licenses will not be used, regardless of how many HPC Pack Licenses are available. The analysis will use the next available HPC license category (for example, ANSYS HPC or Mechanical HPC), and will consume as many licenses as necessary to accommodate the specified number of processors.
84
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Establishing Licensing Preferences
4.2.3. HPC Parametric Pack Licensing ANSYS, Inc. offers additional license options called HPC Parametric Packs for ANSYS Workbench jobs requiring multiple design point updates. HPC Parametric Packs enable you to simultaneously update multiple design points of a single design study while using only a single license of each required base license. You must use the ANSYS Workbench reserved licensing feature to use HPC Parametric Pack licenses. HPC Parametric Packs enable a specific number of simultaneous design points, as follows: • 1 HPC Parametric Pack: 4 simultaneous design points • 2 HPC Parametric Packs: 8 simultaneous design points • 3 HPC Parametric Packs: 16 simultaneous design points • 4 HPC Parametric Packs: 32 simultaneous design points • 5 HPC Parametric Packs: 64 simultaneous design points You can use a maximum of five HPC Parametric Pack licenses per design study. HPC Parametric Packs also work in conjunction with ANSYS HPC and ANSYS HPC Pack Licenses. Use the HPC licenses to enable multiple parallel processes to be used for each design point. For more details on working with HPC Parametric Pack licenses in ANSYS Workbench, see Using HPC Parametric Pack Licenses in the Workbench 's Guide. Additional Restrictions ditional restrictions:
HPC Parametric Pack licenses have the following ad-
• HPC Parametric Pack licenses apply to specific ANSYS, Inc. commercial licenses only; see your ANSYS, Inc. sales representative for a complete list of applicable licenses. • HPC Parametric Pack licenses are ed only on platforms ed by ANSYS Workbench. • HPC Parametric Pack licenses are not ed for Explicit Dynamics. • HPC Parametric Pack licenses are not available for borrowing. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
85
End- Settings • HPC Parametric Pack licenses do not work with ANSYS Academic products. • HPC Parametric Pack licenses do not interact with Ansoft licenses hosted in ANSYS Workbench.
4.3. Setting Up License Queuing The License Queuing option allows an ANSYS process to wait (queue) for an available license in the event all licenses are checked out. Activate this option by setting the environment variable ANSWAIT to 1. If the ANSWAIT environment variable is not set, then the ANSYS process will terminate with the following message in the event all ANSYS licenses are checked out. This is the default condition. Licensed number of s already reached (-4,132)
The License Queuing option may not be available on all products.
4.4. Using License Borrowing License borrowing (available only on Windows machines) allows a to take a license for use outside of the company facility, such as for an engineer to take a license home on his laptop. Before s can take advantage of license borrowing, the site needs to set up the borrowing environment (see Run the ANSYS Borrow Utility (p. 55)). License borrowing is available only if you have borrowable licenses and only on Windows machines; however, the license server machine that is managing the licenses can be any system that ANSYS, Inc. s as a license server. You cannot run both borrowed and non-borrowed licenses simultaneously. For example, if you borrow licenses but remain connected to a network from which you can use licenses, you will be able to use only the borrowed licenses. Likewise, if the machine on which you borrowed licenses is also a license server from which you could normally use licenses, you would be able to use only the borrowed licenses. You can borrow only one task of any particular license. This option is available only for the client version of ANSLIC_. 1.
86
Connect to the network where the license server machine is running.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using License Borrowing 2.
Launch the client license borrowing utility: Start> Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0. Select Run the ANSYS Borrow Utility.
3.
On the Borrow tab, specify the version number and return date. The return date defaults to the third day from the current date. If you change any of the borrowing criteria, the product list will automatically update in five seconds. To update the list immediately, click the Update Delay (sec) button.
4.
Select the product(s) you want to borrow. The product list includes add-on features or geometry interfaces. If you do not see a product listed that you think should be available, that you have selected the correct version.
5.
Click Borrow.
6.
Disconnect from the network. Note that even when you've disconnected from the network, you must still run the products from the same you used to borrow the licenses. For example, if you use a network to borrow the licenses, you cannot then run from a local . Be sure to that you can run the correct product with the borrowed licenses from your machine AFTER you've disconnected from the network. If you encounter any difficulties, reconnect to the network, return the license, and then re-borrow the correct license.
If you keep a license for the full amount of time, there is no need to check the license back in. Your borrowed license will simply expire at the end of the borrow period, and the license will be released into the pool of available licenses. To return a license early: 1.
Reconnect to the same license server from which you borrowed the license(s).
2.
Launch the client license borrowing utility: Start> Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility 15.0. Select Run the ANSYS Borrow Utility.
3.
Select the Return tab. Click Return all. If you wish to keep some but not all of the licenses you borrowed, you will need to re-borrow them.
4.
Disconnect from the network.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
87
End- Settings The license(s) you borrowed will be returned to the pool of available licenses.
Note You must return borrowed licenses from the same you used to borrow the licenses originally. Some multi-feature products include other products and/or add-on features. The utility will automatically check out any such included products or add-on features. If you borrow one of these multi-feature products and then click on the Return tab, you will see the product you selected, as well as any other products and add-ons that it includes. If you return a multi-feature product early, these products and add-on features will also be returned.
88
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 5: Troubleshooting This chapter lists problems and error messages that you may encounter while setting up licensing. After each situation description or error message is the action required to correct the problem. For more troubleshooting information, see the FLEXNet Licensing End 's Guide (accessible from the ANSLIC_ utility) . The following troubleshooting topics are available: 5.1. Getting Additional License Debug Information 5.2. Gathering Diagnostic Information 5.3. Problem Situations 5.4. Licensing Installation Process Errors 5.5. Licensing-Related Mechanical APDL Launcher Error Messages 5.6. Licensing Error Messages 5.7. License Manager Installation Directory Errors 5.8. ANSYS License Borrowing Errors 5.9. FlexNet License Log File Errors
5.1. Getting Additional License Debug Information Use the following suggestions to display or generate additional error messages and debugging information. • View the licdebug file. The licdebug file is generated when you run an ANSYS, Inc. application and resides in the .ansys subdirectory under the directory specified by the TEMP environment variable (Windows) or in the $HOME directory (UNIX/Linux). The licdebug filename will vary depending on the product but will follow the format licdebug.<product>.150.out. For example: If a licdebug file already exists and is dated today, the information is appended. If it is dated before today, the existing file will be renamed with a .old extension and a new file will be started. – Mechanical APDL (ANSYS): licdebug.ANS_SOLVER.150.out Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
89
Troubleshooting – ANSYS Workbench: licdebug.ANS_WB.150.out – Mechanical: licdebug.MECH.150.out – ANSYS Fluent: licdebug.FLUENT_SOLVER.150.out – ANSYS Polyflow: licdebug.POLYFLOW.150.out – ANSYS CFX-Pre: licdebug.CFX_PRE.150.out – ANSYS CFX Solver: licdebug.CFX_SOLVER.150.out – ANSYS CFD-Post: licdebug.CFD_POST.150.out. – ANSYS ICEM CFD (includes AI*Environment): licdebug.ICEM_AM.150.out – ANSYS Icepak: licdebug.ICE_PAK.150.out – ANSYS LS-DYNA: licdebug.DYNA_SOLVER.150.out – Connection functionality: licdebug.ANS_PM.150.out The directory specified by the TEMP environment variable may be hidden on your system. To view the directory and file, click on My Computer. Choose Tools from the menu, and then click on Folder options. Click on the View tab and select Show hidden files and folders. Click OK. If after following these suggestions, the resulting debug information does not make sense, try these suggestions: • Confirm that the license manager was restarted or the license file was reread after any changes were made to the license file. If the did not make any changes to the license file for the server, check the date/time that it was last changed. Get the relevant path information from the debug output. Also, confirm that the same path is being used. • Try restarting the license manager and then attempt to run again. See if the same situation occurs. • If the installed a new license file but is not seeing it even after restarting the license manager, confirm that the correct license file is being used to start the license manager. In this case, neither the client application nor the license manager is using the changed file. Also confirm that if site or license
90
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations preferences were set, the preferences were updated with the new license information. • If the license.dat file is at the end of the path and it is a license file that uses the license manager daemon/service, then confirm that the license manager is started with the same path as the license.dat file's path. The license manager could be looking at one file in the client application but the license manager daemon/service was started with another file.
5.2. Gathering Diagnostic Information You can use the Gather Diagnostic Information option of the ANSLIC_ utility to query the system for various pieces of information that may be needed for troubleshooting certain problems. This option collects information about the system as well as about ANSYS licenses and sends all of the information that it collects to the log area. At times it may be necessary to provide the information for technical . Use the Write to File button at the bottom of the ANSLIC_ to write a file. Then forward the file to the appropriate person.
5.3. Problem Situations This section describes problems you may encounter when setting up licensing or running an ANSYS product, as well as actions you can take to correct the problems.
5.3.1. License Manager Will Not Start If the license manager will not start, perform the tests that are listed below. Perform the tests in the order that they are listed. 1. Check the license.log file in the licensing directory on the license server for errors. See the remainder of this chapter for a list of possible errors and their resolutions. 2. Check the ansysli_server.log file in the licensing directory on the license server for errors. 3. that T/IP is installed and configured correctly. that the IP address is static. See Communications Requirements (p. 14) for information about configuring T/IP.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
91
Troubleshooting 4. that the hostid has not changed. If the hostid has changed, you must obtain a new license. Linux x64 Systems Linux x64 systems running the ANSYS, Inc. License Manager require the Linux Standard Base (LSB) package. If this package is missing, you will see one of the following errors when the license manager attempts to run: /lmgrd -h ./lmgrd: No such file or directory
In this case, try installing the LSB package from the Linux installation media. Three-Server Environment In a three-server environment, you could also see a message similar to the following message when you start the first of the three servers: ***Attempting to start the license manager... Start the License Manager status: The license manager failed to start. This message results when a quorum of servers (2 of the 3) are not yet started. Start the other servers, or that they are already started. When at least two of the three servers are started, you will see the ANSLIC_ status window of this server change to reflect that it is now running. Do NOT attempt to stop the license manager by clicking the Stop the ANSYS, Inc. License Manager button. If you that at least two servers are started and you still see this message, and the status window does not update to running in a reasonable time, follow the three steps noted in License Manager Will Not Start (p. 91).
Caution When you see this message, do NOT click the Start the ANSYS, Inc. License Manager button again.
5.3.2. License Manager Will Not Stop When you attempt to stop the license manager, it may not stop immediately. You should use the Stop the ANSYS, Inc. License Manager option of the ANSLIC_ utility to stop the license manager. We do not recommend stopping
92
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations the license manager manually; however, if you choose to do so, you must stop the components in the following order: 1. ansysli_monitor 2. Licensing Interconnect (ansysli_server) 3. FlexNet components (lmgrd first, followed by ansyslmd)
5.3.3. License Manager Will Not Stop in a Three-Server Environment When you attempt to stop the license manager in a three-server environment, the license manager does not stop immediately. You will see a message stating that the currently-installed license file is a three-server license file. With threeserver license files, the license manager could take 60 seconds or longer to successfully stop. Wait at least 60 seconds. When the license manager has successfully stopped, the ANSLIC_ status window will show that it is stopped.
5.3.4. The Application Does Not Show the Correct License(s) If you do not see the correct licenses in your application, in ANSLIC_'s Set License Preferences for option, or in the Mechanical APDL Product Launcher, check the following: 1. If you received a new license but your application does not recognize it, you may need to reset your preferences. If you had previously set your license preferences, select Set License Preferences for from the ANSLIC_ utility and add the new license to your list in the desired order. 2. If you had previously defined your preferences and have since installed the license manager to a different location, you may need to reset your preferences. 3. If you do not see the correct licenses in the ANSLIC_'s Set License Preferences for option or in the Mechanical APDL Product Launcher, and you updated your product order at a previous release, you may need to manually update your product order again. Use the Specify Product Order option under ANSLIC_'s Set Site Preferences. On the license server machine:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
93
Troubleshooting 1.
Select the Reset to Default button to see the current release's default product order.
2.
Reorder the products as you wish, including any new products.
For more information on setting product order, see Specify Product Order (p. 64). For information on setting license preferences, see Establishing Licensing Preferences (p. 77).
5.3.5. I Do Not See an HPC Product Category in the Specify Product Order or the Set License Preferences for Dialogs If your site has HPC licenses but you do not see an HPC Product Category in the Specify Product Order or the Set License Preferences for dialog boxes, you may already have site license preferences set (via the Specify Product Order option) from an earlier release. You could also see this problem if you had set site license preferences and have since installed the license manager to a different location. To correct this problem, reset the site preferences again after installing the current release by selecting the Reset to Default button and then resetting your product order preferences on the license server machine: 1.
Select the Reset to Default button to see the current release's default product order.
2.
Reorder the products as you wish, including any new products.
5.3.6. FlexNet Log File Shows Unexpected Messages When the License Manager Is Stopped On Windows systems, you may see unexpected error messages in the FlexNet licensing log file when you shut down the license manager. Messages similar to the following could appear: 13:47:49 (lmgrd) Shutting down ansyslmd pid=1860 because of signal 15 13:47:49 (lmgrd) Can't connect to the license server system. Shutdown ansyslmd failed. 13:47:49 ((lmgrd)) 13:47:49 Loop info:(lmgrd) Cannot read data from license server system. (-16,10009:10054 "WinSock: Connection reset by peer")
94
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations MT:0 VD_HB:5913:47:49 (lmgrd) reset:0Can't shutdown the license server system. Shutdown ansyslmd failed. clients:013:47:49 (lmgrd) fd's:0EXITING DUE TO SIGNAL 15 13:47:49 (lmgrd) ansyslmd exited with status 58 () 13:47:49 (lmgrd) Since this is an unknown status, license server 13:47:49 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon. 13:47:49 (lmgrd) EXITING DUE TO SIGNAL 1 13:47:49 (lmgrd) Can't remove statfile C:\Documents and Settings\All s\Application Data\Macrovision\FlexNet\lmgrd.620: errno No such file or directory These or similar messages in the FlexNet log file can be safely ignored in most cases. You can that the service is shown as stopped, and that the ansysli_server, ansysli_monitor, lmgrd, and ansyslmd processes are stopped via Task Manager.
5.3.7. Unable to Check Out Licenses If the license manager appears to start but you cannot check out any licenses, perform the tests that are listed below. Perform the tests in the order that they are listed. 1. Review the Licensing Interconnect debug log file for more information. Use the View Status/Diagnostic options > View the ANSYS Licensing Interconnect Debug Log File option of the ANSLIC_ utility (the Server ANSLIC_ Utility on Windows) to view the file. 2. On the license server machine(s), review the FlexNet license.log file for error messages. Use the View Status/Diagnostic options > View the ANSYS FlexNet Debug Log File option of the ANSLIC_ utility (the Server ANSLIC_ Utility on Windows) to view the file. 3. If neither log file exists or has a zero length, that you have write permissions on the files and on the directory containing the files (the licensing directory by default).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
95
Troubleshooting 4. If you have borrowed licenses, that you are not attempting to check out a non-borrowed license. Once you have borrowed one or more licenses, you will not be able to use non-borrowed licenses until you have returned all borrowed licenses. You could also encounter problems with obtaining a license if the Licensing Interconnect is still attempting to restart the FlexNet server. Check the FlexNet license.log file. If you see the following lines multiple times, try rebooting your license server machine: (lmgrd) (lmgrd) (lmgrd) (lmgrd)
ansyslmd exited with status 28 (Communications error) Since this is an unknown status, license server manager (lmgrd) will attempt to re-start the vendor daemon. REStarted ansyslmd (pid 103864)
5.3.8. Entries in the FlexNet Options File Are Ignored If you are using a FlexNet Options file and the Licensing Interconnect is not recognizing those entries (such as INCLUDE statements), and you are using IP addresses, you must also include the IP address of the system on which the Licensing Interconnect is running.
5.3.9. Jobs Abort When License Manager Goes Down in ThreeServer Environment If you are running in a three-server environment and ANSYS program jobs abort when one of the license managers goes down, perform the tests that are listed below. Perform the tests in the order that they are listed.
Note If this problem persists after you perform the steps below, you may want to consider switching to a single-server environment.
Note When using a three-server environment, we strongly recommend that all three servers be on the same subnet. If this is not the case, you should consider using three machines which are in the same physical location and are on the same subnet.
96
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations 1. that two of the three license managers are still running. Use the ANSLIC_ utility (Display the License Status). If the license manager is not already running on all servers, start it on all of them. 2. Check the ansyslmd.ini file in the licensing directory to make sure the server specification is correct. 3. Check to see whether the ANSYSLI_SERVERS or ANSYSLMD_LICENSE_FILE environment variable is set. If it is, that the settings are correct. 4. that the same license file exists on all three license servers in the licensing directory. The hostnames of all three servers must appear in these files and in the same order. If the license files are not the same on all three servers, make corrections as necessary and restart the license manager. 5. that the date and time on all license servers are consistent and correct. Make corrections as necessary and restart the license manager. 6. that the hostid has not changed on any of the license servers. If any hostid has changed, you need to obtain and install new licenses on all license servers. 7. that the license manager and utilities are installed locally on each license server. If not, run the installation from the installation media and choose to install the license server only. See the installation manual for your product and platform for more information. 8. that the ansyslmd.opt files match exactly on all three license servers. 9. Check the FlexNet license.log and the licensing interconnect ansysli_server.log files for error messages. See the remainder of this chapter for a list of possible errors and their resolutions.
5.3.10. Licensing Log File Not Created On Windows, if the license manager starts and licenses can be taken from the license server, but the FlexNet licensing log file and the ansysli_server.log file are not written, check the . that the (as well as the individual ) has write privileges to the directory where the log files are to be written.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
97
Troubleshooting
5.3.11. Queuing Does Not Work If queuing does not work, refer to the following list of possible causes and corrections: • that the environment variable ANSWAIT is set to 1. • The license manager is down. In this case, use ANSLIC_ to start the license manager. • The hostname is mistyped in the ansyslmd.ini file or the ANSYSLMD_LICENSE_FILE environment variable. If so, correct the name and retry. • You are not licensed for the requested feature. In this case, request a product for which you are licensed. • All licenses for the requested feature are reserved in the license options file. If so, have the license correct the license options file. • The is excluded via the license options file from using the licenses for the feature(s) that are installed on this machine. • You are running an application that does not queuing.
5.3.12.The FlexNet Utility lmutil Does Not Shut Down License Manager If you attempt to use the FlexNet utility lmutil from an earlier release (such as the FlexNet 10.8.8 version of the daemons) to shut down the ANSYS, Inc. Release 15.0 License Manager, you may see the prompt to shut down the license manager repeatedly: lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved. [Detecting lmgrd processes...] Port@Host 1) 1055@pghxp7 Are you sure (y/n)?
Vendors ansyslmd y
If the current version of the lmutil is not in the licensing directory, the older version of lmutil may or may not shut down the ansyslmd daemon, but it will not shut down the lmgrd daemon.
98
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations To correct this error, use the most current version of lmutil to shut down the license manager.
5.3.13. The FlexNet Utility lmcksum May Give Misleading Information The FLEXlm utility lmcksum may give misleading information. Do not rely on its results to the accuracy of your license file.
5.3.14.The Mechanical APDL Launcher is Excessively Slow to Start If the Mechanical APDL launcher takes an excessively long time to startup (Windows only), make sure the hostnames in the ansyslmd.ini file and in the ANSYSLMD_LICENSE_FILE and the ANSYSLI_SERVERS environment variables are typed correctly and that the hosts specified by the hostnames exist. Replacing hostnames with IP addresses may improve the speed as well. Also that the port number is correct.
5.3.15. Mechanical APDL Launcher is Not Using ANSYS150_PRODUCT Environment Variable Correctly If the Mechanical APDL Product Launcher does not use the product specified by the ANSYS150_PRODUCT environment variable the first time that the launcher is run, you may need to clear your profiles and settings. In the launcher, choose Options >Delete All Settings/Profiles. This option will remove any profiles you have saved for this release, and revert back to using the ANSYS150_PRODUCT setting. Please see the discussion on Launcher Menu Options in the Operations Guide for more details on using the Delete All Settings/Profiles option before choosing this option.
5.3.16. Cannot Run a Product Listed in the Mechanical APDL Product Launcher When running the Mechanical APDL Product Launcher, if you see the products listed correctly under the License field but are not able to run a product (you may see various error messages), the FlexNet license path (usually <port>@
) may not be specified correctly. If you see the products listed but are not able to run a product, select Tools> Display License Status and review the FlexNet license path for errors. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
99
Troubleshooting
5.3.17. No Licensing Interconnect or FlexNet Path Available from Display the License Status Option If you select the Display the License Status option from the ANSLIC_ utility and see a message stating that the Licensing Interconnect or FlexNet path is empty, try the following: 1. Use the Specify the License Server Machine option of the ANSLIC_ utility to specify the missing Licensing Interconnect or FlexNet port number. (On Windows, use the Client ANSLIC_ utility.) If the machine is already specified but the error message states that no FlexNet path has been specified, the FlexNet port number may be missing from the license server specification shown in the Specify the License Server window. Add the machine's FlexNet port number using the Specify the License Server Machine option to add this machine to your FlexNet license path.
Note This particular machine may have been configured to run the ANSYS Licensing Interconnect without starting FlexNet. that FlexNet is running on this machine before changing this setting.
2. Check the ANS_FLEXLM_DISABLE_DEFLIATH environment variable setting. If this environment variable is set, the ANSYS, Inc. License Manager will not use the license server machine specifications in the ansyslmd.ini file. In this case, only the ANSYSLMD_LICENSE_FILE and ANSYSLI_SERVERS environment variable settings will be used. See Specify the License Server Machine (p. 50) for more information on specifying license server machines.
5.3.18. Cannot Enter Data in Text Fields On some SUSE Linux systems and possibly other systems, if you cannot enter data in text fields during the installation or when using the ANSLIC_ utility, you may be encountering a Tcl incompatibility. To correct the problem, unset the following environment variables before running the installation or the ANSLIC_ utility: QT_IM_MODULE
100
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Problem Situations XMODIFIERS GTK_IM_MODULE You should reset these environment variables when you are finished running the installation or using ANSLIC_. Do not permanently unset these environment variables as doing so could affect other applications.
5.3.19. Cannot See the Entire Run License Wizard Dialog Box On some SUSE Linux systems and possibly other systems, you may not be able to see the entire dialog box when you select Run License Wizard from the ANSLIC_ utility. To correct the problem, resize the window vertically until the entire dialog box is visible.
5.3.20. Design Point Project Locks Reserved Licenses During a Hang If you are running a design point study in ANSYS Workbench and are using reserved licenses, you may need to free licenses if one or more design points hang or do not complete successfully. To do so, you will need to free the entire reserve. When a reserves a group of licenses, the group is given a reserve ID. To free a reserved license without shutting down the license manager, you can use a specific ID, you can return licenses reserved by a specific , or you can return all reserved licenses. If you want to return a license associated with a specific reserve ID, issue the following ansysli_util command option to find the reserve ID of the reserved licenses: ansysli_util
-reserve_list
The list of reserve IDs will be displayed. For example, issuing the above command might return output similar to the following (your output will appear on a single line): LABEL/RESERVE-ID jqd MyProject(###)(###)634710595285628367 licabc.acme.com--7782-6343374 PRODUCT TASK HOST FlexNet_SERVER ANSYS Dynamics
19 jqd.win.acme.com--7782-6343374 1055@licabc RESERVED_DATE 2012/05/01 14:51:43 ANSYS Academic Mechanical HPC 3
Using the reserve ID from the previous command output, issue the following command to remove a specific reserve: Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
101
Troubleshooting ansysli_util -return_reserve_by_id id
If you want to return licenses reserved by a specific , issue the following command: ansysli_util -return_reserve_by_ name
If you want to return all reserved licenses, issue the following command: ansysli_util -return_reserve_all
These commands remove any free or hung licenses in the reserve; if any of the reserved licenses are still in use, those running jobs will continue to completion. The design point study will not start new jobs, since the reserves have been removed.
5.3.21. Removing the Obsolete ANSYS FLEXlm License Manager Service If you run the server ANSLIC_ utility, you may see a message displayed indicating that the ANSYS FLEXlm License Manager Service, used from Release 5.7 through 11, is still on the machine and needs to be removed. You must have istrative privileges to remove this service. To remove this obsolete service: •
Open a command prompt window. (If the machine has UAC enabled, rightmouse click on the Command Prompt option from the Start menu and select Run as .) Enter the following commands in the command prompt window: net stop "ANSYS FLEXlm license manager" sc delete "ANSYS FLEXlm license manager"
If you see a message stating that access is denied, confirm that your has privileges and that you have opened the command prompt window with privileges. It can take several minutes for the service to be completely removed. Therefore, after you receive the message stating that the removal of the service was successful, please allow several minutes for it to complete.
102
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing-Related Mechanical APDL Launcher Error Messages
5.3.22. See a “File Not Found” Message When Running a Licensing Utility Linux x64 Systems Linux x64 systems running the ANSYS, Inc. License Manager require the Linux Standard Base (LSB) package. If this package is missing, you will see a message similar to one of the following errors when the license manager attempts to run, or when you attempt to run a licensing utility, such as ANSLIC_, getFLEXid, or lmutil. /lmgrd -h ./lmgrd: No such file or directory
If you have confirmed that the file listed does exist, try installing the LSB package from the Linux installation media.
5.4. Licensing Installation Process Errors If you encounter a problem during the configuration steps of the licensing installation process that results in a failure or abort, or if you are concerned that the licensing installation did not complete correctly, try running the Complete Unfinished Licensing Installation Configuration option from the ANSLIC_ utility's Tools menu (not available for the Windows server ANSLIC_ utility). This option will only repeat the licensing installation configuration steps that correspond to the version of the ANSLIC_ utility you are running (client or server) and cannot be used as an alternative means of installing. If you are installing the license server on a Windows machine and encounter a problem, we recommend that you try re-running the licensing installation.
5.5. Licensing-Related Mechanical APDL Launcher Error Messages Some messages that you see from the Mechanical APDL launcher are related to product licensing. These messages follow. For additional Mechanical APDL launcher error messages, see the Troubleshooting section of the ANSYS, Inc. Installation Guide for your platform. Various Messages If you see any licensing-related messages, the launcher has encountered an error while trying to find or retrieve a license. Possible causes are the license manager is not running, no licenses were found, or the existing licenses have
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
103
Troubleshooting expired. If any of these messages appear, perform the tests that are listed below in the order presented: 1. that the license manager is running on all license servers by viewing the status window on the ANSLIC_ utility. If the license manager is not running, start it on the license server machine(s). 2. Check the license.log and ansysli_server.log file on each license server for errors. 3. Run Mechanical APDL (ANSYS) from a command prompt to check for additional error messages. Example (Windows): "C:\Program Files\Ansys Inc\V150\ANSYS\bin\intel\ansys150"
Check the Mechanical APDL (ANSYS) Output window for error messages and additional information about the failure. 4. Use the ping command to test communication between the client machine and the license server. If the ping command does not work, modify the hosts file or the DNS server to contain the correct host names and IP addresses. that the license server and the client machines have unique IP addresses. 5. that the ansyslmd.ini file exists in the client licensing directory and that it contains the correct hostname and port numbers of the license server. If this file does not exist, see Specify the License Server Machine (p. 50) to specify the license server. If the ANSYSLMD_LICENSE_FILE variable is used to specify the license server, that the hostname of the license server is correct. 6. that the correct version of the license manager daemons (lmgrd and ansyslmd) is being used. The current version is FlexNet 11.11.1.1. ***Unable to load profile
because simulation environment <simulation environment> is not available. If you see this message, the simulation environment specified in the named profile was uninstalled since the profile was created. You will need to specify a new simulation environment and re-specify any launcher settings to con104
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing Error Messages tinue. To avoid seeing this message in subsequent launcher sessions, update and resave the profile, or reinstall the desired simulation environment.
5.6. Licensing Error Messages *** Licensed number of s already reached. You may have reached the number of ANSYS product tasks that you have licensed. Wait until a task has been freed up and try again. If this error occurs on a regular basis, you may want to talk to your ANSYS sales representative about obtaining additional licenses. This error may also occur when licenses have been reserved for certain s, or when certain s have been excluded from licenses via the license options file. *** All licenses are reserved for others. This error may occur if you have multiple INCREMENT lines for the same feature in the license file, and there are differing fields on each INCREMENT line (such as VENDOR_STRING and the version field), and licenses have been reserved for this feature. In this situation, the number of reserved licenses is reserved out of each INCREMENT, rather than the sum total of both. *** Cannot connect to license server. or ***Unable to connect to FlexNet license server The license manager is currently not running. Use the ANSLIC_ utility to start the license manager. Your license must exist on the license server prior to starting the license manager. If you install the license manager and a license file, and it appears that the server is running, but you cannot connect to your license server, try rebooting. If you think the license manager should already be running, check the FlexNet license log file and the ansysli_server.log file for errors. Some other possible causes for this error include:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
105
Troubleshooting • If Windows Firewall is enabled on the license server, ansyslmd.exe, lmgrd.exe, and ansysli_server.exe need to be included in the exceptions. • The wrong hostname is in the license file (machine ID is correct in the file and when the license keys were generated). The license manager could not be started. • The wrong license file is on the system (both hostname and machine ID are incorrect and the license keys were created with the wrong ID). The license manager could not be started. • The wrong license file is on the system AND the changed the server line to have the machine's hostid but not the hostname. The license manager could not be started. • An incorrect port number was used on the SERVER line(s) in the ansyslmd.ini file or in the setting of the licensing path environment variable ANSYSLMD_LICENSE_FILE • All of the installed license files have expired. If none of the above causes are applicable, the Licensing Interconnect may not have started because it was not able to start the FlexNet server or may have exited after failing to restart the FlexNet server. Check the FlexNet license log file (license.log). If you see the following lines multiple times, try rebooting your license server machine: (lmgrd) (lmgrd) (lmgrd) (lmgrd)
ansyslmd exited with status 28 (Communications error) Since this is an unknown status, license server manager (lmgrd) will attempt to re-start the vendor daemon. REStarted ansyslmd (pid 103864)
*** Feature removed during lmreread, or wrong SERVER line hostid Some possible causes of this message include: • There is a typographical error in the license file's SERVER line. Typically, the machine ID was mistyped when manually entering the license file on a machine. • The tried to install another machine's license file on a machine and changed the SERVER line in the file to have this machine's hostname but not the machine ID.
106
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing Error Messages • A laptop with a docking station (with an Ethernet card in it) is removed from the docking station and the license file was made using this card's Ethernet address. • The feature was removed during lmreread but the client is reading an old copy of the license file that still contains the removed feature. *** Clock difference too large between client and server. This message will appear if the date on the client machine has changed. The date should never be set ahead or behind the actual date. *** License server does not this feature. This message can be generated if the feature has expired (on the server), or has not yet started, or the version is greater than the highest ed version, or the license file has been edited while the license server is running and the license file is not reread. Additional causes for this message include: • If the is trying to install another machine's license file on a machine AND changes both the hostname and the machine ID information on the SERVER line to be this machine's information. The INCREMENT lines contained in the license file are still invalid for this machine. • If new information for the requested feature was added to the license file but neither an lmreread was issued nor was the license manager restarted. • If a laptop with a docking station (with an Ethernet card in it) is removed from the docking station, and the license was made using this card's Ethernet address, AND the edited the SERVER line, replacing the Ethernet address with the disk signature of the machine (in an attempt to fix the problem). Such an attempt will not succeed because the INCREMENT lines were created using the docking station's Ethernet address, which in this situation can no longer be seen on this machine. • If one or more INCREMENT lines that were made for machine A were installed in machine B's license file and those features were trying to be checked out from machine B. *** Feature has expired.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
107
Troubleshooting Your license has expired; please your ANSYS sales representative for a renewal. *** No such feature exists. • A license does not exist for the requested product. that the ANSYSLMD_LICENSE_FILE environment variable and the ansyslmd.ini file are pointing to the correct license server. • that you are running the correct product. Use the Set License Preferences for option of the ANSLIC_ utility to specify the products and the product order you want to use. • If you are not licensed to run this product, your ANSYS sales representative to obtain a license. • If you are licensed to run this product, install the license from the license supplied by ANSYS, Inc. or your ANSYS sales representative using the ANSLIC_ utility. If you have already created the license, use ANSLIC_ to reread the license file. • You could also see this message if you are trying to use a license manager daemon from a previous release. The license manager daemons (lmgrd and ansyslmd) at this release are FlexNet 11.11.1.1. Failover feature <product name> specified in license preferences is not available. You may see this message if you specify a particular license (such as with the -p command line option on the Mechanical APDL (ANSYS) product) and no license for that product is currently available in the license path. Check the following: • The license may have expired. • All of your licenses may be in use. • You do not have the specified license. • The license is not included in your license preferences as set with the Specify License Preferences for in the ANSLIC_ utility.
108
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing Error Messages • Your TECS for this version may have expired. *** License file does not this version. The build date in the program is newer than the version in the license file. You may not be authorized to run a new release or you may not have installed your new license. If this is the case, install the license using the ANSLIC_ utility. If you have installed the new license, use ANSLIC_ to reread the license file. To view the build date in Mechanical APDL (ANSYS), use the -v command line option. *** Invalid (inconsistent) license key The license manager daemons for this release are FlexNet 11.11.1.1 (lmgrd and ansyslmd). that you are not using the license manager daemons supplied with a previous release. This error can also occur if the license key contains incorrect characters or format (sometimes caused by transferring the file). Invalid license file: None of the hostnames in the license file match the system hostname. This message occurs when you install the license file if the hostname of the system you are running on does not match any of the hostnames in your license file. Some possible reasons why this can happen include: • You are attempting to run on a system that has not been included in your license. • The hostname of the system you are working on has been changed since it was used to generate the license information. • A typographical error was introduced when the hostname was entered when creating the license key. • On some newer Linux machines, the system hostname is not listed consistently in the /etc/hosts file. When you run the License Server Information or the Display the License Server Hostid option of the ANSLIC_ utility, the utility uses the localhost information instead of the correct system hostname. An example of the problematic /etc/hosts file might look like this:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
109
Troubleshooting # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost abclinux5 10.99.9.99 abclinux5 abclinux5 [root@abclinux5 ~]$ hostname abclinux5 [root@abclinux5 ~]$ hostname -s localhost [root@abclinux5 ~]$
In this example, the License Server Information or the Display the License Server Hostid option would incorrectly use the localhost information. To correct the problem, you need to edit the /etc/hosts file and change the order of the hostname lines. The example shown above would then look like this: # Do not remove the following line, or various programs # that require network functionality will fail. 10.99.9.99 abclinux5 abclinux5 127.0.0.1 localhost.localdomain localhost abclinux5 [root@abclinux5 ~]$ hostname abclinux5 [root@abclinux5 ~]$ hostname -s abclinux5 [root@abclinux5 ~]$
In the corrected example, the License Server Information or the Display the License Server Hostid option would correctly use the abclinux5 hostname. *** Local checkout filter rejected request. View the license debug log files (FlexNet license.log and the Licensing Interconnect ansysli_server.log) to find the specific cause of this message. *** Cannot find server hostname in network database. This message will appear if one or more of the SERVER computer names do not appear in the client computer's /etc/hosts file (UNIX/Linux) or the services file (Windows). ***The ANSYS license manager server is down. Unless a connection is reestablished, ANSYS will exit in nn minutes.
110
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing Error Messages A message similar to this one occurs in a one-server license environment if your license manager has quit running. In a three-license server environment, the ANSYS, Inc. license manager must be running on at least two of the three license server machines at all times. If two of the license server machines go down, or two of the machines are not running the license manager, this error message will appear in the program output or in a message box. The program will continue to run for nn minutes to allow the license manager to be restarted or to be started on a second machine if using redundant servers. When this error message appears, start the license manager on the other machines designated as license servers. If you get this message and determine that the license manager is still running, and you are running in a one-server environment, then the IP address of the license server machine was changed while the ANSYS product was running (this is usually caused by connecting to or disconnecting from an Internet Service Provider (ISP) that dynamically allocates IP addresses). To correct this situation, you must return the IP address to the same address that the license server had when the ANSYS product was started. If the IP address changes after you start the ANSYS product (either because you connected to or disconnected from your ISP), you can correct the error by restarting the ANSYS product. You should not need to restart the license manager. You can avoid this problem by remaining connected to or disconnected from the ISP the entire time you are running the application. *** version of vendor daemon is too old. The license manager daemons at this release are FlexNet 11.11.1.1 (lmgrd and ansyslmd). that you are not using the license manager daemons supplied with a previous release. Your version of the ANSYS license client software is out of date. Please refer to Licensing Error Messages in the Troubleshooting section of the ANSYS, Inc. Licensing Guide. The version of the license client ansysli_client [version] must be greater or equal to the client ANSYS_application version [version]. This message indicates that you are attempting to start an ANSYS, Inc. application with an out-of-date version of the license client while using single license sharing. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
111
Troubleshooting If you are using different installation directories for the current and prior versions, you need to ensure that each version is running from the appropriate installation directory. If you are using the same installation directory for the current version as you used for the prior version, try the following solutions: • The license client was running during the installation process and was not replaced. In this case, close all ANSYS, Inc. applications, making sure that the license client closes, and then run the Complete Unfinished Licensing Installation Configuration option from the client ANSLIC_’s Tools menu. • The license client was running during the installation process and was replaced, but the application is not reading the new client. In this case, close all ANSYS, Inc. applications, making sure that the license client closes, and restart the ANSYS, Inc. application. Your version of the ANSYS license manager software is out of date. Please and install the current ANSYS license manager from the ANSYS Customer Portal. The version of the license server ansysli_server [version] must be greater or equal to the client ANSYS_application version [version].. This message indicates that you are attempting to start an ANSYS, Inc. product with an out-of-date version of the license server. You need to update to the latest version of the license manager. ***Cannot read data from license server. The server and the client are having difficulties communicating. This error is usually caused by the network setup or by the network data being different from the data in the license file (for example, the server name, machine ID, port number, or vendor daemon). • Confirm that the information on the SERVER line of the license file is the correct information for the server. • Confirm that the syntax of the SERVER and VENDOR lines of the license file is correct. • that T/IP is enabled correctly.
112
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing Error Messages • Check that the hosts file on the client machine contains the license server. • Try using <port>@
when specifying the server. ***The license server is taking too long to respond. The application has stopped waiting for a reply. The license server may be experiencing a high demand or a temporary outage. Try again later. In rare occasions, your site could be submitting too many requests too quickly (simultaneously or nearly simultaneously) to the ANSYS, Inc. License Manager. In this case, you will also see that the license server machine in question is averaging 85% U usage or higher. In this scenario, we recommend that you either point some of the clients to a different license server or install one or more standalone licensing interconnects for some of the clients to use. For instructions on installing a standalone licensing interconnect, see Run the ANSYS Licensing Interconnect without FlexNet (p. 25). ***Connection to the license server closed unexpectedly. If you see the above message and the server is not experiencing any demand, a virus scanner may be blocking connections to your license server. Rebooting your license server may also resolve the issue. Could not bind socket on port 2325. Address already in use. If you see the above message in your licensing log file, your operating system was not able to free a port before the timeout period expired. This situation could happen if the port is being used by some other application, or after you shut down a server if you did not wait long enough for the ports to free before restarting it. This situation appears to occur more frequently on Sun systems, because these operating systems have a default timeout period to free a port that may not be sufficient. On Sun systems, the default is 4 minutes for the CLOSE_WAIT and TIME_WAIT port states. You can adjust the default timeout period to 30 seconds by issuing either of the following commands as appropriate for your operating system level: ndd /dev/t -set t_time_wait_interval 30000 ndd /dev/t -set t_close_wait_interval 30000
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
113
Troubleshooting Consult your system before making changes to your default operating system settings or to determine which command is appropriate for your operating system level. ***Failed to retrieve license preferences. Please be sure that you are able to connect to the license server. If you attempt to set your license preferences and the client information is at a higher release than the server information, you may see this message. To , see the getprefs.log file (on UNIX/Linux machines, in .ansys in your home directory; on Windows, in %TEMP%\.ansys). Note the last lines in the example below: 2012/08/24 17:18:00 INFO Not connected to a local port. 2012/08/24 17:18:00 NEW_CONNECTION Connected to license server:
[email protected]. ANSYSLI_SERVERS:
[email protected] Servers:
[email protected] 2012/08/24 17:18:01 SITE_PREFS 2012.0806 Your version of the ANSYS license manager software is out of date. Please and install the current ANSYS license manager from the ANSYS Customer Portal. The version of the license server
[email protected] [1.1.2] must be greater or equal to the client ALI_UTIL version [1.3.0].
***License File filename has changed. Please do a reread to update the server. The license file or the FlexNet options file has been changed since the last restart of the license manager or reread of the license file. The changes will not be available until you restart the license manager or reread the license file. If you are running the ANSYS Licensing Interconnect and FlexNet independently and have cached the license file, the cached license file may be out of date. Restart FlexNet or reread the license file to update the cached license file. If you make changes to the license file, in addition to rereading the license file in FlexNet, you must also recache the license file in the Licensing Interconnect by restarting the Licensing Interconnect or by using the Reread the License Manager Settings option of ANSLIC_.
5.7. License Manager Installation Directory Errors The directory you specified is not valid for one of the following reasons: • Must not be a UNC path • Must not contain a symbolic link or junction 114
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS License Borrowing Errors • Must not be a filename • Must be an absolute path • Must be in long file name format (not 8.3 format) • Must contain a valid, existing local, fixed-media drive Please check your path, correct the problem, and retry. If you see this message or one that is similar, you may need to correct the path to the license manager. The message will display a particular error code (listed below). The -100 series numbers indicate errors associated with the path you entered; the -200 series numbers indicate errors associated with the path specified in the service. • -108 / -208: path is a UNC path; UNC paths are not permitted. • -109 / -209: path contains a remote (network) drive; remote drives are not permitted. • -110 / -210: path does not contain a valid drive letter from a to z. • -111 / -211: path points to a file rather than to a directory. • -113 / -213: path is a relative path, which is not permitted. • -114 / -214: root path is invalid. (Example: The drive specified in the path doesn’t exist.) • -115 / -215: path’s root path isn’t a local fixed-media drive path. • -116 / -216: path contains either a symbolic link or a junction, neither of which is permitted. • -117 / -217: path is a short (8.3) file name format path, which is not permitted.
5.8. ANSYS License Borrowing Errors ***Unable to return
, encountered “feature not found” attempting to return license feature
If you see the above message when attempting to return a borrowed license before the expiration date, the -2 -p license manager startup option might Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
115
Troubleshooting have been set. The -2 -p option is not ed. If you are running an earlier release, you must manually unset the option. In this case, you may also see the following in the log file: UNAUTHORIZED lmremove request from <> at node
. You may also see the above message if the existing server specification does not contain the machine from which the license was borrowed. To correct the problem, add the machine to the server specification. If the ANSYS Borrow Utility is open when the server specification is changed to contain this server, you must close and restart the utility after changing the license server specification and before returning the borrowed license.
5.9. FlexNet License Log File Errors ***Not a valid server hostname, exiting. Valid server hosts are: xxx The hostname in the SERVER line of the license file does not match the hostname of the system. In this case, change the hostname in the license file. Other possible causes include: • The license file was put on a machine other than the one for which it was created; therefore, the hostname is not correct. • The hostname of the license server changed. Change the hostname on the SERVER line of the license file to correct this problem. to send ANSYS the new hostname so that future license files are made with the correct hostname. • The license file was put on a machine other than the one for which it was created AND the changed the machine's ID on the SERVER line but did not change the hostname. If the machine ID is also wrong, you will also see a message about the wrong hostid on SERVER line after correcting the hostname. • The wrong hostname was used to create the license file. As long as the correct machine ID was used, you should be able to change the hostname on the SERVER line of the license file to fix this problem. to send ANSYS the correct hostname so that future license files are made with the correct hostname. ***Invalid license key (inconsistent authentication code)
116
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
FlexNet License Log File Errors The INCREMENT lines in the license file are not valid for this system (HostID mismatch). This error will also occur if the license file was typed incorrectly. Additional causes for this message include: • If a license file created for machine A is being installed on machine B AND the changed the hostname and the machine ID to machine B's in the SERVER line. • If INCREMENT lines created for machine A are appended to an existing license.dat file on machine B. • If a laptop with a docking station (with an Ethernet card in it) is removed from the docking station, and the license was made using this card's Ethernet address, AND the edited the SERVER line, replacing the Ethernet address with the disk signature of the machine (in an attempt to fix the problem). Such an attempt will not succeed because the INCREMENT lines were created using the docking station's Ethernet address, which in this situation can no longer be seen on this machine. • In a three-server license environment, if the license file was created using an incorrect hostid for one of the license servers, this message will appear and will prohibit an ANSYS product from running on any machine. that the hostid in the license file matches the hostid on all three license servers. If it does not, the license file must be created using the correct hostid for all license server machines. ***Wrong HostID on SERVER line for license file: <path to license file> License file is not valid for this machine. Possible causes include: • There is a typographical error. If the license file was entered manually, the machine ID may have been incorrectly typed in the SERVER line. • The installed a license file created for machine A on machine B and changed the hostname in the SERVER line but did not change the machine ID. • The hostid changed on a machine but the hostname stayed the same. • A laptop with a docking station (with an Ethernet card in it) is removed from the docking station, and the license file was made using this card's Ethernet address. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
117
Troubleshooting • A license file was made using the Windows disk signature but the keyword 'DISK_SERIAL_NUM=' was not put before the ID. Ethernet address would be expected. *** “XXX” : Not a valid server hostname, exiting. Valid server hosts are: “YYY”. The hostname listed in the license.dat (YYY) file does not match the hostname of the system (XXX).
118
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 6: Product Variable Table The following table shows all ANSYS, Inc. products and their associated feature name as used in the INCREMENT lines. This table is provided as a reference for both current and legacy products. Not all products listed are generally available but are included here for customers running an older release. Please your ANSYS sales representative or technical representative for details regarding product availability. Table 6.1: Product/Feature Names for Licensed Products Product
Feature Names
ANSYS Multiphysics Products ANSYS Mechanical CFD-Flo
ancfx*
ANSYS Mechanical Emag
ane3*
ANSYS Multiphysics
ane3fl*
ANSYS Multiphysics Solver
mpba*
ANSYS Structural Mechanics Products ANSYS Customization Suite
ans_act
ANSYS DesignSpace
caewbpl3
ANSYS DesignXplorer
dsdxm
ANSYS Fatigue Module
dfatigue
ANSYS Mechanical
ansys*
ANSYS Mechanical Solver
meba*
ANSYS Professional NLS
prfnls
ANSYS Professional NLT
prf*
ANSYS Rigid Body Dynamics
kinemat, dynamics
ANSYS Structural
struct*
ANSYS Structural Solver
stba*
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
119
Product Variable Table Product
Feature Names
ANSYS Explicit Dynamics Products ANSYS Autodyn
acdi_ad3dfull, acdi_adhpc, acdi_adprepost, int4nas
ANSYS Explicit STR
acdi_explprof
ANSYS LS-DYNA
dyna*
ANSYS LS-DYNA PC
dynapc*
ANSYS Fluid Dynamics Products ANSYS BladeModeler
acfx_bldmdlr
ANSYS CFD
acfd
ANSYS CFD MHD
acfd_mhd
ANSYS CFD Solver
acfd_solver
ANSYS CFD-Flo
acfd_flo
ANSYS CFD-Flo Solver
acfx_pre, acfx_solver, acfx_nolimit, acfx_parallel
ANSYS CFX
acfd_cfx
ANSYS CFX Advanced Turbulence Models
acfx_advanced_turbulence, acfx_turbulence_transition
ANSYS CFX Multiple Frames of Reference
acfx_mfr
ANSYS CFX Multi-Phase Flows
acfx_multiphase
ANSYS CFX Radiation Models
acfx_radiation
ANSYS CFX Reacting and Combusting Species acfx_combustion ANSYS CFX Solver
acfd_cfx_solver, acfx_pre
ANSYS CFX-RIF Flamelet Library Generator
acfd_rif
ANSYS Fluent
acfd_fluent
ANSYS Fluent Immersed Boundary Module
acfd_ib
ANSYS Fluent PEM Fuel Cell Module
acfd_fcell
ANSYS Fluent SOFC Fuell Cell Module
acfd_fcell
ANSYS Fluent Solver
acfd_fluent_solver
ANSYS Fluent V2F Module
acfd_v2f
ANSYS Polyflow
acfd_polyflow
ANSYS Polyflow BlowMolding
acfd_polyflow_blowmolding
120
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product
Feature Names
ANSYS Polyflow Extrusion
acfd_polyflow_extrusion
ANSYS Polyflow Solver
acfd_polyflow_solver
ANSYS TurboGrid
acfx_turbogrid
ANSYS Vista TF
acfd_vista_tf
ANSYS HPC Products ANSYS HPC
anshpc
ANSYS HPC Pack
anshpc_pack
ANSYS HPC Parametric Pack
ans_dp_pack
ANSYS LS-DYNA Parallel
dysmp
ANSYS Pre/Post Processing and Geometry Interface Products ANSYS Autodyn PrepPost
acdi_adprepost
ANSYS CATIA V6 Reader
a_catv6_reader
ANSYS CFD-Post
acfx_post
ANSYS CFD PrepPost
acfd_preppost
ANSYS Composite PrepPost
areppost
ANSYS DesignModeler
agppi
ANSYS Extended Meshing
amesh_extended
ANSYS ICEM CFD Hexa
aimed, aihexa, aimshcrt, aibfcart, aiiges, aiacis, aioutput, aioutcfd, aidxf, aiquad, aimshcrt
ANSYS ICEM CFD Tetra/Prism
aimed, aitetra, aiprism, aiiges, aiacis, aioutput, aioutcfd, aidxf, aiquad
ANSYS Interface for Team Center Engineering pdmiman ANSYS JT Reader
a_jt_reader
ANSYS LS-DYNA PrepPost
dynapp*
ANSYS Mechanical PrepPost
preppost*
ANSYS Meshing
amesh
ANSYS Mesh Morpher
paramesh
ANSYS RBF Morph Module
rbfmorph
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
121
Product Variable Table Product
Feature Names
ANSYS SpaceClaim CATIA V5 Interface
a_spaceclaim_catv5
ANSYS SpaceClaim Direct Modeler
a_spaceclaim_dirmod
CADNexus/CAPRI CAE Gateway for CATIA V5
capricatv5
Geometry Interface for Autodesk
piautoin
Geometry Interface for CATIA V5
picatv5
Geometry Interface for Creo Elements/Direct Modeling
1spacdes
Geometry Interface for Creo Parametric
piproe
Geometry Interface for NX
piug
Geometry Interface for Parasolid
rdpara
Geometry Interface for SAT
rdacis
Geometry Interface for SolidEdge
pisoledg
Geometry Interface for SolidWorks
pisolwor
ANSYS Academic Products ANSYS Academic Associate
aa_a*, aa_mcad
ANSYS Academic Associate CFD
aa_a_cfd, aa_mcad
ANSYS Academic Associate HPC
aa_a_hpc
ANSYS Academic CFD Turbo Tools
aa_turbo
ANSYS Academic Fuel Cell Tools
aa_fcell
ANSYS Academic Meshing Tools
aa_mesh, aa_mcad
ANSYS Academic Research
aa_r*, aa_mcad
ANSYS Academic Research AUTODYN
aa_r_ad, aa_mcad
ANSYS Academic Research CFD
aa_r_cfd, aa_mcad
ANSYS Academic Research Electronics Thermal
aa_r_et, aa_mcad
ANSYS Academic Research HPC
aa_r_hpc
ANSYS Academic Research LS-DYNA
aa_r_dy*, aa_mcad
ANSYS Academic Research LS-DYNA HPC
aa_dy_p
ANSYS Academic Research Offshore/Marine
aa_r_om, aa_mcad, aa_r_aql
ANSYS Academic Research Mechanical
aa_r_me, aa_mcad
ANSYS Academic Research Polyflow
aa_r_pf, aa_mcad
122
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product
Feature Names
ANSYS Academic Teaching Advanced
aa_t_a*, aa_mcad, aa_ds
ANSYS Academic Teaching CFD
aa_t_cfd, aa_mcad
ANSYS Academic Teaching Introductory
aa_t_i*, aa_mcad, aa_ds
ANSYS Academic Teaching Mechanical
aa_t_me*, aa_mcad, aa_ds
ANSYS EKM Products EKM Individual
ekm_desktop, ekm_md
EKM Shared
ekm_, ekm_md
ANSYS Offshore Products ANSYS AQWA DIFFRACTION
acdi_aqwags, acdi_aqwaline, acdi_aqwawave, acdi_hydrodiff
ANSYS AQWA SUITE
acdi_aqwadrft, acdi_aqwafer, acdi_aqwags, acdi_aqwalbrm, acdi_aqwaline, acdi_aqwanaut, acdi_aqwawave, acdi_hydrodiff
ANSYS AQWA SUITE with Coupled Cable Dynamics
acdi_aqwaline, acdi_aqwawave, acdi_cdags, acdi_cd-drift, acdi_cdfer, acdi_cd-libr, acdi_cdnaut, acdi_hydrodiff
ANSYS ASAS FEMGV
acdi_femgv, acdi_fgv_asas
ANSYS ASAS-OFFSHORE
acdi_asas, acdi_asaslink, acdi_asasnl, acdi_asas-vis, acdi_beamst, acdi_comped, acdi_fatjack, acdi_loco, acdi_mass, acdi_maxmin, acdi_post, acdi_postnl, acdi_prebeam, acdi_prenl, acdi_response, acdi_splinter, acdi_wave, acdi_windspec, acdi_xtract, preppost
ANSYS BEAMCHECK
acdi_asas-vis, acdi_beamst
ANSYS FATJACK
acdi_fatjack
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
123
Product Variable Table Product
Feature Names
ANSYS Electronic Thermal Management Products ANSYS Iceopt
aice_opt
ANSYS Icepak
aice_pak, aiiges, aiautmsh, aitetra, aice_mesher, aice_solv
ANSYS Legacy Products ANSYS ASAS
acdi_asas, acdi_asaslink, acdi_asasnl, acdi_asas-vis, acdi_beamst, acdi_comped, acdi_loco, acdi_maxmin, acdi_post, acdi_postnl, acdi_prebeam, acdi_prenl, acdi_response, acdi_xtract, preppost
ANSYS Autodyn HPC
acdi_adhpc
ANSYS CAE Templates
caetmpl
ANSYS CFD HPC
acfd_par_proc
ANSYS CFX-CAD2Mesh with DesignModeler
cad2mesh, aimed, aioutput, aiprism, aitetra, agppi, aiiges, aiacis, aipips, aidxf, acfx_pre
ANSYS CFX-Flo
acfx_anymodule
ANSYS CFX Full Capability Solver
acfx_pre, acfx_solver acfx_nolimit, acfx_mfr, acfx_multiphase, acfx_combustion, acfx_radiation, acfx_parallel, acfx_advanced_turbulence, acfx_turbulence_transition
ANSYS CFX-Mesh
cad2mesh
ANSYS CFX Parallel Computing
acfx_par_proc
ANSYS CFX PrepPost
acfx_anymodule
ANSYS DesignSpace Structural
dsstruct
ANSYS Emag
emag*
124
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product
Feature Names
ANSYS ICEM CFD
aienv, aienvsub, aiprism, aiiges, aiacis, aiedgeom, aioutcfd, aidxf
ANSYS ICEM CFD AddOn
aiaddon
ANSYS ICEM CFD Hexa CAA V5 Based (for CATIA V5)
aihexct5, aihexct5e
ANSYS ICEM CFD Quad
aimed, aiquad
ANSYS ICEM CFD Visual3 / PV3
aivis3
ANSYS Mechanical HPC
mechhpc
ANSYS Mechanical LS-DYNA
ansysds*
ANSYS Multiphysics LS-DYNA
ane3flds*
ANSYS Multiphysics Option 3
ane3fl3*
ANSYS Professional NLT Emag
prfe3*
ANSYS Structural CFD-Flo
stcfx*
ANSYS Structural Emag
ste3*
ANSYS TGrid
amesh_tgrid
Direct CAD Interface - SDRC-IDEAS
aipiidea
Geometry Interface for CATIA V4
picatia
An * after a feature name indicates that an item is a product variable and can be used on a stand-alone basis to start a product run in the Mechanical APDL (ANSYS) application. Products listed here use the ANSYS license manager (ansyslmd vendor daemon). ANSYS, Inc. does supply licenses for products that use other license managers, such as Fluent and Ansoft products which are not listed above; however, those products will use their respective license manager. To determine the license manager to which the license applies, see Recognizing an ANSYS, Inc. License File (p. 9)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
125
126
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Glossary ANSLIC_
A utility that centralizes the various ANSYS product licensing istrative functions. Tasks include, but are not limited to: • starting and stopping the license manager • installing licenses • displaying license status
ANSWAIT
An environment variable that will allow you to queue your ANSYS job in the event that all ANSYS licenses are in use. Once a license becomes available and you are next on the queue, your ANSYS job will automatically start.
ANSYS, Inc. License Manager
The ANSYS, Inc. License Manager consists of three components. The first two are FlexNet components; the last one is an ANSYS component. See the definitions of each for more information. • lmgrd • ansyslmd • ansysli_server
ansysli
see Licensing Interconnect
ansysli_client
A component of the Licensing Interconnect that is run by ANSYS applications on client systems. No configuration or istration is required or associated with this component.
ansysli_monitor
The ansysli_monitor runs on the same machine where the ansysli_server is running and ensures that the Licensing Interconnect is functioning correctly. If the Licensing Inter-
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
127
Glossary connect is not running, ansysli_monitor can restart it. If the Licensing Interconnect is running but is not responsive, ansysli_monitor can kill and restart it. ansysli_server
A component of the Licensing Interconnect that is run on the license server systems. Use ANSLIC_ to manage (start, stop, etc.).
ansysli_server.log
The Licensing Interconnect log file, it provides a chronicle of Licensing Interconnect licensing activity, including problems. The Licensing Interconnect log file is located in the licensing directory by default.
ansysli port number
Communication channel by which the ANSYS, Inc. applications communicate with the Licensing Interconnect. The default ansysli port number is 2325.
ANSYSLMD_LICENSE_FILE
An environment variable that may be used to specify the license server machine from which you want to check out a license.
ansyslmd
This is one of the FlexNet components of the ANSYS, Inc. license manager used to process ANSYS product licensing requests, including issuing and returning licenses. ansyslmd, often referred to as the vendor daemon, is started by lmgrd and must be running to perform the aforementioned tasks.
ansyslmd.ini
File that resides in the licensing directory. It is created by ANSLIC_ utility options Specify the license server machine and Modify license manager startup options.
backup server
In a three-server (redundant triad) network, the two servers not chosen to be the master are the backup servers. If the master server goes down, the backup server listed next in the license file automatically assumes the role of master. (A backup server is also known as a shadow server.)
128
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
borrowable license
A borrowable license is a license that you can use temporarily outside of the company facility (such as at home on a laptop). A special license key is required before any license can be borrowed.
build date
The build date is the year, month, and date the ANSYS application was built. The version field in the license file specifies the latest build date that can be run using that license. It may also appear as 9999.9999 if a maintenance agreement is not applicable.
Capability
ANSYS, Inc. has assigned identifiers to each of the specific areas of functionality in the software. We refer to these identifiers as capabilities, which you may see in ANSYS, Inc. licensing displays and logs. Each capability can be satisfied by at least one license feature; often, multiple license features can satisfy a particular capability.
client
A client is a machine that requests licenses but is not a license server machine (i.e., does not have licenses installed on it).
feature
The word feature, when used in the descriptions of the licensing utilities, refers to the ANSYS product. See Product Variable Table (p. 119) for the list of ANSYS products and their corresponding license features.
FlexNet
A component of the ANSYS, Inc. license manager used for all ANSYS products. Also called FlexNet License Manager. The FlexNet component authenticates and processes all license requests.
FlexNet license log file
Typically referred to as the FlexNet Debug Log File, it contains information relevant to licensing activity. This file provides a way of tracking licensing problems that may occur. The licensing log file, license.log, is located in the licensing directory by default.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
129
Glossary FlexNet port number
Communication channel by which the license manager communicates with the client (Licensing Interconnect). The default FlexNet port number is 1055.
floating license
Anyone on the network can run a licensed ANSYS product, up to the limit specified in the license file. Floating licenses require the license manager daemon (lmgrd) and the vendor daemon (ansyslmd) to be running to count the concurrent usage of the licenses.
IA-32
IA-32 refers to the Intel architecture, 32-bit processor.
IA-64
IA-64 refers to the Intel architecture, 64-bit processor.
license
See license task.
license borrowing
License borrowing allows a to take a license for use outside of the company facility, such as for an engineer to take a license home on his laptop.
license file
A license file grants access to run specified products. Each licensed product will have an entry in the license file, license.dat, which will reside in the licensing directory. Proper installation of a license file grants access to ANSYS products. Install the license file using the Run License Wizard or the Install the License File options of the ANSLIC_ utility or during the installation process.
license key
The actual full license for the product.
license.log
Typically referred to as the FlexNet Debug Log File, it contains information relevant to licensing activity. This file provides a way of tracking licensing problems that may occur. The licensing log file is located in the licensing directory by default.
130
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
license manager
Software used for licensing ANSYS, Inc. products. The ANSYS, Inc. License Manager is comprised of two components: the FlexNet software and the Licensing Interconnect.
license options file
A FlexNet file containing license manager-related resource information. This file is created on license server machines by the ANSLIC_ utility. By default, the file is named ansyslmd.opt and resides in the licensing directory. You may specify the following information in the options file: • Licenses that are reserved for individuals, groups, or machines • Those individuals, groups, or machines that are denied access to licenses
license server machine
A license server machine is a computer that you have designated to be the of ANSYS product licenses; the licenses are installed on the server machine(s). One or three systems (redundant triad) can be used to ister any particular set of ANSYS product licenses.
license task
Each concurrent use of an ANSYS product is a license task. Each use of an ANSYS product will take a number of license tasks from the total number available.
licensing directory
The default location for the licensing files. On UNIX/Linux systems, the licensing directory is /ansys_inc/shared_files/licensing. On Windows systems, the default licensing directory is
\Program Files\ANSYS Inc\Shared Files\Licensing, located in the same drive as the operating system.
Licensing Interconnect
Communications between the ANSYS applications, lmgrd, and ansyslmd are handled by an intermediary process called the ANSYS Licensing Interconnect. The ANSYS Licensing Interconnect com-
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
131
Glossary municates with the FlexNet license manager to authenticate and process all license requests. Licensing Interconnect Log File
Provides a chronicle of Licensing Interconnect licensing activity, including problems. The Licensing Interconnect log file, ansysli_server.log, is located in the licensing directory by default.
lm
A group of s that you designate to have the ability to perform license istrative tasks that are considered disruptive.
lmgrd
One of the FlexNet components of the ANSYS, Inc. License Manager, used to process ANSYS product licensing requests, including issuing and returning licenses.
LMTOOLS
LMTOOLS is a Windows-only utility that will perform various license functions, such as listing the s of licensed products. LMTOOLS is no longer sufficient to manage the ANSYS, Inc. License Manager and the Licensing Interconnect. You should use the ANSLIC_ utility to start or stop the license manager, check the license status, etc. However, if you have well-established processes to manage FlexNet, you can continue to use LMTOOLS (see Advanced Licensing Configuration Options).
lmutil
lmutil is a FlexNet-supplied utility that will perform various license functions including: rereading the license file, shutting down the license manager, starting the license manager, and listing the s of licensed products. lmutil is the underlying process in several of the ANSLIC_ options.
master server
In a three-server (redundant triad) network, one of the servers must be the master server. The server listed first in the license file automatically assumes the role of master. The other two license servers machines are shadow servers (or backup
132
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
servers). In a one-server network, that server is automatically the master. options file
See license options file.
path
When used in the context of a license file path, the list of places that are searched in order to locate a valid license file. The path is built from values in the ANSYSLMD_LICENSE_FILE environment variable, settings in the ansyslmd.ini file, or an actual license file.
product variable
Each ANSYS product has been assigned a specific product variable value. Use this product variable value when starting a job to specify which ANSYS product is to be run. For Mechanical APDL, the product variable may be set by using the -p command line option, the ANSYS150_PRODUCT environment variable, or the Mechanical APDL launcher. See Product Variable Table (p. 119) for a list of ANSYS products and their associated product variables/feature names.
quorum
You may designate either one or three machines to be license servers. In a three-server (redundant triad) network, license manager daemons must be running on the majority (2) of the server machines (a quorum) before requests for licenses will be processed.
redundant (triad) servers
Having multiple machines designated as license servers for an ANSYS product. Redundancy can be achieved either by having three license server machines working together in tandem, where two of the three must be running at all times but serving from a single set of licenses, or by having any number of license server machines running independently, each serving from different license files.
server
See license server.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
133
Glossary session log
In the ANSLIC_ utility, all licensing activity is written to an area on the right-hand side of the utility, called the session log area. The session log maintains a running tabulation of all activity (starting or stopping the license manager, rereading the license file, errors, etc.). The session log can also be written to a file that can be used for troubleshooting.
shadow server
See backup server.
task
See license task.
vendor daemon
FlexNet terminology used to refer to the vendorspecific component of the FlexNet license manager. The ANSYS vendor daemon is ansyslmd.
134
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Index Symbols A Academic licenses, 54, 77 Agreement number, 70 All licenses reserved, 105 ANS_FLEXLM_DISABLE_DEFLIATH, 75 ANSLIC_ utility, 39 definition, 127 display customer number, 70 display license server hostid, 44 display queued licenses, 69 display the license status, 69 editing the FlexNet license options file, 35 editing the license options file, 59 gather diagnostic information, 71 install license, 46 modify startup options, 65 license server information, 44 reread the license settings, 50 run the ANSYS borrow utility, 55 run the license wizard, 45 set license preferences, 54 set site preferences, 59 shutdown the license manager, 48 specify product order, 64 specifying the license server, 50 start the license manager, 47 uninstall the license manager, 72 update license, 46 using its options (UNIX/Linux), 40 view FlexNet debug log file, 71 View status/diagnostic options, 68 view the ansysli debug log file, 70 view the FlexNet license file, 71 ANSWAIT environment variable, 86 definition, 127
ANSYS licenses, 10 ansys_pid utility, 91 ansysli, 2 definition, 127 port number, 16 ansysli port number definition, 128 ansysli_client definition, 127 ansysli_monitor definition, 127 ansysli_server, 3 definition, 128 ansysli_server log file definition, 128 ANSYSLI_SERVERS, 75 ANSYSLI_TIMEOUT_CONNECT, 75 ANSYSLI_TIMEOUT_T, 75 ansyslmd, 2-3, 6-7 definition, 128 ansyslmd.ini definition, 128 ansyslmd.ini file, 32, 50, 76 ansyslmd.opt file, 35, 54, 59 ANSYSLMD_LICENSE_FILE, 4, 32, 75 ANSYSLMD_LICENSE_FILE environment variable definition, 128
B Backup server definition, 128 boot_ansflex file, 30 Borrowable license definition, 129 Borrowing licenses, 55, 86 Build date definition, 129
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
135
Index
C Caching FlexNet licenses, 24, 65 Caching license servers, 67 Capability definition, 129 Client configuration, 75 Clients definition, 129 Commands (UNIX/Linux) ps, 30 Commercial licenses, 54, 77 Communications requirements, 14 Complete unfinished licensing installation configuration, 40 Configuring redundant (triad) servers, 37 Configuring T/IP, 14 Configuring the license server machine, 32 .cshrc file, 50 customer number, 70
D daemon vendor, 6-7 Daemons starting at system boot time, 30 starting manually, 47 vendor (ansyslmd), 3 Debugging, 89 design points licensing, 85 Diagnostic information gathering, 71 Display customer number, 70 Display license server hostid, 44 Display license status, 69 Display queued licenses, 69
E Environment variables ANS_FLEXLM_DISABLE_DEFLIATH,75 ANSWAIT, 86
136
ANSYSLI_SERVERS, 75 ANSYSLI_TIMEOUT_CONNECT, 75 ANSYSLI_TIMEOUT_T, 75 ANSYSLMD_LICENSE_FILE, 4, 32, 75 Error messages, 89 launcher , 103 license borrowing, 115 license log file, 116 licensing, 30, 105 licensing installation, 103 Establishing licensing preferences, 77 Expired license, 108
F Feature definition, 129 Feature names, 119 Files ansyslmd.ini, 32, 50, 76 ansyslmd.opt, 35, 54, 59 boot_ansflex init_ansysli, 30 .cshrc, 50 init_ansysli, 30 license, 2, 4 installing, 32 license (license.dat), 32 license files format, 4 license.dat, 46, 76 license.log, 30, 47 viewing, 71 licserver.info, 32, 44 sample license files, 8 Firewall settings, 36 FlexNet compatibility with other software, 2 definition, 129 port number, 16 FlexNet debug log file (license.log) viewing, 71 FlexNet license options file (ansyslmd.opt)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
editing, 35 FLEXNet Manager, 24, 39 FlexNet port number definition, 130 floating license definition, 130 Floating licenses, 1, 10 Format of license files, 4 Freeing a license, 39 Functions requiring lm group privileges, 33
G Gather diagnostic information, 71 Group creating, 33 Group restrictions defining, 34
H high performance computing licensing, 82 hostid, 5, 10, 44 hostname, 5, 10, 44 HPC licensing, 82 HPC Parametric Pack licensing, 85
I IA-32, 130 IA-64, 130 INCREMENT lines, 7, 119 init_ansysli, 30 Installation license, 46 uninstalling the license manager, 72 Installing license files, 32 Installing the license manager, 13 post-installation instructions, 29 UNIX/Linux, 20 Windows, 17 installing the license manager, 17
Complete unfinished licensing installation configuration, 40
L Launcher error messages, 103 License error message: has expired, 108 installing, 46 updating, 46 License istration, 39 creating lm group, 39 License borrowing, 55, 86 definition, 130 running, 86 running the borrow utility, 57 setup, 56 License borrowing error messages, 115 License file installation, 32 License files, 2, 4 definition, 130 example, 8 format, 4 INCREMENT lines, 7 recognizing, 9 reread, 50 SERVER lines, 5 settings precedence, 76 specifying the location, 32 VENDOR lines, 6 License key definition, 130 License log file (license.log) definition, 129-130 error messages, 116 License log file error messages, 116 License manager advanced configuration, 24 compatibility with other software, 2 Complete unfinished licensing installation configuration, 40
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
137
Index components, 2 daemon, 132 defined, 1 definition, 131 installing, 13, 17 installing on UNIX/Linux, 20 installing on Windows, 17 modifying startup command options,33 modifying startup options, 65 post-installation instructions, 29 shutting down, 48 shutting down with ANSLIC_, 48 starting at system boot time, 30 starting manually, 47 starting with ANSLIC_, 47 uninstalling, 72 License methods sharing vs. separate, 54 License options file (ansyslmd.opt) definition, 131 editing, 59 sample, 63 License preferences academic vs. commercial, 54, 77 License queuing, 39, 86 License server error message: is down, 105 specifying, 35 license server machines, 2 License server machines definition, 10, 131 display hostid, 44 master, 10 selecting, 10 three-server network, 10 License server manager, 3 License servers caching, 67 configuring, 32 designating for license checkout, 39, 50 error messages, 30 network licensing , 3 138
redundancy, 12 ing, 32, 44 shutting down the license manager daemon, 48 specifying, 50 License status display, 69 License task definition, 131 License wizard, 45 license.dat file, 2, 4, 32, 46, 76 license.log file, 30, 47 viewing, 71 Licenses customer number, 70 floating, 10 freeing, 39 installing/updating, 46 waiting for available, 86 Licensing debugging, 89 error messages, 89 problem situations, 91 process, 1 sample scenario, 54 selecting server machines, 10 separate method, 54 sharing method, 54 tasks, 10 three-server license network, 10 Licensing directory, 1 Licensing environment setting up, 39 Licensing error messages, 105 Licensing installation error messages, 103 Licensing Interconnect, 2 defining group restrictions, 34 port number, 16 running independently of FlexNet, 24 running without FlexNet, 24 Licensing Interconnect (ansysli_server), 3
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Licensing preferences establishing for s, 77 licserver.info file, 32, 44 lm group, 33, 39 lmdown, 33 lmgrd, 2-3, 47 utility definition, 132 lmhostid, 44 lmremove, 33 lmreread, 33 LMTOOLS, 24, 39 lmutil utility definition, 132 Log file, 132 (see also license log file)
Port numbers changing, 16 FlexNet, 16 Licensing Interconnect, 16 Preferences setting, 54, 77 Product list, 119 Product order specifying , 64 Product variable definition, 133 PS command, 30
Q
Master server, 10, 30 definition, 132
Queued licenses display, 69 Queuing, 39, 86 Quorum definition, 133
N
R
Network File System licensing failures on, 33 Network licensing network licensing considerations, 10 queuing facility, 86 shutting down the license manager, 48 starting license manager at system boot time, 30 starting license manager manually, 47 No license file found for feature error message, 108 No licenses are currently available error message, 105
Redundant (triad) servers setting up, 37 Redundant server options, 12 Redundant servers definition, 133 ing license server information, 32, 44 Reread the license settings, 50 root , 40, 72 Running the Licensing Interconnect and FlexNet independently, 24, 27 Running the Licensing Interconnect without FlexNet, 24-25
P
S
Path definition, 133 Pool of available tasks, 10 Port number FlexNet, 5
Sample license files, 8 Sample licensing scenario, 54 SERVER lines, 5 Session log definition, 134
M
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
139
Index Set site preferences, 59 Shadow server definition, 134 Shutting down the license manager, 48 Site preferences setting , 59 Specify product order, 64 Specifying firewall settings, 36 Specifying the license server, 35, 50 Starting the license manager, 47 Starting the license manager at system boot time, 30 Startup options for license manager modifying, 65 Status viewing, 68 super , 40, 72 Symbolic links, 1
Using the FlexNet options file, 35 Using the options file, 59
V Vendor daemon, 2-3, 7 vendor daemon definition, 134 Vendor daemon (ansyslmd), 6 VENDOR lines, 6 View status/diagnostic options, 68 View the ansysli debug log file, 70 View the FlexNet license file, 71 Viewing the FlexNet debug log file, 71
W WANs, 10 Wide area networks, 10
T Tasks, 10 T/IP dial-up connection, 15 testing whether T/IP is installed, 15 T/IP requirements, 14 Three-server network, 10 Troubleshooting ansys_pid utility, 91 getting additional debugging information, 89 license borrowing errors, 115 license log file errors, 116 licensing error messages, 105 problem situations, 91 Troubleshooting ANSYS error messages,89
U Unavailable licenses, 105 Uninstalling the license manager, 72 Updating license, 46 privileges, 39
140
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS, Inc. Installation Guide for Linux
ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317
[email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494
Release 15.0 November 2013 000408 ANSYS, Inc. is certified to ISO 9001:2008.
Revision Information The information in this guide applies to all ANSYS, Inc. products released on or after this date, until superseded by a newer version of this guide. This guide replaces individual product installation guides from previous releases.
Copyright and Trademark Information © 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited. ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are ed trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.
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 s 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 and conditions of that software license agreement. ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights For U.S. Government s, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses).
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 ANSYS, Inc. Published in the U.S.A.
Table of Contents 1. Installation Prerequisites for Linux .................................................................... 1 1.1. System Prerequisites ..................................................................................... 3 1.1.1. CAD ........................................................................................ 4 1.2. Disk Space and Memory Requirements ......................................................... 5 1.3. GPU Requirements ....................................................................................... 6 1.4. Additional Hardware and Software Requirements ......................................... 7 1.5. Third-Party Software and Other Security Considerations ................................ 8 2. Platform Details ................................................................................................ 11 2.1. Compiler Requirements for Linux Systems ................................................... 17 2.2. Select Your Installation ................................................................................ 17 3. Installing the ANSYS Software for a Stand-alone Linux System ....................... 19 3.1. Pre-Installation Instructions for Installations ................................ 20 3.2. Product Instructions ................................................................... 21 3.3. Installing from a USB Drive .......................................................................... 22 3.4. Mounting the DVD Instructions for DVD Installations (Linux x64 Only) .......... 22 3.5. Product Installation ..................................................................................... 23 3.5.1. ANSYS License Manager Installation ................................................... 26 3.5.1.1. ing the License Server ................................................... 29 4. Installing the ANSYS Products and the License Server on Different Linux Machines .................................................................................................................... 31 4.1. Pre-Installation Instructions for Installations ................................ 33 4.2. Product Instructions ................................................................... 33 4.3. Installing from a USB Drive .......................................................................... 34 4.4. Mounting the DVD Instructions for DVD Installations (Linux x64 Only) .......... 34 4.5. Product Installation ..................................................................................... 35 4.5.1. ANSYS License Manager Installation ................................................... 39 4.5.1.1. ing the License Server ................................................... 42 4.5.2. Network Installation and Product Configuration .................................. 42 4.5.2.1. Export the /ansys_inc Directory ........................................... 43 4.5.2.2. Run the Product Configuration Utility on All Client Machines ...... 44 4.5.2.3. Configure Licensing for File Server Installations .......................... 45 5. Post-Installation Instructions ........................................................................... 47 5.1. Post-Installation Procedures for All Products ................................................ 47 5.1.1. Post-Installation Procedures for Mechanical APDL and ANSYS Workbench Products .......................................................................................... 49 5.1.2. Post-Installation Procedures for ANSYS CFX ......................................... 50 5.1.2.1. Setting up ANSYS TurboGrid Release 15.0 ................................... 52 5.1.2.2. Using the ANSYS CFX Launcher to Set Up s .......................... 53 5.1.2.3. ing the Installation of ANSYS CFX Products ........................ 53 Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
iii
Linux Installation Guide 5.1.3. Post-Installation Procedures for ANSYS Fluent ..................................... 54 5.1.4. Post-Installation Procedures for ANSYS Polyflow ................................. 55 5.1.5. Post-Installation Procedures for ANSYS ICEM CFD ................................ 55 5.1.6. Post-Installation Procedures for ANSYS Autodyn ................................. 56 5.1.7. Post-Installation Procedures for Other Products .................................. 56 5.2. Product Localization ................................................................................... 57 5.2.1. Translated Message File Installation for Mechanical APDL ................... 57 5.3. Launching ANSYS, Inc. Products ................................................................... 58 6. Silent Mode Operations .................................................................................... 61 6.1. Silent Product and License Manager Installation .......................................... 62 6.2. Silent Product Configuration/Unconfiguration ............................................. 65 6.3. Silent Media Installation .............................................................................. 66 6.3.1. Silent Uninstall ................................................................................... 66 7. Configuring CAD Products ................................................................................ 69 7.1. Using the CAD Configuration Manager ........................................................ 69 7.1.1. Unconfiguring .................................................................................... 71 7.1.2. Running the CAD Configuration Manager in Batch Mode ................. 71 7.1.3. NX Configuration ............................................................................... 73 7.2. Configuring the Geometry Interface for NX for ANSYS Workbench Products ........................................................................................................... 73 8. Uninstalling the Software ................................................................................. 75 8.1. Uninstalling ANSYS, Inc. Products ................................................................ 75 9. Troubleshooting ................................................................................................ 77 9.1. Installation Troubleshooting ........................................................................ 77 9.1.1. Using ANSLIC_ to Gather Diagnostic Information ..................... 77 9.1.2. The GUI Installation Process Hangs ..................................................... 77 9.1.3.The Target Machine Does Not Have a DVD Drive .................................. 78 9.1.4. The Online Help System Does Not Run Properly .................................. 78 9.1.5. CAD Configuration Manager Help Does Not Load ............................... 79 9.1.6. Cannot Enter Data in Text Fields .......................................................... 79 9.1.7. and Installation Error Messages .......................................... 80 9.1.8. System-related Error Messages ........................................................... 81 9.1.9. High Performance Computing Error Messages .................................... 81 9.2. Installation Troubleshooting - Mechanical APDL .......................................... 82 9.2.1.Your batch jobs terminate when you log out of a session ..................... 82 9.2.2. Japanese/Chinese characters display in status bar windows on Mechanical APDL on Red Hat AS 4.0 .................................................................... 82 9.2.3. Mechanical APDL Documentation File for Interface Error Messages .......................................................................................................... 82 9.2.4. Launcher Error Messages .................................................................... 83 9.2.5. FORTRAN Runtime Error Messages ..................................................... 83 9.2.5.1. Intel Linux 64 Systems ............................................................... 83 iv
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Linux Installation Guide 9.2.5.2. Intel EM64T Linux x64 Systems ................................................... 83 9.2.5.3. AMD Opteron Linux x64 Systems ............................................... 84 9.3. Installation Troubleshooting - ANSYS Workbench ........................................ 84 9.3.1. Startup or Graphics Problems ............................................................. 84 9.4. Installation Troubleshooting - ANSYS CFX .................................................... 84 9.4.1. CFX Distributed Parallel Runs Fail ........................................................ 84 9.5. ing Technical ..................................................................... 85 10. Applications Included with Each Product ....................................................... 89
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
v
vi
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 1: Installation Prerequisites for Linux This document describes the steps necessary to correctly install and configure all ANSYS, Inc. products on Linux platforms for Release 15.0. These products include: • ANSYS Structural Mechanics – ANSYS Mechanical Products (includes Mechanical APDL and Mechanical, where ed) – ANSYS Customization Files • ANSYS Explicit Dynamics – ANSYS Autodyn – ANSYS LS-DYNA • ANSYS Fluid Dynamics – ANSYS CFX (includes ANSYS CFD-Post) – ANSYS Fluent (includes ANSYS CFD-Post) – ANSYS TurboGrid – ANSYS Polyflow (includes ANSYS CFD-Post) – ANSYS CFD-Post only • ANSYS Additional Tools – ANSYS ICEM CFD → ANSYS Icepak (includes ANSYS CFD-Post) → Remote Solve Manager Standalone Services Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
1
Installation Prerequisites for Linux • ANSYS Geometry Interfaces – ACIS – CATIA, Version 4 – NX – Parasolid Notes Not all products may be available on all Linux platforms. Please see the remainder of this document for detailed information on which products are available on which platforms. At Release 15.0, ANSYS BladeGen, Vista CCD, Vista D, Vista RTD, and Vista AFD are not ed on Linux platforms. ANSYS Workbench and ANSYS EKM Desktop are installed by default as product components to most ANSYS, Inc. products.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.
2
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
System Prerequisites
Important Notice If you wish to run multiple releases of ANSYS, Inc. software, you MUST install them chronologically (i.e., Release 14.5 followed by Release 15.0). If you install an earlier release after installing Release 15.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 15.0, you MUST uninstall Release 15.0, then re-install the releases in order.
Summary of New and Changed Features The following features are new or changed at Release 15.0. Please review these items carefully. • The Windows and Linux installation guides have been rewritten and reorganized to enhance ease of use. • Installs and Uninstalls can now be performed from a single unified installation interface. • An installation launcher is now available for the Linux platform. From this launcher, you can run the ANSYS product, License Manager and EKM installs. • For Windows systems, ANSYS, Inc. Product installation must be performed by s with istrative privileges. • Enhancements to the installation interface include: – Improved installation speed – Streamlined content display during the installation process – Progress bar tracks the installation process
1.1. System Prerequisites ANSYS, Inc. Release 15.0 products are ed on the Linux platforms and operating system levels listed in the following tables. Patches listed may be superseded by newer versions; see your vendor for the most current version. See the individual Platform Certification Specifics in this guide for more information on specific platform requirements. For up-to-date information on hardware
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
3
Installation Prerequisites for Linux platforms or operating systems that have been certified, go to http://www.ansys.com//Platform+. (This URL is case-sensitive.)
Note The ANSYS, Inc. License Manager s additional UNIX/Linux platforms. Please see the ANSYS, Inc. Licensing Guide for the complete list of platforms ed by the ANSYS, Inc. License Manager. Table 1.1: ed Linux Platforms Platform
Processor
Operating System
Platform architecture (directory name)
Availability
Linux x64
EM64T/Opteron 64
Red Hat Enterprise Linux 5.7 through 5.9[1]; Red Hat Enterprise Linux 6.2 through 6.4, SUSE Linux Enterprise 11 SP1 through SP2
linx64
/ USB
1. We recommend that if you run ANSYS Workbench on Red Hat, you run Enterprise Linux 5.7 or higher with the latest available libstdc++ and install libgomp. ed Platforms for High Performance Computing Please see the discussions on Configuring Distributed ANSYS and Configuring ANSYS CFX Parallel later in this guide for detailed information on ed platforms for distributed computing.
1.1.1. CAD The following CAD and auxiliary programs are ed on the indicated products and platforms. Products are: A = Mechanical APDL W = ANSYS Workbench
4
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Disk Space and Memory Requirements I = ANSYS ICEM CFD standalone (some CAD systems may require the integrated ANSYS Workbench Reader) Table 1.2: CAD by Platform Linux x64 CATIA 4.2.4
A 2, I
Parasolid 26.0
A, W, I
ACIS 24 1
A, W, I
NX 7.5
W, I
NX 8.0
W, I
NX 8.5
W, I
STEP AP203, AP214
W, I
IGES
A 3, W, I 4
GEMS
I
Rhinoceros
I
1. For ANSYS ICEM CFD standalone, ACIS 18.0.1 is the ed version for all platforms. 2. Red Hat requires the installation of i686 (32-bit) glibc & libstdc++ libraries. 3. MAPDL s 5.1 by default, but 5.2 is also ed if the IOPTN command is used. 4. IGES Versions 4.0, 5.2, and 5.3 are ed.
1.2. Disk Space and Memory Requirements You will need the disk space shown here for each product for installation and proper functioning. The numbers listed here are the maximum amount of disk space you will need. Depending on the options selected for each product, you may require less. Product
Disk Space
Mechanical APDL
10.0 GB
ANSYS Autodyn
7.1 GB
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
5
Installation Prerequisites for Linux Product
Disk Space
ANSYS LS-DYNA
7.6 GB
ANSYS CFX
9.6 GB
ANSYS TurboGrid
8.1 GB
ANSYS Fluent
9.5 GB
Polyflow
9.2 GB
ANSYS ICEM CFD
2.8 GB
ANSYS Icepak
5.5 GB
CFD Post only
8.0 GB
ANSYS Geometry Interfaces
302 MB
Memory Requirements We recommend that you have at least 2 GB of memory available for running product installations.
1.3. GPU Requirements Your system must meet the following requirements to use the GPU accelerator capability in Mechanical APDL: • The machine(s) being used for the simulation must contain at least one ed nVIDIA GPU card or one Intel Xeon Phi coprocessor. The following cards are ed: nVIDIA Tesla series (any model) nVIDIA Quadro 6000 nVIDIA Quadro K5000 nVIDIA Quadro K6000 Intel Xeon Phi 7120 Intel Xeon Phi 5110 Intel Xeon Phi 3120 • For nVIDIA GPU cards, the driver version must be 319.23 or newer. • For Intel Xeon Phi coprocessors, the driver version must be “MPSS Gold Update 3” or newer.
6
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Additional Hardware and Software Requirements Red Hat Linux 5.x is not ed for Xeon Phi coprocessors.
Note Mechanical APDL assumes that the Intel Xeon Phi coprocessor driver is installed in /opt/intel/mic/coi. If the installation is located in a different folder, set the ANS_MIC_LIB_PATH environment variable to the path where the Xeon Phi driver is installed (for example, /mypath/mic/coi).
1.4. Additional Hardware and Software Requirements • T/IP for the license manager (see the ANSYS, Inc. Licensing Guide for more information on T/IP) • Approximately twice as much swap space as memory. The amount of memory swap space on the system may limit the size of the model that can be created and/or solved. • Graphics card compatible with the ed operating systems, capable of ing 1024x768 High Color (16-bit) and a 17-inch monitor compatible with this type of graphics card; ANSYS CFX products and ANSYS TurboGrid require 24-bit color and that antialiasing on your graphics card be disabled. Refer to your operating system's documentation for specific instructions. • X11, OpenGL graphics libraries • 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. • PDF reader software is required to read the installation guides and other documentation. • Fluent graphics are not officially ed when running under Exceed. • CFX-RIF requires 32-bit X11 libraries when running on a 64-bit machine. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
7
Installation Prerequisites for Linux
1.5. Third-Party Software and Other Security Considerations The following third-party products are used as part of the installation process. In order for the installation to work properly, you must allow access to these products. Product Name
Executable Name
Tcl
tclsh
Tk
wish
Perl
perl
GNU gzip
gzip
GNU tar
tar
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 • ython • Mono • Python • Perl • GCC • Qt • Qwt • HPMPI • PCMPI • IMPI • MPICH
8
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Third-Party Software and Other Security Considerations • OPENMPI • INTELMPI • PCMPI
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
9
10
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 2: Platform Details Linux For ALL 64-bit Linux platforms, OpenMotif, and Mesa libraries should be installed. These libraries are typically installed during a normal Linux installation. You will also need the xpdf package to view the online help. You can find the necessary OpenMotif libraries for your platform at http:// www.motifzone.net. SUSE Linux Enterprise 11 requires SP1 or SP2. After installing the SP1/SP2 updates, you must also install OpenMotif and the prerequisites from the SLES11 SDK DVD, as well as the OpenMotif22 packages (recommended packages are openmotif22libs-2.2.4-138.18.1.x86_64.rpm and openmotif22-libs-32bit-2.2.4138.18.1.x86_64.rpm from SLED11 SP1 x86_64 distribution. You may need to use "rpm -iv -force" to install these). Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 6 base install requires patch kernel-2.6.32-71.14.1.el6.x86_64.rpm and kernel-devel-2.6.3271.14.1.el6.x86_64.rpm. In addition, you need to install the following libraries: • libXp.x86_64 • xorg-x11-fonts-cyrillic.noarch • xterm.x86_64 • openmotif.x86_64 • compat-libstdc++-33.x86_64 • libstdc++.x86_64 • libstdc++.i686 Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
11
Platform Details • gcc-c++.x86_64 • compat-libstdc++-33.i686 • libstdc++-devel.x86_64 • libstdc++-devel.i686 • compat-gcc-34.x86_64 • gtk2.i686 • libXxf86vm.i686 • libSM.i686 • libXt.i686 • xorg-x11-fonts-ISO8859-1-75dpi.noarch 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 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 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.
Use the kcontrol command to launch the KDE Control Center.
2.
In the Control Center window, select Desktop> Window Behaviour> Advanced.
3.
Change Focus Stealing Prevention Level to None.
12
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
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.
Use the systemsettings command to launch the System Settings.
2.
In the System Settings window, select General> Window Behaviour> Focus.
3.
Change Focus Stealing Prevention Level to None.
4.
Click Apply.
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 system’s startup scripts by copying the command into a file called mod_sem and then setting up the following links to execute the file each time you restart your system: 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
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 /v150/aisol/WBMWRegistry/ directory has write permissions. From the /v150/aisol/ directory, issue the following command: Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
13
Platform Details chmod -R 777 WBMWRegistry/
Then, use the following procedure to set mwcontrol for your locale: 1.
cd to <wb_install directory>/v150/aisol
2.
Issue the following command: ./.workbench -cmd mwcontrol
3.
On the MainWin Control , select Regional Settings.
4.
Select the Regional Settings tab.
5.
Change the language in the dropdown to match the language you want to use.
6.
Check the Set as system default locale option.
7.
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 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: * hard memlock unlimited * soft memlock unlimited
The need for increasing the limits may be indicated by the following error message with Platform MPI: fluent_mpi.15.0.0: Rank 0:1: MPI_Init: ibv_create_cq() failed fluent_mpi.15.0.0: Rank 0:1: MPI_Init: Can't initialize RDMA device fluent_mpi.15.0.0: Rank 0:1: MPI_Init: MPI BUG: Cannot initialize RDMA protocol libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes. This will severely limit memory registrations
When Fluent is launched by a scheduler (like PBSPro, SGE, etc.), these limits may be reset by the scheduler. s may check running the “limit” command within and without the scheduler to compare. Any differences, indicate the issue above. If you use PBSPro, add ulimit -l unlimited directly in the pbs_mom startup script, and let PBS reload the pbs_mom.
14
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
If you use SGE, you must change the startup script /etc/init.d/sgeexecd to include the ulimit -l unlimited command as shown in the following example: -- BEGIN -if [ "$startup" = true ]; then # execution daemon is started on this host! echo " starting sge_execd" exec 1>/dev/null 2>&1 ulimit -l unlimited $bin_dir/sge_execd else -- END --
Once this modification is in place, restart SGE to set the correct memory limits on the SGE daemon and any invoked processes. 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 5: compat-libstdc++-33-3.2.3-61 Red Hat 6: compat-libstdc++-33-3.2.3-69 SUSE 10: compat-libstdc++-5.0.7-22.2 SUSE 11: libstdc++33 Using ANSCUSTOM If you use ANSCUSTOM to link your own version of ANSYS Release 15.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, the ANSYS Release 15.0 executable is looking for system libraries that do not have revision numbers appenRelease 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
15
Platform Details ded 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 15.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
For Linux, you may need the following: ln -sf /usr/lib64/libXm.so.4.0.0 /usr/lib64/libXm.so.3
The revision numbers appended to the filenames on the left may be different on your system. Intel Linux ANSYS was built and tested on Red Hat using the compilers as noted in Table 2.1: Compiler Requirements (p. 17). The ANSYS solver is built on Red Hat Enterprise Linux AS release 4 (Update 5). For ANSYS Workbench and ANSYS Autodyn, you may need to increase the stack size; we recommend setting to 1 GB. Add the following to your configuration file: For the Bourne (bash) shell: ulimit -s 1024000
For the C (csh) shell: limit stacksize 1024000
Other shells may have different settings; please refer to your shell documentation for specific details.
16
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Select Your Installation AMD Opteron ANSYS was tested on a generic Opterontm system running Red Hat Enterprise Linux AS release 5.3. Intel Xeon EM64T ANSYS was built and tested on a generic Intel EM64T system running Red Hat Enterprise Linux AS release 5.3. If you are running on Intel's Xeon EM64T system, we recommend that you turn U hyperthreading off (default is on). A system needs to reboot the system and enter the BIOS to turn the hyperthreading option off.
2.1. Compiler Requirements for Linux Systems Table 2.1: Compiler Requirements Mechanical APDL, ANSYS Workbench Compilers*
CFX Compilers*
Fluent Compilers*
AUTODYN Compilers*
Intel 12.1 (FORTRAN, C, C++)
GCC (typically installed Intel 12.1 as part of the operating (FORTRAN, C, system) C++)
Linux (all versions) Intel 12.1 (FORTRAN, C, C++)
* Compilers are required only if you will be using Programmable Features (UPF), Defined Functions (UDF), or other customization options.
2.2. Select Your Installation The next step is to select your installation type. Please select the option below that matches your installation. • Installing the ANSYS Software for a Stand-alone Linux System (p. 19) • Installing the ANSYS Products and the License Server on Different Linux Machines (p. 31)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
17
18
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 3: Installing the ANSYS Software for a Stand-alone Linux System This section explains how to install ANSYS, Inc. products, including ANSYS client licensing, as well as the ANSYS, Inc. License Manager. The default installation expects you to be logged in as root. You can install as non-root; however, if you are not logged in as root, you will not be able to set the /ansys_inc symbolic link and may potentially experience permission problems. The inability to set the /ansys_inc symbolic link will in no way inhibit your ability to run ANSYS, Inc. products; it is provided as a convenience. If you do not use the /ansys_inc symbolic link, you must install all releases into a common directory to ensure license manager compatibility and availability among releases and products. If you did not use the /ansys_inc symbolic link, you must replace all references to /ansys_inc/v150 or
with the actual installation path you used.
Before You Begin We recommend that you have the following information available before you begin this installation: • An on the ANSYS Customer Portal. If you do not have an , you may at https://.ansys.com/portal/site/AnsysCustomerPortal to receive your own . • Your license file from ANSYS, Inc., saved to a temporary directory. For more information, see ing the License Server (p. 29). • Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect. Defaults are 1055 and 2325, respectively. To that these port numbers are available, open a command line and enter the following command: netstat -a -t Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
19
Installing the ANSYS Software for a Stand-alone Linux System You will see a list of active ports. If 1055 and 2325 are listed, they are already in use and cannot be used for ANSYS, Inc. licensing. In this case, you will need to specify different port numbers where indicated later in this installation. • Your local machine's name, to specify as the license server. You should also that you are running on a ed platform. ANSYS, Inc. products 64-bit Linux systems running Red Hat 5 and 6 and SUSE Linux Enterprise 10 and 11 SP1. that you have sufficient disk space to , uncompress, and install the products you will be installing. Approximate disk space requirements for each product are shown in the ANSYS, Inc. Linux Installation Guide. If you have any problems with or questions about the installation process please log a Service Request on the ANSYS Customer Portal. A Systems Specialist will respond to assist you. This section is divided into four sets of instructions: • Product Instructions: This set of instructions describes the and extraction process. • Product Installation with Client Licensing: This set of instructions describes the product installation, including the client licensing portion. • License Manager Installation: This set of instructions describes the license manager installation. • Post Installation Procedures for All Products: This is a set of instructions that describes any configuration steps that may be required for the various products. Both the product and the license manager will be installed on the same machine. You must complete both the client licensing portion and the license manager installation in order to run ANSYS, Inc. products.
3.1. Pre-Installation Instructions for Installations Before ing the installation files, you need to accurately determine your platform type. Versions that are optimized for different chip sets from the same vendor can have similar names, causing confusion. We strongly recommend that
20
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Instructions you run the get_ansys_platform150 script on each machine first. This script will output the correct platform name for each machine on which it is run. We strongly recommend that you review the Read Instructions and Product Information file included on the site for the most current instructions.
3.2. Product Instructions To the installation files from our website, you will need to have a current technical agreement. Depending on the product/platform combination(s) you choose, you may need to multiple files. 1.
From the Customer Portal, https://.ansys.com/portal/site/AnsysCustomerPortal, click s > Full Products. Step 1 of the ANSYS Center Select Full Products page is displayed.
2.
Select all products you wish to by clicking the + to the right of each product group title and selecting the appropriate check boxes. Alternatively, you can click the Select All or Select Only Licensed Products options from the top of the page. Each product you select is displayed on the right side of the page under Selected s.
3.
After selecting all products, click Next Step. Step 2 of the ANSYS Center Select Full Products page displays all selected products by operating system.
4.
Click the link(s) for the appropriate operating system and each package to a new temporary folder.
5.
After the s have completed, uncompress each package using standard uncompression utilities for your specific platform. We strongly recommend that you extract the files into new, temporary directories.
6.
Begin the product installation as described in the next section.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
21
Installing the ANSYS Software for a Stand-alone Linux System
3.3. Installing from a USB Drive Insert the USB drive into an appropriate USB slot on your computer. Navigate to the root directory of the USB drive and Run ./INSTALL. Continue with the steps described in Product Installation (p. 23).
3.4. 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: Remotely-Mounted DVD Procedure 1.
Add the dvdrom_dir directory to the /etc/exports file on the machine with the DVD device. A sample /etc/exports entry is: /dvdrom_dir *(ro)
or /dvdrom_dir (ro)
2.
Run exportfs to export the dvdrom_dir directory: 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
22
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation where Host is the hostname of the machine where the DVD device is located. Run man exports for more information.
3.5. Product Installation 1.
Navigate to the directory where you extracted the files. Run ./INSTALL. If you ed the installation package, this file will reside in the directory where you untarred the ed files. If you are running from a DVD, this file will reside in the top level of the DVD.
2.
The ANSYS, Inc. Installation Launcher appears.
From the options along the left side of the launcher you can install ANSYS products, ANSYS EKM Server, and the ANSYS License Manager. You can access the installation guide for the ANSYS EKM Server from the s page on the Customer Portal.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
23
Installing the ANSYS Software for a Stand-alone Linux System The ANSYS, Inc. Quick Start Installation Guide, ANSYS, Inc. Quick Start Licensing Guide, System Requirements Guide and complete Installation Help Guide can be accessed through the options located along the bottom of the launcher. Select the language you want to use from the drop-down menu in the upper right corner. English is the default. 3.
Click the Install ANSYS Products option.
4.
The license agreement appears. Read the agreement, and if you agree to the and conditions, select I Agree. Click Next.
5.
The directory where you wish to install the ANSYS, Inc. products is shown in the Install Directory field. You can install the products into any directory you wish, but you must have write permissions to the directory you choose. The default is /ansys_inc. We recommend using the default directory. We strongly recommend that you also set the symbolic link /ansys_inc to the directory where the ANSYS, Inc. product is installed. The symbolic link option is available only if you are installing as root and is set by default. If you choose not to specify the symbolic link or are installing as a non-root , substitute the directory path where you installed the product for all subsequent occurrences of /ansys_inc in this guide. 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. Click Next.
6.
24
All products available in the installation package(s) you ed are listed. You can select or deselect any combination of products. ANSYS Workbench is automatically installed with most ANSYS, Inc. products; there is no individual product selection for ANSYS Workbench.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation If you select NX or ICEM CFD NX, you will have additional installation steps. This installation assumes you are not installing these CAD packages. Deselect these options before continuing. You will also see an estimate of the disk space required to install all of the selected components, and the disk space you have available. The actual amount of disk space required may be less, but if you choose to run the installation with insufficient disk space available, we strongly recommend that you review the log files at the end of the installation to that all products were installed correctly. Installation log files are written to the installation directory. Select the products you want to install and click Next. 7.
The dates on the licensing files being installed are compared to any that may already exist on your machine. Click Next.
8.
A summary screen appears listing your installation selections. Please review this list carefully to that it is correct. When you are sure all selections are correct, click Next to begin the installation.
9.
The installation progress screen displays a status bar towards the bottom of the installation window. This status bar tracks the percentage or packages that have been installed on your computer.. Depending on the number of products you have selected, the installation time required could be lengthy. You will not be able to interrupt the installation process. Please be patient while the installation completes.
Note Clicking the View Details Progress Log button opens a second window that displays the name of each product package as it is uncompressed and installed.
10. When the product installation has completed, click Next to begin the client licensing configuration. A Licensing Client Configuration window appears. Licensing settings are recorded in a configuration file named ansyslmd.ini. If the licensing software has not previously been installed on this machine a new screen, Specify the License Server Machine - Add Server Machine Specification appears. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
25
Installing the ANSYS Software for a Stand-alone Linux System You will need to specify the port numbers to be used by the ANSYS licensing. Defaults are provided and will work in most cases. You may need to check with your IT department to confirm that the default port numbers are valid or to get different port numbers if necessary. Then specify the hostname. For this installation, you will be configuring your machine to act as a license server. Type in your machine name and click OK. 11. When the client licensing installation has completed, click Exit on the Licensing Client Configuration window. 12. The product installation window reappears with a message noting that the installation is complete. Click Next. 13. On the next screen, you can complete the survey or you can click Finish immediately to skip the survey and complete the product installation.
3.5.1. ANSYS License Manager Installation Follow the instructions below to install the ANSYS, Inc. License Manager on your Linux machine. Because you will not be using a network server, you must install and configure the ANSYS, Inc. License Manager on your machine. The License Manager controls access to the ANSYS, Inc. products you have purchased. 1.
Navigate to the directory where you extracted the files. Run ./INSTALL.LM. If you ed the license manager installation package, this file will reside in the directory where you untarred the ed files. If you are running from a DVD, this file will reside in the top level of the DVD.
2.
You may see a warning stating that if the license manager is currently running, it will be shut down. This installation assumes that you have not previously installed the products or the licensing on this machine, and you are not pointing to a network license server machine. You may safely ignore this message and click OK.
3.
Select the language you want to use. English is the default.
4.
The license agreement appears. Read the agreement, and if you agree to the and conditions, select I Agree. Click Next.
5.
The directory where you wish to install the ANSYS, Inc. License Manager is shown in the Install Directory field. You can install the products into any directory you
26
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation wish, but you must have write permissions to the directory you choose. The default is /ansys_inc. We recommend using the default directory. You must use the same directory where the products were installed.
Note You are unable to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager or ANSYS Electromagnetics License Manager. To change the installation directory location, you must first uninstall any previous versions of both products.
6.
The ANSYS, Inc. License Manager is selected as the only product available to install. As with the product installation, the required and available disk space numbers are shown. Click Next.
7.
The licensing file dates are compared to ensure that the most recent version of the licensing files are being used. This installation assumes that this is the first time you are installing ANSYS, Inc. products on this machine; therefore, no licensing files will already exist and the files included with the installation package will be used. Click Next.
8.
A summary screen appears that lists the products to be installed. Because this is a license manager installation, the ANSYS, Inc. License Manager is the only product listed. Click Next. The license manager installation begins. The ANSYS, Inc. 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.
9.
When the license manager installation completes, click Next to begin the license manager configuration.
10. The License Server Installation Configuration window appears, and several configuration steps will be completed. When the ANSYS, Inc. License Wizard appears, it 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 s currently running using the license manager. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
27
Installing the ANSYS Software for a Stand-alone Linux System that the Type of License Server selected at the bottom of the screen is Run the ANSYS Licensing Interconnect with FLEXlm (default). Click Continue. 11. The next step is to install a license file. Click Continue. You will then need to specify the location of the license file sent to you by ANSYS, Inc. Use the Browse button on the file locater dialog box to navigate to the location of the license file. If you do not have a license file, please refer to ing the License Server (p. 29) 12. Click Continue to configure the local machine as the license server (the default action). 13. Click Continue to start the ANSYS, Inc. License Manager. 14. Click Exit to close the License Wizard. 15. Click Exit to close the Licensing Server Installation Configuration screen. 16. Click Exit to close the License Manager Installation screen. 17. Click Exit to close the ANSYS, Inc. Installation Manager. 18. Open a terminal window and navigate to your ANSYS installation. The following table lists the default paths to start the ANSYS products you have installed.
Application Locations Application
How to Launch
CFD Post
/ansys_inc/v150/cfdpost
CFX
/ansys_inc/v150/CFX/bin/<productname> Where <productname> can be cfx5, cfx5launch, cfx5pre, cfxsolve, or cfx5post.
FLUENT
/ansys_inc/v150/fluent/bin/fluent
ICEM-CFD
/ansys_inc/v150/icemcfd/icemcfd
ICEPAK
/ansys_inc/v150/icepak/icepak
PolyFlow
/ansys_inc/v150/polyflow/bin/polyflow
Turbogrid
/ansys_inc/v150TurboGrid/bin/cfxtg
Workbench
/ansys_inc/v150/Framework/bin/Linux64/runwb2
28
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation
3.5.1.1. ing the License Server Follow this procedure to your license server information if you are a new who has not received a license file for your server or if you add or change a license server machine. See the ANSYS, Inc. Licensing Guide for more information on selecting license servers (Selecting License Server Machines) and on using the ANSLIC_ utility (Using the ANSLIC_ Utility). 1. Use the License Server Machine Information option of the ANSLIC_ utility to license server information on each license server. To run the ANSLIC_ utility on a Linux platform, type: /
/shared_files/licensing/lic_/anslic_
2. Select OK and Create File to save this information to a file named licserver.info by default. 3. Return the resulting licserver.info file to your ANSYS, Inc. sales representative. ANSYS, Inc. or your sales representative will then supply you with your license keys. 4. Use the Run the License Wizard option of the ANSLIC_ utility to enter your license key and start the license manager. After completing the installation process, please refer to Post-Installation Instructions (p. 47)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
29
30
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 4: Installing the ANSYS Products and the License Server on Different Linux Machines This section explains how to install ANSYS, Inc. products, including ANSYS client licensing, as well as the ANSYS, Inc. License Manager. The default installation expects you to be logged in as root. You can install as non-root; however, if you are not logged in as root, you will not be able to set the /ansys_inc symbolic link and may potentially experience permission problems. The inability to set the /ansys_inc symbolic link will in no way inhibit your ability to run ANSYS, Inc. products; it is provided as a convenience. If you do not use the /ansys_inc symbolic link, you must install all releases into a common directory to ensure license manager compatibility and availability among releases and products. If you did not use the /ansys_inc symbolic link, you must replace all references to /ansys_inc/v150 or
with the actual installation path you used.
Before You Begin We recommend that you have the following information available before you begin this installation: • An on the ANSYS Customer Portal. If you do not have an , you may at https://.ansys.com/portal/site/AnsysCustomerPortal to receive your own . • Your license file from ANSYS, Inc., saved to a temporary directory. For more information, see ing the License Server (p. 42). • Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect. Defaults are 1055 and 2325, respectively. To that these port numbers are available, open a command line and enter the following command: netstat -a -t Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
31
Installing the ANSYS Products and the License Server on Different Linux Machines You will see a list of active ports. If 1055 and 2325 are listed, they are already in use and cannot be used for ANSYS, Inc. licensing. In this case, you will need to specify different port numbers where indicated later in this installation. • Your local machine's name, to specify as the license server. You should also that you are running on a ed platform. ANSYS, Inc. products 64-bit Linux systems running Red Hat 5 and 6 and SUSE Linux Enterprise 10 and 11 SP1. For detailed information on which products are ed on which platforms, please see the ANSYS, Inc. Linux Installation Guide, which is available for when you ANSYS, Inc. products or as a printed manual if you receive installation media. that you have sufficient disk space to , uncompress, and install the products you will be installing. Approximate disk space requirements for each product are shown in the ANSYS, Inc. Linux Installation Guide. If you have any problems with or questions about the installation process, please log a Service Request on the ANSYS Customer Portal. A Systems Specialist will respond to assist you. This section is divided into four sets of instructions: • Product Instructions: This set of instructions describes the and extraction process. • Product Installation with Client Licensing: This set of instructions describes the product installation, including the client licensing portion. • License Manager Installation: This set of instructions describes the license manager installation. • Post Installation Procedures for All Products: This is a set of instructions that describes any configuration steps that may be required for the various products. Both the product and the license manager will be installed on the same machine. You must complete both the client licensing portion and the license manager installation in order to run ANSYS, Inc. products.
32
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Instructions
4.1. Pre-Installation Instructions for Installations Before ing the installation files, you need to accurately determine your platform type. Versions that are optimized for different chip sets from the same vendor can have similar names, causing confusion. We strongly recommend that you run the get_ansys_platform150 script on each machine first. This script will output the correct platform name for each machine on which it is run. We strongly recommend that you review the Read Instructions and Product Information file included on the site for the most current instructions.
4.2. Product Instructions To the installation files from our website, you will need to have a current technical agreement. Depending on the product/platform combination(s) you choose, you may need to multiple files. 1.
From the Customer Portal, https://.ansys.com/portal/site/AnsysCustomerPortal, click s > Full Products. Step 1 of the ANSYS Center Select Full Products page is displayed.
2.
Select all products you wish to by clicking the + to the right of each product group title and selecting the appropriate check boxes. Alternatively, you can click the Select All or Select Only Licensed Products options from the top of the page. Each product you select is displayed on the right side of the page under Selected s.
3.
After selecting all products, click Next Step. Step 2 of the ANSYS Center Select Full Products page displays all selected products by operating system.
4.
Click the link(s) for the appropriate operating system and each package to a new temporary folder.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
33
Installing the ANSYS Products and the License Server on Different Linux Machines 5. After the s have completed, uncompress each package using standard uncompression utilities for your specific platform. We strongly recommend that you extract the files into new, temporary directories. 6.
Begin the product installation as described in the next section.
4.3. Installing from a USB Drive Insert the USB drive into an appropriate USB slot on your computer. Navigate to the root directory of the USB drive and Run ./INSTALL. Continue with the steps described in Product Installation (p. 35).
4.4. 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: Remotely-Mounted DVD Procedure 1.
Add the dvdrom_dir directory to the /etc/exports file on the machine with the DVD device. A sample /etc/exports entry is: /dvdrom_dir *(ro)
or /dvdrom_dir (ro)
2.
Run exportfs to export the dvdrom_dir directory: exportfs –a
Check the manual page for 'exports' for the correct syntax, as different Linux versions can have different syntax. 34
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation 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.
4.5. Product Installation 1.
Navigate to the directory where you extracted the files. Run ./INSTALL. If you ed the installation package, this file will reside in the directory where you untarred the ed files. If you are running from a DVD, this file will reside in the top level of the DVD.
2.
The ANSYS, Inc. Installation Launcher appears.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
35
Installing the ANSYS Products and the License Server on Different Linux Machines From the options along the left side of the launcher you can install ANSYS products, ANSYS EKM Server, and the ANSYS License Manager. You can access the installation guide for the ANSYS EKM Server from the s page on the Customer Portal. The ANSYS, Inc. Quick Start Installation Guide, ANSYS, Inc. Quick Start Licensing Guide, System Requirements Guide and complete Installation Help Guide can be accessed through the options located along the bottom of the launcher. Select the language you want to use from the drop-down menu in the upper right corner. English is the default. 3.
Click the Install ANSYS Products option.
4.
The license agreement appears. Read the agreement, and if you agree to the and conditions, select I Agree. Click Next. When 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. 42)) for each platform other than your current machine type. See Network Installation and Product Configuration (p. 42) for specific instructions on how to configure a shared installation directory across multiple machines using a common network file system.
5.
The directory where you wish to install the ANSYS, Inc. products is shown in the Install Directory field. You can install the products into any directory you wish, but you must have write permissions to the directory you choose. The default is /ansys_inc. We recommend using the default directory. We strongly recommend that you also set the symbolic link /ansys_inc to the directory where the ANSYS, Inc. product is installed. The symbolic link option is available only if you are installing as root and is set by default. If you choose not to specify the symbolic link or are installing as a non-root , substitute the directory path where you installed the product for all subsequent occurrences of /ansys_inc in this guide.
36
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation 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. Click Next. 6.
All products available in the installation package(s) you ed are listed. You can select or deselect any combination of products. ANSYS Workbench is automatically installed with most ANSYS, Inc. products; there is no individual product selection for ANSYS Workbench. If you select NX or ICEM CFD NX, you will have additional installation steps. This installation assumes you are not installing these CAD packages. Deselect these options before continuing. You will also see an estimate of the disk space required to install all of the selected components, and the disk space you have available. The actual amount of disk space required may be less, but if you choose to run the installation with insufficient disk space available, we strongly recommend that you review the log files at the end of the installation to that all products were installed correctly. Installation log files are written to the installation directory. Select the products you want to install and click Next.
7.
The dates on the licensing files being installed are compared to any that may already exist on your machine. Click Next.
8.
A summary screen appears listing your installation selections. Please review this list carefully to that it is correct. When you are sure all selections are correct, click Next to begin the installation.
9.
The installation progress screen displays a status bar towards the bottom of the installation window. This status bar tracks the percentage or packages that have been installed on your computer.. Depending on the number of products you have selected, the installation time required could be lengthy. You will not be
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
37
Installing the ANSYS Products and the License Server on Different Linux Machines able to interrupt the installation process. Please be patient while the installation completes.
Note Clicking the View Details Progress Log button opens a second window that displays the name of each product package as it is uncompressed and installed.
10. When the product installation has completed, click Next to begin the client licensing configuration. A Licensing Client Configuration window appears. Licensing settings are recorded in a configuration file named ansyslmd.ini. If the licensing software has not previously been installed on this machine a new screen, Specify the License Server Machine - Add Server Machine Specification appears. You will need to specify the port numbers to be used by the ANSYS licensing. Defaults are provided and will work in most cases. You may need to check with your IT department to confirm that the default port numbers are valid or to get different port numbers if necessary. Then specify the hostname. For this installation, you will be configuring your machine to act as a license server. Type in your machine name and click OK. 11. When the client licensing installation has completed, click Exit on the Licensing Client Configuration window. 12. The product installation window reappears with a message noting that the installation is complete. Click Next. 13. On the next screen, you can complete the survey or you can click Finish immediately to skip the survey and complete the product installation.
38
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation If you have installed ANSYS, Inc. products on a file server, follow the instructions under Network Installation and Product Configuration (p. 42).
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.
4.5.1. ANSYS License Manager Installation Follow the instructions below to install the ANSYS, Inc. License Manager on a your Linux machine. The License Manager controls access to the ANSYS, Inc. products you have purchased. 1.
Navigate to the directory where you extracted the files. Run ./INSTALL.LM. If you ed the license manager installation package, this file will reside in the directory where you untarred the ed files. If you are running from a DVD, this file will reside in the top level of the DVD.
2.
You may see a warning stating that if the license manager is currently running, it will be shut down. If you have not previously installed the products or the licensing on this machine, and you are not pointing to a network license server machine, you may safely ignore this message and click OK.
3.
Select the language you want to use. English is the default.
4.
The license agreement appears. Read the agreement, and if you agree to the and conditions, select I Agree. Click Next.
5.
The directory where you wish to install the ANSYS, Inc. License Manager is shown in the Install Directory field. You can install the products into any directory you wish, but you must have write permissions to the directory you choose. The de-
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
39
Installing the ANSYS Products and the License Server on Different Linux Machines fault is /ansys_inc. We recommend using the default directory. You must use the same directory where the products were installed.
Note You are unable to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager or ANSYS Electromagnetics License Manager. To change the installation directory location, you must first uninstall any previous versions of both products.
6.
The ANSYS, Inc. License Manager is selected as the only product available to install. As with the product installation, the required and available disk space numbers are shown. Click Next.
7.
The licensing file dates are compared to ensure that the most recent version of the licensing files is being used. This installation assumes that this is the first time you are installing ANSYS, Inc. products on this machine; therefore, no licensing files will already exist and the files included with the installation package will be used. Click Next.
8.
A summary screen appears that lists the products to be installed. Because this is a license manager installation, the ANSYS, Inc. License Manager is the only product listed. Click Next. The license manager installation begins. The ANSYS, Inc. 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.
9.
When the license manager installation completes, click Next to begin the license manager configuration.
10. The License Server Installation Configuration window appears, and several configuration steps will be completed. When the ANSYS, Inc. License Wizard appears, it 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 s currently running using the license manager.
40
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation that the Type of License Server selected at the bottom of the screen is Run the ANSYS Licensing Interconnect with FLEXlm (default). Click Continue. 11. The next step is to install a license file. Click Continue. You will then need to specify the location of the license file sent to you by ANSYS, Inc. Use the Browse button on the file locater dialog box to navigate to the location of the license file. If you do not have a license file, please refer to ing the License Server (p. 42) 12. Click Continue to configure the local machine as the license server (the default action). 13. Click Continue to start the ANSYS, Inc. License Manager. 14. Click Exit to close the License Wizard. 15. Click Exit to close the Licensing Server Installation Configuration screen. 16. Click Exit to close the License Manager Installation screen. 17. Click Exit to close the ANSYS, Inc. Installation Manager. 18. Open a terminal window and navigate to your ANSYS installation. The following table lists the default paths to start the ANSYS products you have installed.
Application Locations Application
How to Launch
CFD Post
/ansys_inc/v150/cfdpost
CFX
/ansys_inc/v150/CFX/bin/<productname> Where <productname> can be cfx5, cfx5launch, cfx5pre, cfxsolve, or cfx5post.
FLUENT
/ansys_inc/v150/fluent/bin/fluent
ICEM-CFD
/ansys_inc/v150/icemcfd/icemcfd
ICEPAK
/ansys_inc/v150/icepak/icepak
PolyFlow
/ansys_inc/v150/polyflow/bin/polyflow
Turbogrid
/ansys_inc/v150TurboGrid/bin/cfxtg
Workbench
/ansys_inc/v150/Framework/bin/Linux64/runwb2
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
41
Installing the ANSYS Products and the License Server on Different Linux Machines
4.5.1.1. ing the License Server Follow this procedure to your license server information if you are a new who has not received a license file for your server or if you add or change a license server machine. See the ANSYS, Inc. Licensing Guide for more information on selecting license servers (Selecting License Server Machines) and on using the ANSLIC_ utility (Using the ANSLIC_ Utility). 1. Use the License Server Machine Information option of the ANSLIC_ utility to license server information on each license server. To run the ANSLIC_ utility on a Linux platform, type: /
/shared_files/licensing/lic_/anslic_
2. Select OK and Create File to save this information to a file named licserver.info by default. 3. Return the resulting licserver.info file to your ANSYS, Inc. sales representative. ANSYS, Inc. or your sales representative will then supply you with your license keys. 4. Use the Run the License Wizard option of the ANSLIC_ utility to enter your license key and start the license manager.
4.5.2. Network Installation and Product Configuration To complete a network installation (where the product is installed on one machine and one or more clients access that installation to run the product) to a file server machine or a cross-platform installation (where the product for one machine type is installed on a different machine type), follow the steps below. These steps apply to the following products: Mechanical APDL, ANSYS Workbench, ANSYS CFX, ANSYS ICEM CFD, ANSYS Fluent, ANSYS Polyflow, ANSYS Icepak, Common/CAD, and Remote Solve Manager (RSM). A network installation must be homogeneous, although you can install on different operating systems and architectures within the same platform. For example, you can install multiple Linux platforms on a single Linux file server, and clients 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.5.2.1. Export the /ansys_inc Directory
42
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation 4.5.2.2. Run the Product Configuration Utility on All Client Machines 4.5.2.3. Configure Licensing for File Server Installations We strongly recommend that these steps be performed by the same non-root . Installing and configuring as different s may create permissions problems. Likewise, installing and/or configuring as a root may also result in permissions problems.
4.5.2.1. Export the /ansys_inc Directory If you are installing an ANSYS, Inc. product on a file server, you need to export the /ansys_inc directory to all client machines so that all s can access the program. You will also need to share the ANSYS directory if the machine you are installing on does not have a DVD drive or an internet connection for ing files and you need to share files with a machine that does have a DVD drive or internet connection. The instructions below assume ANSYS, Inc. products were installed in the specified directory. 1.
Install the ANSYS, Inc. products. The following example uses /usr/ansys_inc.
2.
Export the ansys_inc directory by adding the following line to the /etc/exports file: /usr/ansys_inc
The default behavior on Linux provides read-only access from all clients. To enable read/write permission from all clients, use *(rw): /usr/ansys_inc *(rw)
Alternatively, if the installing is root, use: /usr/ansys_inc *(rw,no_root_squash)
3.
Run exportfs -a
4.
On all client computers, mount the ansys_inc directory.
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 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
43
Installing the ANSYS Products and the License Server on Different Linux Machines 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/
/) 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).
4.5.2.2. Run the Product Configuration Utility on All Client Machines For both network and cross-platform installations, you must run this step on every client machine.
Note The name and ID utilized when running the Product Configuration Utility must be the same as the installing server . 1.
On each client machine, issue the following command to run the Product Configuration utility: /ansys_inc/v150/ProductConfig.sh
2.
44
Select Configure Products.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Installation 3.
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.
4.
On the Configuration Complete dialog box, click Finish.
5.
To configure NX, run the CAD Configuration Manager. See Configuring CAD Products (p. 69) for detailed information on using alternative methods to configure NX.
4.5.2.3. Configure Licensing for File Server Installations When you run a cross-platform/file server installation where the product is installed on one platform and run on a different platform, you will need to complete the client licensing configuration on the client machines where you will be running the product. 1.
Run the ANSLIC_ utility: /ansys_inc/shared_files/licensing/lic_/anslic_
2.
Choose Tools> Complete Unfinished Licensing Installation Configuration.
3.
Follow the on-screen prompts to provide any necessary information.
4.
Click Exit.
After completing the installation process, please refer to Post-Installation Instructions (p. 47)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
45
46
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 5: Post-Installation Instructions 5.1. Post-Installation Procedures for All Products The following post-installation procedures apply to all ANSYS, Inc. products. Individual products may have additional post-installation procedures; please refer to the following sections for each product. 5.1.1. Post-Installation Procedures for Mechanical APDL and ANSYS Workbench Products 5.1.2. Post-Installation Procedures for ANSYS CFX 5.1.3. Post-Installation Procedures for ANSYS Fluent 5.1.4. Post-Installation Procedures for ANSYS Polyflow 5.1.5. Post-Installation Procedures for ANSYS ICEM CFD 5.1.6. Post-Installation Procedures for ANSYS Autodyn 5.1.7. Post-Installation Procedures for Other Products
Note If the installation program reported any errors, please review the installation error file (install.err) located in the ANSYS Inc directory. your ANSYS representative if you have any questions. After the product is installed, you need to establish some system settings, including path names and environment variables. See your shell documentation or man pages file for the shell being used for specific instructions on setting paths and environment variables. 1.
Add the following paths to all s' startup files (i.e., .cshrc , .profile, or . files). /ansys_inc/v150/ansys/bin
(or appropriate path to the individual products' executables)
/ansys_inc/shared_files/licensing/lic_ (contains
ANSLIC_
utility)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
47
Post-Installation Instructions 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 s will output their analysis results. Note that the X server must have permission to connect to the host machine. If you will be using connection functionality, you may have additional environment variables to set. See the section Configuring CAD Products (p. 69) later in this guide for more information. 3.
Set the license manager to start automatically at boot time. For platform-specific instructions, see License Manager Automatic Startup Instructions in the ANSYS, Inc. Licensing Guide.
4.
Designate server(s) for license checkout and establish necessary privileges (recommended but not required). For information on these tasks, see Post-Installation Instructions for the License Manager in the ANSYS, Inc. Licensing Guide.
5.
Make a backup copy of the /ansys_inc directory using a tape backup command such as tar.
6.
the installation by logging out as root (if you installed as root) and logging back in as a regular and then starting the product to that it starts and runs correctly.
Quality Assurance Services: If you require verification of Mechanical APDL, the Mechanical Application, Fluent, or CFX, ANSYS, Inc. offers Quality Assurance services. If you are interested in this service, go to http://www.ansys.com// Quality+Assurance/Quality+Services or call the ANSYS, Inc. Corporate Quality Group at (724) 746-3304.
48
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products
5.1.1. Post-Installation Procedures for Mechanical APDL and ANSYS Workbench Products The following post-installation procedures apply only to the Mechanical APDL 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 ANSYS150_DIR environment variable sets the location of the ANSYS directory hierarchy. The default value is /ansys_inc/v150/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 /ansys_inc/shared_files/licensing . You probably will not need to reset this variable, unless you change the location of the licensing files. ANSYS150_PRODUCT - set this to the correct product variable to run Mechanical APDL 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 s from opening a new job with the same name and in the same directory as the current job. ANSYS150_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. ANSYS150_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). ANSYS150_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).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
49
Post-Installation Instructions 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_ utility and the Mechanical APDL 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. 69) later in this guide for more information. 2.
Create or update the at. files. The at.allow file should contain the name of all s allowed to run batch jobs; the at.deny file should contain the name of s who are not permitted to run batch jobs. The files consist of one name per line and can be modified only by the super. 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_ utility to properly configure ANSYS (depending on the products you are running) or relink ANSYS.
4.
Specify the product order as it will appear in the Mechanical APDL launcher (optional). If you want to specify product order, use the ANSLIC_ utility. See the ANSYS, Inc. Licensing Guide for more information.
Explicit Dynamics, Rigid Dynamics, My Computer Background, and Remote Solve Manager (RSM) s: If you are running ANSYS Workbench on a multi 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- RSM Machine in the RSM documentation for more information.
5.1.2. Post-Installation Procedures for ANSYS CFX The following post-installation procedures apply only to the ANSYS CFX product. The Linux installation of ANSYS CFX or ANSYS TurboGrid automatically installs the Sun Java 2 Runtime Environment in the /ansys_inc/v150/common50
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products files/jre directory. Regardless of whether you have modified your setup files, you can still run ANSYS CFX commands by specifying the full pathname of the commands you want to run. This procedure may be useful if you have several releases of ANSYS CFX installed and you want to run more than one release. Unless you want to run ANSYS CFX commands by typing their full path names, for example cfxroot/bin/cfx5 (where cfxroot is the directory in which ANSYS CFX is installed), your command search paths must be modified to search the directory cfxroot/bin. This can be done by one of the following methods: Modification of individual setup files You can select Tools> Configure Startup Files from the ANSYS CFX Launcher to modify your own setup files: . for the C shell, .profile for the Bourne and Korn shells. The utility can also be run from the command line by entering: cfxroot/bin/cfx5setup
If this modification is done, the ANSYS CFX software will be available every time you , just by running the ANSYS CFX commands by name. This method has the advantage that it need not be done by the system , but has the disadvantage that it must be done by each . setup can also be run from the command line by entering: cfxroot/bin/cfx5setup
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 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 s 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, s of the C shell then need to do the following to run ANSYS CFX:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
51
Post-Installation Instructions source ~/cfx5. cfx5
Having created the setup files, s 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 modifies the setup files (normally /etc/profile), which are run by all s during , 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 s to use the software, it also: • Affects s regardless of whether they use ANSYS CFX • Can only be done by the root • Is system dependent Refer to your system documentation for information about which files to change for your workstations.
5.1.2.1. Setting up ANSYS TurboGrid Release 15.0 Manual modification of individual setup files To start ANSYS TurboGrid without using full pathnames every time you want to run the ANSYS TurboGrid software, your path must be altered to include the ANSYS TurboGrid directory. This can be done by adding the following line to the . and .cshrc files in your home directory: set path=(cfxroot/bin $path)
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
and these lines to the .dtprofile file in your home directory: 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.
52
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products Modification of system setup files The system modifies the setup files ( normally etc/profile), which are run by all s during , 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 s to use the software, it: • Affects s regardless of whether they use ANSYS TurboGrid • Can only be done by the root • Is system dependent Refer to your system documentation for information about which files to change for your workstations.
5.1.2.2. Using the ANSYS CFX Launcher to Set Up s To create setup files to be merged or run manually, start the ANSYS CFX Launcher using the command: cfxroot/bin/cfx5
and select Tools> Configure Startup Files. This option runs cfxroot/bin/cfx5setup 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 again or source your setup files before you can use the software. setup can also be run from the command line by entering: cfxroot/bin/cfx5setup
Enter the flag -h to view the optional commands.
5.1.2.3. ing the Installation of ANSYS CFX Products If you are working on a Linux machine and have not used ANSYS CFX before, you will first need to set yourself up to run the ANSYS CFX commands. To keep all the files for the example together, you should first create a new directory in which to run the example. This can be done by typing: Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
53
Post-Installation Instructions mkdir cfx_example
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.
5.1.3. Post-Installation Procedures for ANSYS Fluent To start ANSYS Fluent without using full pathnames every time you want to run the Fluent software, your path must be altered to include the ANSYS Fluent bin directory. You can do this in the C shell and its derivatives by entering: set path = (/ansys_inc/v150/fluent/bin $path)
or in the Bourne/Korn shell or bash, by entering: PATH=(/ansys_inc/v150/fluent/bin $path) export PATH
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.
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. that the environment variable is unset by typing: printenv FLUENT_INC
This command should not return anything. 2.
Add the following paths to all s' startup files:
/ansys_inc/v150/fluent/bin
54
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products 3.
Run the following command:
/ansys_inc/v150/fluent/bin/fluent
4.
Click Default.
5.
Click Yes when asked if you want to discard the LAUNCHER history.
6.
Click Cancel if you do not wish to start Fluent at this time. The new defaults will have been saved.
Please refer to the ANSYS Fluent Quick Start Guide for more information.
5.1.4. Post-Installation Procedures for ANSYS Polyflow Polyflow no longer requires the FLUENT_INC environmental variable. It should be deleted as is recommended for Fluent: •
Remove the FLUENT_INC setting from your .cshrc, .profile, or .bashrc file if you have added it for previous versions. that the environment variable is unset by typing: printenv FLUENT_INC
This command should not return anything.
5.1.5. Post-Installation Procedures for ANSYS ICEM CFD The following post-installation procedures apply only to the ANSYS ICEM CFD product. 1.
Add the following paths to all s' startup files (i.e., .cshrc or . files). /ansys_inc/v150/icemcfd/
/bin ANSYS ICEM CFD operating system directories are: Hardware
ICEMCFD_OS_DIR
Linux x64 (AMD Opteron)
linux64_amd
Linux x64 (EM64T)
linux64_amd
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
55
Post-Installation Instructions 2.
Add the following environment variable to all s' startup files. ICEM_ACN - set to /ansys_inc/v150/icemcfd/
3.
Start ANSYS ICEM CFD by typing icemcfd.
5.1.6. Post-Installation Procedures for ANSYS Autodyn The following post-installation procedures apply only to the AUTODYN product. Add the following paths to all s' startup files (i.e., .cshrc or . files). /ansys_inc/v150/autodyn/bin
path to the AUTODYN executable
5.1.7. Post-Installation Procedures for Other Products BladeEditor In order to use BladeEditor, you must set the Geometry license preference to ANSYS BladeModeler as follows: 1.
In the ANSYS Workbench menu, select Tools> License Preferences.
2.
In the License Preferences dialog box, click the Geometry tab.
3.
If ANSYS BladeModeler is not the first license listed, then select it and click Move up as required to move it to the top of the list. If ANSYS BladeModeler is not in the list, then you need to obtain an ANSYS BladeModeler license.
4.
Select ANSYS DesignModeler in the list and set its value to 0 (which means “Don't Use”). This step prevents DesignModeler from using an ANSYS DesignModeler license when an ANSYS BladeModeler license is not available.
5.
Click OK to close the dialog box.
You can inadvertently destroy your BladeEditor models by updating a project or otherwise processing a Geometry cell, depending on your license preference settings. This problem can affect you if you have any ANSYS DesignModeler licenses. To avoid this problem, configure the license preferences as described above. For more details, please see Configuring the BladeModeler License in the ANSYS BladeEditor documentation.
56
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Localization
5.2. Product Localization Some ANSYS, Inc. products are available in multiple languages, including English, German, and French. For those products that are localized, you are able to view the GUI and messages in the specified language. See your specific product documentation for instructions on choosing a localized version of the product. All products that are localized define the language via the languagesettings.txt file. In most cases, you will not have to manually edit this file. If you do need to edit it manually, you can use one of the following values: en-us (English, default) de (German) fr (French) ANSYS, Inc. applications will look for the languagesettings.txt file in the following locations, in order: 1. $Home/.ansys/v150 2.
/ansys_inc/v150/commonfiles/language ANSYS, Inc. licensing also looks for the languagesettings.txt in the licensing languages subdirectories in order to display the ANSLIC_ 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.
5.2.1. Translated Message File Installation for Mechanical APDL If your ANSYS sales representative has supplied you with message files in your local language, use the following procedures to install and access these files. You must create new message files for each release because error messages may occur in a different order for each release. 1.
Create a language-named subdirectory (for example, fr for French) under the /docu directory: mkdir /ansys_inc/v150/ansys/docu/fr Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
57
Post-Installation Instructions 2.
Copy the message files msgcat.150, msgidx.150, and msgfnm.150 into that subdirectory.
3.
Access these files from the Language Selection option of the launcher or via the -l command line option: ansys150 -l fr
5.3. Launching ANSYS, Inc. Products To launch ANSYS, Inc. products on Linux platforms, issue the appropriate command from the list below. The paths specified assume that you installed the product using the symbolic link to /ansys_inc. If you did not, substitute your installation path for the path given below. Table 5.1: Startup Commands Product
Command
Notes
Mechanical APDL
/ansys_inc/v150/ansys/bin/ansys150
For a complete list of command line options, see Starting an ANSYS Session from the Command Level in the Operations Guide.
ANSYS Workbench
/ansys_inc/v150/Framework/bin/
/runwb2
ANSYS CFX
/ansys_inc/v150/CFX/bin/cfx5
ANSYS Fluent
/ansys_inc/v150/fluent/bin/fluent
ANSYS ICEM CFD
/ansys_inc/v150/icemcfd/
/bin/icemcfd
ANSYS Polyflow
/ansys_inc/v150/polyflow/bin/polyman
58
For a complete list of command line and launcher options, see Starting ANSYS Fluent in the Fluent s Guide.
Starts the POLYFLOW MANager. For any other tool, use /an-
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Launching ANSYS, Inc. Products Product
Command
Notes sys_inc/v150/polyflow/bin/
ANSYS CFD-Post
/ansys_inc/v150/CFDPost/bin/cfdpost
ANSYS Icepak
/ansys_inc/v150/Icepak/bin/icepak
ANSYS TurboGrid
/ansys_inc/v150/TurboGrid/bin/cfxtg
ANSYS Autodyn
/ansys_inc/v150/autodyn/bin/autodyn150
solver only
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
59
60
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 6: Silent Mode Operations ANSYS, Inc. s silent mode operations, including installation, product configuration/unconfiguration, and uninstall. You can specify the following product flags. These flags are all valid for a silent install. However, because of the way the products are packaged, not all of these flags may be valid for a silent configuration/unconfiguration, or uninstall.
Product Flags Product
product_flag
Mechanical APDL
-mechapdl
ANSYS Customization Files
-ansyscust
ANSYS Autodyn
-autodyn
ANSYS LS-DYNA
-lsdyna
ANSYS CFD-Post
-cfdpost
ANSYS CFX
-cfx
ANSYS TurboGrid
-turbogrid
ANSYS Fluent
-fluent
ANSYS Polyflow
-polyflow
ANSYS Aqwa
-aqwa
ANSYS Icepak
-icepak
ANSYS ICEM CFD
-icemcfd
Note: Installing any of the above products will install ANSYS Workbench. ANSYS ICEM CFD Unigraphics NX Interface
-icemug
ANSYS Remote Solve Manager Standalone Services
-rsm
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
61
Silent Mode Operations Product
product_flag
NX Geometry Interface
-ug
CATIA 4.x Geometry Interface
-catia4
Parasolid Geometry Interface
-parasolid
ACIS Geometry Interface
-acis
6.1. Silent Product and License Manager Installation You can deploy an ANSYS, Inc. product installation in silent mode. The general form to run a silent product installation, including the client licensing, is: INSTALL -silent -install_dir path -product_flag
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, Inc. License Manager on Linux systems that will act as license servers, you must run the INSTALL.LM command: INSTALL.LM -silent -install_dir path
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
Initiates a silent installation.
-help
Displays a list of valid arguments for a silent installation.
-install_dir path
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.
62
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Silent Product and License Manager Installation -product_flag
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.
-productfile path
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 (p. 65) below for more details.
-disablerss
Disables automatic internet feeds to ANSYS, Inc. products (Linux only).
-licfilepath path
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).
-setliclang language
Specifies a language to use for the ANSLIC_ 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).
-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
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
63
Silent Mode Operations Example: 2325:1055:abc,def,xyz The default values for the Licensing Interconnect and FlexNet 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_ utility. Any messages will be written to the appropriate installation log files. Installation log files are located in the installation directory: install.log contains installation 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_<>_
.log file, located in /var/tmp.
Caution A silent license manager installation could shut down the ANSYS, Inc. License Manager, affecting other s who are using that license server machine. For more information on the silent license manager installation, see the ANSYS, Inc. Licensing Guide.
64
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Silent Product Configuration/Unconfiguration
Specifying Products with an Options File You can also specify an options file on the command line using the -productfile path option. The options file can have any name and extension, but the path must include the full path and filename, including any extension used. The options file can specify which products you want to install. The options file can contain all possible products, with the products you do not want to install commented out, or it can contain only the products you want to install. An example options file is shown below. In the example, NX is commented out using an acceptable comment indicator. When using the options file, do not include the dash (-) before the product name. mechapdl ansyscust autodyn lsdyna cfdpost cfx turbogrid fluent polyflow icemug icepak #ug
6.2. Silent Product Configuration/Unconfiguration You can also run the ProductConfig utility via command line (i.e., silent mode) to configure products. To run in silent mode, from each client machine, run the ProductConfig with the -silent option: /ansys_inc/v150/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
product_flag
Mechanical APDL
-mechapdl
ANSYS CFD-Post
-cfdpost
ANSYS CFX
-cfx
ANSYS TurboGrid
-turbogrid
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
65
Silent Mode Operations Product
product_flag
ANSYS Fluent
-fluent
ANSYS Polyflow
-polyflow
ANSYS Icepak
-icepak
ANSYS ICEM CFD
-icemcfd
ANSYS Remote Solve Manager Standalone Services
-rsm
Errors will be written to the install.err on the server machine if you have write access to that machine.
6.3. Silent Media Installation To run a silent installation from the media, you can either: • Copy the contents of each DVD to a folder on the machine's hard disk such that the 150-
.dvd files of each DVD are located in the same directory. You can then proceed with the silent installation as described earlier. • Place all of the media in separate drives (any combination of virtual ISO mounts or hardware drives) so that they can be accessed simultaneously during the installation. Then run the silent installation as described earlier, but include the additional -media_dir2 <path> option for each drive: INSTALL -silent -install_dir path -product_flag -media_dir2 <path>
The installer uses the mount directory from which it was launched as the first media path; you need to specify only the location of the subsequent DVD(s) using the -media_dir2 option shown in the example above.
6.3.1. Silent Uninstall You can also run the uninstall silently by issuing the following command: /ansys_inc/v150/ans_uninstall150 –silent
The silent uninstall will automatically uninstall all products for this release and delete the v150 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: 66
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Silent Media Installation Mechanical APDL
-mechapdl
ANSYS CFX
-cfx
ANSYS CFD-Post
-cfdpost
ANSYS Fluent
-fluent
ANSYS Polyflow
-polyflow
ANSYS ICEM CFD
-icemcfd
ANSYS TurboGrid
-turbogrid
ANSYS Icepak
-icepak
ANSYS Remote Solve Manager Standalone Services -rsm For example, to uninstall only TurboGrid and Icepak, issue the following command: /ansys_inc/v150/ans_uninstall150 –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 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
67
68
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 7: Configuring CAD Products The connection functionality of all ed CAD products is included with the ANSYS release media, and all CAD functionality except NX is installed by default. To use the connection functionality, you need to ensure that the product is properly licensed, and set any necessary environment variables or other configuration as appropriate. See the manuals for the individual CAD products for information about environment variables and other configuration requirements. For complete information about the files you can import, see Introduction to Import in the ANSYS Connection 's Guide.
Caution Be sure to install Mechanical APDL 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.
7.1. Using the CAD Configuration Manager The CAD Configuration Manager utility allows you to configure geometry interfaces for ANSYS Workbench on Linux systems. CAD configuration is typically handled during the product installation; however, if you chose to skip those steps, or if you make changes to your local CAD configuration between releases (for example, you move or update your CAD package, or remove it entirely), you can use this utility. Note that only Reader mode for NX is ed on Linux.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
69
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 (options are active on Windows only) • CAD Configuration An istrative has the option to configure or unconfigure any selected CAD systems either for the present 's environment or for all s, as indicated by the Configuration actions apply to options. When the original installation was performed by a non-istrative , an istrative will only be allowed to configure or unconfigure for all s. In this situation, NX configure and unconfigure actions are skipped. Non-istrative s will only be allowed to configure for themselves. Any -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/v150/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigUtilityGUI.exe.
2.
On the CAD Selection tab, choose the ANSYS products and the CAD products that you need to configure. You must select at least one ANSYS product and at least one CAD product to enable the remaining functionality.
3.
If you selected NX as one of your CAD products, the NX tab opens.
70
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager
4.
5.
a.
Enter or browse to the NX installation location.
b.
The NX custom directory file is not applicable on Linux and can be ignored as it will be disabled.
c.
Click Next.
The CAD Configuration tab opens. a.
Click the Configure Selected CAD Interfaces button.
b.
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.
c.
For more details, click the Display Configuration Log File button to see a detailed log file.
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.
7.1.2. Running the CAD Configuration Manager in Batch Mode You can configure ANSYS Geometry Interfaces by supplying the CAD Configuration Manager with arguments specific to the CAD sources you want to make available. The following table contains a list of ed arguments. The command to run the CAD Configuration Manager in batch mode on Linux is:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
71
Configuring CAD Products /ansys_inc/v150/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigurationUtility.exe -arguments
Argument
Value
Comment
unconfigure
None
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.
UG_CONFIG_WB
None
Configure/unconfigure NX Geometry Interface to Workbench. The argument UGII_BASE_DIR must also be specified.
UGII_BASE_DIR
Full path to NX This should agree with environment variable installation (quota- UGII_BASE_DIR. Not required with uncontions are required figure operation. if there are spaces in the path).
UG_USE_COLORS
None
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: /ansys_inc/v150/commonfiles/CAD/bin/ansmono Ans.CadInt.CADConfigurationUtility.exe -UG_CONFIG_WB -UGII_BASE_DIR "<pathtonx>"
where /ansys_inc/v150 is the installation directory you specified. To unconfigure the same CAD Interface, the command would be: /ansys_inc/v150/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.
72
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring the Geometry Interface for NX for ANSYS Workbench Products
7.1.3. NX Configuration Running the CAD Configuration Manager for NX performs the following steps to activate the NX reader: • s the NX Reader for ANSYS Workbench by copying the file UGNX#.Component.XML from /ansys_inc/v150/aisol/CADIntegration/UG to either /ansys_inc/v150/commonfiles/registry/linx64/append when the configuration manager is in istrative mode or to $HOME/.config/Ansys/150/RegFiles_NNNN/append, when the CAD Configuration Manager is run by a non-. 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 RegFiles directory. • You must specify the environment variables UGII_BASE_DIR and UGII_ROOT_DIR. The UGII_BASE_DIR must point to the install location supplied to the CAD Configuration Manager. The UGII_ROOT_DIR must point to the /ugii or /bin subdirectory in the NX install location. The WorkBench Reader for NX will not work without these two variables set properly, as these are required for proper startup of the CAD.
7.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. Launch CAD Configuration Utility. 2. Select CAD Interface Configuration to continue. 3. Select Configure UG NX Reader for Workbench to continue. 4. Enter the directory path to the NX installation path. Select OK to continue. 5. Select EXIT to close CAD Configuration Utility.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
73
74
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 8: Uninstalling the Software 8.1. Uninstalling ANSYS, Inc. Products To uninstall a product, issue the following command: /ansys_inc/v150/ans_uninstall150
Alternatively, if you are using the Mechanical APDL product, you can use the Uninstall option of the ANS_ utility. To launch ANS_, issue the following command: /ansys_inc/v150/ansys/bin/ans_150
1.
From the uninstall , choose one of the following uninstall options: • Select Products to Uninstall • Uninstall all ANSYS Products If you are not a super, 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/v150 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 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
75
76
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 9: Troubleshooting 9.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 action required to correct the problem. You can also find answers to commonly-asked questions on our customer portal. After you to the customer portal, select Knowledge Resources> Solutions. 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.
9.1.1. Using ANSLIC_ to Gather Diagnostic Information You can use the Gather Diagnostic Information option of the ANSLIC_ utility to query the system for various pieces of information that may be needed for troubleshooting certain problems. This option collects information about the system as well as about ANSYS licenses and sends all of the information that it collects to the log area. At times it may be necessary to provide the information for technical . Use the Write to File button at the bottom of the ANSLIC_ to write a file. Then forward the file to the appropriate person.
9.1.2. The GUI Installation Process Hangs • If the GUI installation process appears to “hang” during file extraction, with no activity appearing in the message window, press ENTER on the command window used to start the installation. When the installation is complete, check the message window carefully for any installation errors or warnings; however, this situation rarely causes installation errors.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
77
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.
9.1.3. The Target Machine Does Not Have a DVD Drive If the target machine does not have a DVD drive, we recommend that you the installation files from the Customer Portal on www.ansys.com or follow the instructions in Mounting the DVD Instructions for DVD Installations (Linux x64 Only) (p. 22) to mount to a machine that does have a DVD drive. You can also mount the DVD on a Windows machine, then copy all of the files (using binary format) to the target Linux machine in the exact same directory structure as is on the DVD, and follow the instructions in ing the Installation Files. However, we strongly recommend against copying the Linux installation files from a Windows machine; such a file transfer can result in unpredictable behavior.
9.1.4. The Online Help System Does Not Run Properly The online documentation for the Linux versions of the ANSYS ICEM CFD and ANSYS Icepak products uses the Oracle Help browser. Several unusual behaviors and their cause and resolution are listed. If you request help and nothing happens: • On a few machine configurations, the online help system can take up to 60 seconds longer than the product to initialize, due to the large amount of documentation available. If you request help within 60 seconds of running the product, you may simply need to wait a few more seconds for help to start. • If you have minimized the help windows, activating help will not restore them to their original size. Instead of minimizing help, you can close the help windows when you are done using help. This does not exit the help, so the help system will still be available quickly next time you request help. • The help system may have aborted due to a system error. You cannot restart the help system from your current session. You can save your work and restart a new session.
78
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
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 s 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 s earlier in this guide for information on specific changes we suggest.
9.1.5. CAD Configuration Manager Help Does Not Load If the help for the CAD Configuration Manager 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.
9.1.6. Cannot Enter Data in Text Fields SUSE On some SUSE Linux systems, if you cannot enter data in text fields during the installation or when using the ANSLIC_ utility, you may be encountering a Tcl incompatibility. To correct the problem, unset the following environment variables before running the installation or the ANSLIC_ utility: Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
79
Troubleshooting QT_IM_MODULE XMODIFIERS GTK_IM_MODULE You should reset these environment variables when you are finished running the installation or using ANSLIC_. 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.
9.1.7. and Installation Error Messages The current platform type is not selected and is not included in current files. Please make sure that you are using the correct media or ed file. Continuing with a platform installation may require additional post-install configuration. Do you wish to continue? This message occurs if you have selected a platform for installation that does not match the files you are trying to install (either from the installation DVD or from ed installation files). Cannot find file <product>.tar in directory
This error may appear during the ANSYS installation if you have entered the wrong DVD pathname. Check Mounting the DVD Instructions for DVD Installa-
80
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installation Troubleshooting tions (Linux x64 Only) (p. 22) and enter the correct pathname for your platform. Licensing files currently installed for
are more recent than those on the installation media. The
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.
9.1.8. System-related Error Messages Error, could not open display. Either the DISPLAY environment variable is not correct or the xhosts command was not properly set. See the Basic Analysis Guide for specific graphics information. ***Error, ANSYS150_DIR environment variable is not set. This is a fatal error – exiting. This message indicates that the ANSYS150_DIR environment variable was not set where necessary for licensing. This environment variable (which is set in the scripts that run ANSYS) should be set to the release-specific installation directory.
9.1.9. High Performance Computing Error Messages The following error messages are associated with the High Performance Computing solvers. mpid: Error: HP MPI version incompatibility detected
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
81
Troubleshooting You may encounter this or a similar message if you attempt to use ANSYS 15.0 with a different version of MPI than is ed. See the Parallel Processing Guide for a complete list of ed MPI versions.
9.2. Installation Troubleshooting - Mechanical APDL The items listed below apply only to the Mechanical APDL product.
9.2.1.Your batch jobs terminate when you log out of a session On some systems, you may need to use the ‘nohup’ option to allow batch jobs to continue running after you log out of a session. If you are running via the Launcher, select Options> Use ‘nohup’ To Start Batch Runs With Output Sent to ‘File Only.’ We do not recommend using this setting on systems that automatically set ‘nohup.’
9.2.2. Japanese/Chinese characters display in status bar windows on Mechanical APDL on Red Hat AS 4.0 If you are running the traditional Mechanical APDL 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.
9.2.3. Mechanical APDL Documentation File for Interface Error Messages Missing or erroneous documentation files for interface. Command ignored. that the documentation list file for the interface exists in the /ansys_inc/v150/ansys/gui/en-us/UIDL subdirectory. ls -l
/ansys_inc/v150/ansys/gui/en-us/UIDL/menulist150.ans
The system should respond with: -rw-r--r-- 1 root 23 Jan 8 11:50 /ansys_inc/v150/ansys/gui /en-us/UIDL/menulist150.ans
82
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installation Troubleshooting - Mechanical APDL Make sure that the pathnames in the menulist150.ans file are correct.
9.2.4. Launcher Error Messages Some of the more common error messages follow. See the ANSYS, Inc. Licensing Guide for licensing-related launcher messages. ***Cannot create required <profile> file. Therefore, cannot write to profile information during this launcher session. If you see this error, you cannot add or modify profile information during this launcher session. that you have write access to the directory and restart the launcher session. Typically, this directory is C:\Documents and Settings\< name>\Application Data\Ansys\v150\launcher on Windows or ~/.ansys/v150/launcher on Linux.
9.2.5. FORTRAN Runtime Error Messages The following error messages occur if the is running Mechanical APDL in a directory in which the does not have write permission, or if Mechanical APDL files (i.e., Jobname.RST, Jobname.DB) exist in the current directory but the does not have write permissions to the files. The specific messages that appear on each system are shown below.
9.2.5.1. Intel Linux 64 Systems Input/Output Error 177: Creat Failure In Procedure: fappnd At Line: 72 Statement: Formatted WRITE Unit: 19
9.2.5.2. Intel EM64T Linux x64 Systems forrtl: Permission denied
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
83
Troubleshooting forrtl: severe (9): permission to access file denied, unit 19, file /build/v150/ansys/objs
9.2.5.3. AMD Opteron Linux x64 Systems ***ERROR Unable to open file /build/v150/ansys/objs/file.err for WRITE. Check directory and file permissions.
9.3. Installation Troubleshooting - ANSYS Workbench 9.3.1. Startup or Graphics Problems To minimize graphics problems, always that you are running the latest graphics drivers provided by your computer's hardware manufacturer. If you are running ANSYS Workbench on Linux and experience problems at startup or with the GUI or graphics displaying correctly, and you are running in accelerated graphics mode, you may need to relaunch ANSYS Workbench using the -oglmesa flag to activate software rendering: runwb2 -oglmesa
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
9.4. Installation Troubleshooting - ANSYS CFX 9.4.1. CFX Distributed Parallel Runs Fail On some SLES machines (typically ones with more than one network card), the default configuration of /etc/hosts will cause CFX distributed parallel runs to fail. In such cases, the problem might be solved by editing the /etc/hosts file to remove all lines that contain redundant loopback addresses. Do not remove the line with the first loopback address, which is typically 127.0.0.1. 84
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing Technical
9.5. ing Technical Technical for ANSYS, Inc. products is provided either by ANSYS, Inc. directly or by one of our certified ANSYS Providers. Please check with the ANSYS Coordinator (ASC) at your company to determine who provides for your company, or go to www.ansys.com and select ANSYS > s and Locations. If your is provided by ANSYS, Inc. directly, Technical can be accessed quickly and efficiently from the ANSYS Customer Portal, which is available from the ANSYS Website (www.ansys.com) under > Customer Portal. The direct URL is: .ansys.com. One of the many useful features of the Customer Portal is the Knowledge Resources Search, which can be found on the Home page of the Customer Portal. Systems and installation Knowledge Resources are easily accessible via the Customer Portal by using the following keywords in the search box: Systems/Installation. These Knowledge Resources provide solutions and guidance on how to resolve installation and licensing issues quickly. NORTH AMERICA All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Toll-Free Telephone: 1.800.711.7199 Fax: 1.724.514.5096 for University customers is provided only through the ANSYS Customer Portal. ANSYS Mechanical Products Telephone: +49 (0) 8092 7005-55 (CADFEM) Email:
[email protected] All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. National Toll-Free Telephone: Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
85
Troubleshooting German language: 0800 181 8499 English language: 0800 181 1565 Austria: 0800 297 835 Switzerland: 0800 546 318 International Telephone: German language: +49 6151 152 9981 English language: +49 6151 152 9982 Email:
[email protected] UNITED KINGDOM All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: Please have your Customer or ID ready. UK: 0800 048 0462 Republic of Ireland: 1800 065 6642 Outside UK: +44 1235 420130 Email:
[email protected] 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 Email: CFX:
[email protected]; Mechanical:
[email protected] Fluent Products Telephone: +81-3-5324-7305 Email: Fluent:
[email protected];
86
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing Technical Polyflow:
[email protected]; FfC:
[email protected]; FloWizard:
[email protected] Icepak Telephone: +81-3-5324-7444 Email:
[email protected] Licensing and Installation Email:
[email protected] INDIA All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +91 1 800 209 3475 (toll free) or +91 20 6654 3000 (toll) Fax: +91 80 6772 2600 Email: FEA products:
[email protected]; CFD products:
[email protected]; Ansoft products:
[email protected]; Installation:
[email protected] All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Toll-Free Telephone: +33 (0) 800 919 225 Toll Number: +33 (0) 170 489 087 Email:
[email protected] BELGIUM All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
87
Troubleshooting Telephone: +32 (0) 10 45 28 61 Email:
[email protected] for University customers is provided only through the ANSYS Customer Portal. SWEDEN All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +44 (0) 870 142 0300 Email:
[email protected] 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://.ansys.com) and select the appropriate option. Telephone: +34 900 933 407 (Spain), +351 800 880 513 (Portugal) Email:
[email protected],
[email protected] for University customers is provided only through the ANSYS Customer Portal. ITALY All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +39 02 89013378 Email:
[email protected] for University customers is provided only through the ANSYS Customer Portal.
88
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 10: Applications Included with Each Product The following table displays which ANSYS, Inc. applications are included with each of the product installation options. Product Install Option
What is Included?
ANSYS Structural Mechanics ANSYS Mechanical Products
Workbench [1], Mechanical APDL
ANSYS Customization Files
Workbench [1], Mechanical APDL -Programmable Feature
ANSYS Explicit Dynamics ANSYS Autodyn
Workbench [1], Autodyn
ANSYS LS-DYNA
Workbench [1], ANSYS LS-DYNA
ANSYS Fluid Dynamics ANSYS CFX (includes ANSYS CFDPost)
Workbench [1], CFX, CFD-Post
ANSYS Fluent (includes ANSYS CFD-Post)
Workbench [1], Fluent, CFD-Post
ANSYS TurboGrid
Workbench [1], TurboGrid
ANSYS Polyflow(includes ANSYS CFD-Post)
Workbench [1], CFD-Post, Polyflow
ANSYS CFD-Post only
Workbench [1], CFD-Post
ANSYS Additional Tools ANSYS ICEM CFD
ICEM CFD
ANSYS Icepak (includes ANSYS CFD-Post)
CFD-Post, Icepak
ANSYS Remote Solve Manager Stand Alone Services
Remote Solve Manager
ANSYS Geometry Interfaces Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
89
Applications Included with Each Product Product Install Option
What is Included?
ACIS
Geometry Interface for ACIS
Catia, Version 4
Geometry Interface for Catia, Version 4
NX
Geometry Interface for NX
Parasolid
Geometry Interface for Parasolid
1. Workbench includes the Workbench Framework, DesignModeler, DesignXplorer, and Remote Solve Manager.
90
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS, Inc. Installation Guide for Windows
ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317
[email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494
Release 15.0 November 2013 ANSYS, Inc. is certified to ISO 9001:2008.
Revision Information The information in this guide applies to all ANSYS, Inc. products released on or after this date, until superseded by a newer version of this guide. This guide replaces individual product installation guides from previous releases.
Copyright and Trademark Information © 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited. ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are ed trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.
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 s 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 and conditions of that software license agreement. ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights For U.S. Government s, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses).
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 ANSYS, Inc. Published in the U.S.A.
Table of Contents 1. Installation Prerequisites for Windows ............................................................... 1 1.1. System Prerequisites ..................................................................................... 4 1.1.1. CAD ........................................................................................ 6 1.2. Disk Space and Memory Requirements ......................................................... 9 1.2.1. Setting the /3GB Switch on Windows 32-bit .......................................... 9 1.3. Software Prerequisites ................................................................................ 10 1.4. GPU Requirements ...................................................................................... 11 1.5. Additional Hardware and Software Requirements ........................................ 12 1.5.1. SpaceBall .............................................................................. 13 1.5.2. Using Exceed ..................................................................................... 14 1.5.3. Using Exceed onDemand ................................................................... 14 1.6. Third-Party Software and other Security Considerations ............................... 14 2. Platform Details ................................................................................................ 17 2.1. Control (UAC) ........................................................................ 17 2.2. Compiler Requirements for Windows Systems ............................................. 20 2.3. Select Your Installation ................................................................................ 21 3. Installing the ANSYS Software for a Stand-alone Windows System ................. 23 3.1. ing the Installation Files ............................................................... 24 3.1.1. Installing from a USB Drive ................................................................. 25 3.1.2. Installing from a DVD ......................................................................... 25 3.2. Installing ANSYS, Inc. Products ..................................................................... 26 3.2.1. Product Installation with Client Licensing ........................................... 26 3.2.1.1. Specifying CAD Configurations .................................................. 30 3.2.2. ANSYS License Manager Installation ................................................... 31 3.2.2.1. ing the License Server ................................................... 34 4. Installing the ANSYS Products and the License Manager on Different Windows Machines ............................................................................................................... 35 4.1. ing the Installation Files ............................................................... 36 4.1.1. Installing from a USB Drive ................................................................. 37 4.1.2. Installing from a DVD ......................................................................... 37 4.2. Installing ANSYS, Inc. Products ..................................................................... 38 4.2.1. Product Installation with Client Licensing ........................................... 38 4.2.1.1. Network Server and Product Configuration ................................ 42 4.2.1.2. Specifying CAD Configurations .................................................. 46 4.2.2. ANSYS License Manager Installation ................................................... 47 4.2.2.1. ing the License Server ................................................... 49 5. Post-Installation Instructions ........................................................................... 51 5.1. Post-Installation Procedures for All Products ................................................ 51
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
iii
Windows Installation Guide 5.1.1. Post-Installation Procedures for Mechanical APDL and ANSYS Workbench Products .......................................................................................... 53 5.1.2. Post-Installation Procedures for ANSYS CFX and ANSYS CFD-Post ........ 55 5.1.3. Post-Installation Procedures for ANSYS Fluent ..................................... 55 5.1.4. Post-Installation Procedures for ANSYS Polyflow ................................. 56 5.1.5. Post-Installation Procedures for ICEM CFD ........................................... 56 5.1.6. Post-Installation Procedures for Other Products .................................. 56 5.2. Launching ANSYS, Inc. Products ................................................................... 57 5.3. Running the ANS_ Utility for Mechanical APDL /ANSYS Workbench Products ........................................................................................................... 57 5.4. Product Localization ................................................................................... 58 5.4.1.Translated Message File Installation for Mechanical APDL /ANSYS Workbench Products .................................................................................. 59 6. Silent Mode Operations .................................................................................... 61 6.1. Installing ANSYS, Inc. Products ..................................................................... 61 6.1.1. Silent Mode Operations ...................................................................... 61 6.1.1.1. Silent Product and License Manager Installation ......................... 63 6.1.1.2. Silent Product Configuration/Unconfiguration ........................... 67 6.1.1.3. Silent Media Installation ............................................................. 68 6.1.1.4. Silent Uninstall .......................................................................... 69 7. Configuring CAD Products ................................................................................ 71 7.1. Using the CAD Configuration Manager ........................................................ 72 7.1.1. Unconfiguring .................................................................................... 76 7.1.2. Running the CAD Configuration Manager in Batch Mode ................. 77 7.1.3. Uninstalling ....................................................................................... 79 7.1.4. Creo Parametric Configuration ........................................................... 79 7.1.4.1. Configuring the Connection for Creo Parametric ........................ 81 7.1.4.1.1. The WBPlugInPE.dat File and config.pro File ....................... 82 7.1.4.1.2.The config.pro File ............................................................. 83 7.1.4.1.3.The config.anscon.150 File ................................................. 83 7.1.4.2. Creo Parametric Environment Variables ...................................... 83 7.1.5. NX Configuration ............................................................................... 84 7.1.5.1. Configuring the Connection for NX ............................................ 84 7.1.5.2. Configuring for Teamcenter ...................................................... 85 7.1.6. ANSYS ICEM CFD Configuration .......................................................... 85 7.2. Configuring CADNexus/CAPRI CAE Gateway for CATIA V5 ............................ 85 7.3. Configuring AutoCAD ................................................................................. 86 8. Uninstalling the Software ................................................................................. 89 8.1. Uninstalling ANSYS, Inc. Products ................................................................ 89 8.1.1. Uninstalling Licensing Components .................................................... 90 9. Troubleshooting ................................................................................................ 93 9.1. Installation Troubleshooting ........................................................................ 93 iv
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Windows Installation Guide 9.1.1. Using ANSLIC_ to Gather Diagnostic Information ..................... 93 9.1.2. Uninstall Gives Access Denied Error Message ...................................... 94 9.1.3. Uninstall on a Windows 7 or Windows 8 System Gives Compatibility Error Message ............................................................................................. 94 9.1.4. A .chm File Does Not Display Properly Across a Network ...................... 94 9.1.5. Products Crash with an Application Error ............................................ 94 9.1.6.When attempting to run an ANSYS, Inc. product after the initial installation, a .NET Framework Initialization Error directing you to install the .NET framework is displayed ............................................................................... 95 9.1.7. Product Installation Does Not Create Start Menu Item for ANSYS and CAD Plugins Do Not Work ........................................................................... 95 9.1.8. Product Installation Displays Security Warning Dialogs or Silent Product Installation Hangs on a Network Install ........................................................ 95 9.1.9. System-related Error Messages ........................................................... 96 9.1.10. CasPol Error Messages ...................................................................... 96 9.2. Installation Troubleshooting - Mechanical APDL and ANSYS Workbench Products ........................................................................................................... 97 9.2.1. The Mechanical APDL Launcher is Excessively Slow to Start ................. 97 9.2.2. Display Problems on Windows XP ....................................................... 97 9.2.3. Display Problems on Windows 7 ......................................................... 98 9.2.4. ANS_ Error Messages ............................................................... 98 9.2.5. Mechanical APDL Product Launcher Error Messages ............................ 98 9.2.6. Distributed Mechanical APDL Platform MPI Error Messages ................. 98 9.2.7. ANSYS Workbench Products Troubleshooting ..................................... 99 9.3. Installation Troubleshooting - ANSYS CFX .................................................. 100 9.3.1. TurboGrid Mouse Behavior Problems ................................................ 100 9.4. ing Technical ................................................................... 101 10. Applications Included with Each Product ..................................................... 105
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
v
vi
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 1: Installation Prerequisites for Windows This document describes the steps necessary to correctly install and configure all ANSYS, Inc. products on Windows platforms for Release 15.0. These products include: • ANSYS Structural Mechanics – ANSYS Mechanical Products (includes ANSYS Mechanical and Mechanical APDL) – ANSYS Customization Files • ANSYS Explicit Dynamics – ANSYS Autodyn – ANSYS LS-DYNA • ANSYS Fluid Dynamics – ANSYS CFX (includes ANSYS CFD-Post) – ANSYS Fluent (includes ANSYS CFD-Post) – ANSYS TurboGrid – ANSYS Polyflow (includes ANSYS CFD-Post) – ANSYS CFD-Post only • ANSYS Offshore – ANSYS Aqwa • ANSYS Additional Tools – ANSYS ICEM CFD – ANSYS Icepak (includes ANSYS CFD-Post) Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
1
Installation Prerequisites for Windows – Remote Solve Manager Standalone Services • ANSYS PDM Interfaces – Teamcenter • ANSYS Geometry Interfaces – AutoCAD – ACIS – CATIA, Version 4 – CATIA, Version 5 – CATIA, Version 6 – Creo Elements/Direct Modeling – Autodesk Inventor – JT – NX – Parasolid – Creo Parametric – Solid Edge – SolidWorks
Note ANSYS Workbench and ANSYS EKM Desktop are installed by default as product components to most ANSYS, Inc. products. 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
2
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
• 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. Where ed, IGES and STEP Geometry Interfaces will be installed. Some procedures apply only to specific products and are so noted.
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 15.0). If you install an earlier release after installing Release 15.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 15.0, you MUST uninstall Release 15.0, then re-install the releases in order.
Summary of New and Changed Features The following features are new or changed at Release 15.0. Please review these items carefully. • The Windows and Linux installation guides have been rewritten and reorganized to enhance ease of use.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
3
Installation Prerequisites for Windows • Installs and Uninstalls can now be performed from a single unified installation interface. • An installation launcher is now available for the Linux platform. From this launcher, you can run the ANSYS product, License Manager and EKM installs. • For Windows systems, ANSYS, Inc. Product installation must be performed by s with istrative privileges. • Enhancements to the installation interface include: – Improved installation speed – Streamlined content display during the installation process – Progress bar tracks the installation process
1.1. System Prerequisites ANSYS 15.0 is ed on the following Windows platforms and operating system levels. For up-to-date information on hardware platforms or operating systems that have been certified, go to http://www.ansys.com//Platform+. (This URL is case-sensitive.) Table 1.1: ed Windows Platforms Processor
Operating System
Platform architecture (directory name)
x64 (64-bit)
Windows XP 64 SP2 [2], Win- winx64 dows 7, Windows 8, Windows HPC Server 2008 R2[1], Windows Server 2012 (Standard Edition)[1]
, USB
x86 (32-bit) [2]
Windows XP SP2 [2], Windows 7 [2]
, USB
intel
Availability
1. Windows HPC Server 2008 R2 and Windows Server 2012 (Standard Edition) are ed only for select solvers for parallel high performance execution. Any s running on Windows HPC Server 2008 or Windows Server 2012 (Standard Edition) as non- should be a member of the HPC s Group in the configuration of the HPC Cluster Manager.
4
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
System Prerequisites Processor
Operating System
Platform architecture (directory name)
Availability
2. ANSYS 15.0 will be the last release to the Windows XP operating system, Windows 7 (32-bit) operating system, and the Windows 32-bit platform. Subsequent service packs' and verification testing packages' discontinuance of of Windows XP will concur with Microsoft's discontinuance of the same, anticipated to be April 2014. For detailed and current information, see the Platform section of the ANSYS, Inc. website (www.ansys.com).
Note Home editions of Windows operating systems are not ed. If you are running Internet Explorer 8 on Windows XP 32-bit, you must use Windows XP SP3.
ed Platforms for High Performance Computing Please see the discussions on Configuring Distributed ANSYS and Configuring ANSYS CFX Parallel later in this guide for detailed information on ed platforms for distributed computing. Table 1.2: ed Products by Platform Product
Windows 64-bit
Windows 32-bit
ANSYS Workbench dataintegrated and native applications
√
√
Windows HPC Server 2008
Windows Server 2012 (Standard Edition)
Standalone Solvers and Applications Mechanical APDL
√
√
2
2
CFX
√
√
2
2
TurboGrid
√
√
ICEM CFD
√
√
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
5
Installation Prerequisites for Windows Product
Windows 64-bit
Windows 32-bit
Autodyn
√
√
LS-DYNA
√
√
Fluent
√
√
Aqwa
1
√
Polyflow
√
√
Icepak
√
√
EKM Server
√
Windows HPC Server 2008
Windows Server 2012 (Standard Edition)
2
2
2
2
1. ed as a 32-bit application 2. Solver only
1.1.1. CAD The following CAD and auxiliary programs are ed on the indicated products and platforms (where the CAD product is ed on the noted platforms). Products are: A = Mechanical APDL W = ANSYS Workbench I = ANSYS ICEM CFD standalone (some CAD systems may require the integrated ANSYS Workbench Reader) Table 1.3: CAD by Platform Product
XP 64–bit
Windows 7 64–bit
Windows 8 64–bit 7
XP 32–bit
Windows 7 32–bit
CATIA 4.2.4
A, W, I
A, W, I
A, W, I
A, W, I
A, W, I
CATIA V5-6R2013
A, W, I
A, W, I
A, W, I
A, W, I
A, W, I
W, I
W, I
W, I
W, I
CATIA V5 (CADNexus CAPRI CAE Gateway V3.16.1) V5R21, V5–6R2012, V5–6R2013 6
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
System Prerequisites Product
XP 64–bit
Windows 7 64–bit
Windows 8 64–bit 7
XP 32–bit
Windows 7 32–bit
CATIA V6 R2013
W, I
W, I
W, I
W, I
W, I
Parasolid 26.0 11
A, W, I
A, W, I
A, W, I
A, W, I
A, W, I
Creo Elements/Pro (Pro/ENGINEER) Wildfire 5 2, 3
A, W, I
A, W, I
A, W, I
A, W, I
Creo Parametric 1.0
A, W, I
A, W, I
A, W, I
A, W, I
Creo Parametric 2.0 6
A, W, I
A, W, I
A , W, I
A, W, I
A, W, I
ACIS 24 1
A, W, I
A, W, I
A, W, I
A, W, I
A, W, I
NX 7.5
A, W, I
A, W, I
A, W, I
A, W, I
NX 8.0
A, W, I
A, W, I
A, W, I
A, W, I
NX 8.5
A, W, I
SolidWorks 2012
W, I
A, W, I
W, I
A, W, I W, I
SolidWorks 2013
W, I
W, I
Solid Edge ST5
W, I
Solid Edge ST6
W, I
W, I
W, I W, I W, I W, I
Autodesk Inventor 2013
W, I
W, I
W, I 8
W, I
W, I
Autodesk Inventor 2014
W, I
W, I
W, I
W, I
W, I
AutoCAD 2013
W, I
W, I
W, I 10
W, I
W, I
W, I
W, I
AutoCAD 2014
W, I
IGES
A 4, W, I5
A 4, W, I5
A 4, W, I5
A 4, W, I 5
A 4, W, I 5
JT 9.5
W, I
W, I
W, I
W, I
W, I
STEP AP203, AP214
W, I
W, I
W, I
W, I
W, I
Creo Elements/Direct Modeling 17.0
W, I
W, I
W, I
W, I
Creo Elements/Direct Modeling 18.0
W, I
W, I
W, I
W, I
Creo Elements/Direct Modeling 18.1
W, I
W, I
W, I
W, I
W, I 9
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
7
Installation Prerequisites for Windows Product
XP 64–bit
Windows 7 64–bit
Teamcenter Unified 8.1 with NX 7.5
W
Teamcenter Unified 8.3 with NX 7.5.4, NX 8.0 & NX8.5 Teamcenter Unified 9.1 with NX 7.5, 8.0 & 8.5
Windows 8 64–bit 7
XP 32–bit
Windows 7 32–bit
W
W
W
W
W
W
W
W
W
W
W
GEMS
I
I
I
I
I
IDI MS8/9
I
I
I
I
I
Rhinoceros
I
I
I
I
I
1. For ICEM CFD standalone, ACIS 18.0.1 is the ed version for all platforms. 2. Requires Pro/ENGINEER 5 Build Date M020 or higher for Windows 7. 3. Pro/ENGINEER Wildfire 5 is also named Creo Elements/Pro 5.0 4. MAPDL s 5.1 by default, but 5.2 is also ed if the IOPTN command is used. 5. IGES Versions 4.0, 5.2, and 5.3 are ed. 6. Requires Creo Parametric 2.0 M030 or higher for Windows 8. 7. Professional and Enterprise 8. Requires Autodesk Inventor 2013 SP2 9. Requires Creo Elements/Direct Modeling M030 or higher. 10. Requires AutoCAD 2013 SP2. 11. For ICEM CFD direct interface, Parasolid 24.0 is the ed version on all platforms.
8
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Disk Space and Memory Requirements
1.2. Disk Space and Memory Requirements You will need the disk space shown here for each product for installation and proper functioning. The numbers listed here are the maximum amount of disk space you will need for each ANSYS, Inc. product. Depending on the options selected for each product, you may require less. Product
Disk Space
Mechanical APDL
8.1 GB
ANSYS Autodyn
6.3 GB
ANSYS LS-DYNA
6.5 GB
ANSYS CFX
6.9 GB
ANSYS TurboGrid
6.2 GB
ANSYS Fluent
7.2 GB
Polyflow
7.2 MB
ANSYS Aqwa
6.0 GB
ANSYS ICEM CFD
7.0 GB
ANSYS Icepak
7.3 GB
CFD Post only
6.2 GB
ANSYS Geometry Interfaces
1.5 GB
CATIA v5
1.2 GB
CATIA v6
95 MB
ANSYS Remote Solve Manager Standalone Services
2.2 GB
Product installations also require an additional 500 MB of free disk space during an installation. Memory Requirements We recommend that you have at least 2 GB of memory available for running product installations.
1.2.1. Setting the /3GB Switch on Windows 32-bit On Windows 32-bit systems, you can allocate additional memory to an application (such as Mechanical APDL) via the /3GB switch. Normally, Windows allocates 2 GB of memory for the Windows kernel and 2 GB for the application. When /3GB
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
9
Installation Prerequisites for Windows is enabled, the OS reduces the potential memory allocated to the kernel and makes 3 GB of memory available to the ANSYS, Inc. product. Be aware that when using the /3GB switch with Mechanical APDL, you will not be able to specify a -m setting any higher than was possible without this switch. However, with this switch enabled, Mechanical APDL can dynamically allocate more memory; dynamic memory allocation is the recommended memory allocation method. Windows XP To enable this memory allocation on Windows XP systems, add the /3GB parameter to the startup line of the boot.ini file and reboot the system. The boot.ini file may be hidden. To view hidden files, go to Windows Explorer or My Computer and select Tools>Folder Options>View. Under Hidden files and folders, check Show hidden files and folders. Windows 7 To enable this memory allocation on Windows 7, open a command prompt window and type the following command: bcdedit /set IncreaseVA 3072
Then reboot. Windows 64-bit Windows 64-bit systems already have the capability to address greater amounts of memory, so the /3GB switch is not applicable to those systems.
1.3. Software Prerequisites You must have the following software installed on your system. privileges are required to install these files. These software prerequisites will be installed automatically when you launch the product installation. If you've completed an installation successfully, the executables are also located under the \v150\prereq directory should you need to manually install them at a later date. Prior to installing, you can find them in the root \prereq directory of the media/ package. • Microsoft .NET Framework 4.0 .NET Framework 4.0 is native on Windows 8 and does not require any additional patches. .NET Framework 3.5 SP1 is native on Windows 7 and does not require any additional patches.
10
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
GPU Requirements • Microsoft Visual C++ 2005 SP1 Redistributable, 2.0.50727.762 • Microsoft Visual C++ 2008 SP1 ATL Redistributable Package • Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update • Microsoft Visual C++ 2010 SP1 ATL Redistributable Package
1.4. GPU Requirements Your system must meet the following requirements to use the GPU accelerator capability in Mechanical APDL: • The machine(s) being used for the simulation must contain at least one ed nVIDIA GPU card. (Intel Xeon Phi coprocessors are currently only ed on Linux.) The following cards are ed: nVIDIA Tesla series (any model) nVIDIA Quadro 6000 nVIDIA Quadro K5000 nVIDIA Quadro K6000 • For nVIDIA GPU cards, the driver version must be 320.00 or newer. For optimal performance on Windows, the TCC (Tesla Compute Cluster) driver mode is recommended when using Tesla series GPU cards. Some limitations exist when using this driver mode (e.g., no for Windows XP). Check your GPU card documentation for more details on how to set this driver mode and the existing limitations. • You must be running on a Windows 64-bit operating system.
Note On Windows, the use of Remote Desktop may disable the use of a GPU device. Launching Mechanical APDL through the ANSYS Remote Solve Manager (RSM) when RSM is installed as a service may also disable the use of a GPU. In these two scenarios, the GPU accelerator capability cannot be used. Using the TCC (Tesla Compute Cluster) driver mode, if applicable, can circumvent this restriction.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
11
Installation Prerequisites for Windows
1.5. Additional Hardware and Software Requirements • Pentium-class or Intel 64 / AMD64 system with the correct operating system version installed • 1GB of RAM. On some 32-bit systems, you can use the /3GB switch to allocate additional RAM to the application and less to the Windows kernel. See Setting the /3GB Switch on Windows 32-bit (p. 9) for more information. • For 32-bit systems, 4 GB free on the hard drive; up to 4.5 GB with CATIA V5. For 64-bit systems, 8 GB is recommended. • Certified graphics card with the latest drivers, compatible with the ed operating systems, capable of ing 1024x768 High Color (32-bit), and a 17-inch monitor compatible with this type of graphics card. We recommend using certified graphics card from the Nvidia Quadro FX or ATI FireGL line. ANSYS CFX products and ANSYS TurboGrid require at least 24-bit color and that antialiasing on your graphics card be disabled. How you determine whether antialiasing is enabled and how to disable the feature varies according to the graphics card you have. Please your system or refer to your system documentation for detailed instructions on changing antialiasing settings.
Note Some combinations of graphics card type, operating system, and MPEG resolution fail to play MPEGs properly. You may be able to get normal playback results simply by changing the MPEG settings. Alternatively, you can upgrade your graphics card.
• For laptop systems, ANSYS Workbench requires the latest graphics drivers. • Microsoft Mouse or a mouse compatible with the ed operating systems; ANSYS CFX-Pre and ANSYS CFD-Post require a three-button mouse. • If you use a 3Dconnexion product (Spaceball or SpacePilot Pro), ensure that you have the latest version of the drivers installed.
12
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Additional Hardware and Software Requirements • Approximately twice as much swap space as memory. The amount of memory swap space on the system may limit the size of the ANSYS model that can be created and/or solved. • T/IP for the license manager (see the ANSYS, Inc. Licensing Guide for more information on T/IP). Although T/IP is included as part of the operating system, it may not be installed by default. When T/IP is installed, it must be bound to a network adapter. On machines that are connected to an internal network, T/IP must be bound to a network card such as an Ethernet adapter. The vast majority of systems using T/IP will fall into this category. On machines that connect to the internet or corporate intranet through a modem, T/IP can be bound to the Remote Access Service. Also, the Autodial option of the Internet Options must be disabled so that the machine does not attempt to connect to the Internet every time ANSYS is run. See the ANSYS, Inc. Licensing Guide for more information. • Microsoft Internet Explorer (IE) 7, 8, or 9 is recommended for proper operation of ANSYS Workbench. Once the correct version of IE is installed, it does not have to be your default Internet browser. After installation, simply run your preferred browser and reestablish it as the default. If you are running Internet Explorer 8 on Windows XP 32-bit, you must use XP SP3. • PDF reader software is required to read the installation guides and other documentation.
1.5.1. SpaceBall Only the Mechanical APDL, ANSYS Meshing, DesignModeler, Mechanical, ANSYS ICEM CFD, and CFD-Post applications have been tested for manipulating the model (turning, zooming, panning, etc.) with the 3Dconnexion SpaceBall® and SpacePilot Pro™ products. While these 3Dconnexion products do provide significantly enhanced 3D control over viewing the model, they do not function as a mouse replacement and selection operations still require a mouse. To use a 3Dconnexion product with the listed products, you must and install the appropriate Microsoft Windows® driver for your version of Windows. Please refer to http://www.3dconnexion.com for more information on using Space products and to the appropriate drivers. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
13
Installation Prerequisites for Windows
1.5.2. Using Exceed If you run Hummingbird, Communications Ltd.'s ExceedTM product, we recommend that you adjust the Window Manager settings in order for the ANSYS Workbench GUI and the online help system to work properly. This setting affects the behavior of Windows, not just applications that are running through Exceed, and may vary depending on the version of Exceed you are running. Note that changing this setting may affect other applications that you run through Exceed; please check with your system before making any changes. Fluent or Fluent legacy products do not running from an Windows machine to a Linux or UNIX machine using Exceed or any remote software. To ensure that the ANSYS Workbench GUI works properly, follow these steps: 1.
Right-click on the Exceed icon in the Windows Task Bar.
2.
Select Tools> Configuration... menu item.
3.
Click on the Display and Video category.
4.
Click on the Common Settings tab.
5.
Set Native Window Manager Focus Policy to Click.
1.5.3. Using Exceed onDemand Turbogrid, CFX-Pre, and CFD-Post may not work properly when used remotely with Exceed onDemand.
1.6. Third-Party Software and other Security Considerations The following third-party products are used as part of the installation process. In order for the installation to work properly, you must allow access to these products. Product Name
Executable Name
Tcl
tclsh.exe
Tk
wish.exe
Perl
perl.exe
14
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Third-Party Software and other Security Considerations Product Name
Executable Name
7zip
7z.exe
Microsoft .NET Framework
.net
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
15
16
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 2: Platform Details 2.1. Control (UAC) Windows 7 and Windows 8 ANSYS, Inc. requires that you have full istrative privileges when installing any software on Microsoft Windows 7 or Windows 8. Non-istrative s do not usually have the permissions required to access system areas that installation programs often need to modify. “Full istrative privileges” means that you are running as with UAC turned off, or you are running as with UAC turned on and Run as selected. Because of changes to the UAC functionality, it is necessary that you right-click and select Run as from the context menu when installing to Windows 8. Windows 7 and Windows 8 use a feature called Control (UAC) to control privileges and automatically reduce the potential of security breaches in the operation system. However, UAC limits your accessibility to system areas and can cause unpredictable behavior in ANSYS, Inc. products, as noted below. Recommended Installation Options for Windows 7: • UAC turned off and install as full (preferred method) • UAC turned on and install with full istrative privileges (using Run as from the context menu)
Note If you are running with UAC on, even if you have istrative privileges, you will have limited control unless you specifically choose Run as . Recommended Installation Options for Windows 8:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
17
Platform Details • UAC turned off and install with full istrative privileges (using Run as from the context menu) When installing ANSYS, Inc. products, we strongly recommend that you use the recommended options above. If UAC is enabled, we recommend that you turn UAC off before installing ANSYS, Inc. products, and then turn it back on when finished installing. You must be an istrative in order to disable UAC. Follow the instructions for your operating system for disabling UAC. Once you have installed your applications, you can enable UAC again.
Installing with UAC On If you cannot disable UAC and need to install with UAC on, you must run all applications, including the installation setup, as an . Otherwise, the files may be written to AppData\Local\VirtualStore\<path> (or similar) rather than directly to <path>, if <path> is a protected directory (such as C:\Program Files). As a result, some applications and utilities may behave unpredictably. If you cannot disable UAC, you should perform the following functions: For Windows 7: • Always run ANSLIC_, the File Association utility, and the CAD Configuration Manager by selecting the utility or application from the Start menu and rightmouse clicking and selecting Run as . • Set your Start menu shortcuts to always run as with the following procedure (or similar): 1.
Right-click the shortcut you wish to modify and select Properties.
2.
From the Properties dialog box, click Advanced on the Shortcut tab.
3.
Select Run as and click OK.
4.
Click OK.
Refer to your operating system documentation or visit www.microsoft.com for more instructions on setting Run as at various levels within the operating system.
18
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Control (UAC) For Windows 8: • Always run ANSLIC_, the File Association utility, and the CAD Configuration Manager by selecting the utility or application from the Start menu and right-mouse clicking and selecting Run as . • Set your Start menu shortcuts to always run as with the following procedure (or similar): 1.
Right-click the shortcut you wish to modify and select Open File Location from the options located at the bottom of your screen..
2.
Right-click the shortcut file that is displayed and click Properties from the menu.
3.
From the Properties dialog box, click Advanced on the Shortcut tab.
4.
Select Run as and click OK.
5.
Click OK.
Notes about UAC When installing ANSYS, Inc. products, including the license manager, on Windows 7 and Windows 8 machines, you need to be aware of several factors involving Access Control (UAC): You should install the ANSYS, Inc. License Manager using the same permissions as you used to install the product. If you install both the product and the license manager with full istrative privileges, the product and licensing installation and configuration will proceed as normal. If you install as an istrative with UAC turned on, you may encounter unpredictable behavior with both the product and license manager installations and subsequent behavior. As an , you should choose to install and run applications with full istrative privileges to avoid any unpredictable situations. We strongly recommend against running with UAC on and not selecting Run as . These situations are described below.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
19
Platform Details 1. If you have UAC turned on and you do not install (and run) with full istrative privileges, be aware that files may be written to and read from the %localappdata%\VirtualStore\ location (in the case of licensing, to %localappdata%\VirtualStore\Program Files\Ansys Inc\Shared Files\Licensing) instead of to the
. In this situation, ANSLIC_ settings, such as Specify the License Server Machine, will indicate that files are being written to and read from
\Program Files\Ansys Inc\Shared Files\Licensing. Log files may behave in the same way. However, when you view the ansyslmd.ini file located in
\Program Files\Ansys Inc\Shared Files\Licensing, you will not see the ANSLIC_ settings you specified. 2. To ensure that files are correctly written to and read from
\Program Files\Ansys Inc\Shared Files\Licensing, you should always run with full istrative privileges by selecting Run as . 3. If you are not running with full istrative privileges, you will not be able to use those ANSLIC_ options that require istrative privileges, such as starting and stopping the license manager.
2.2. Compiler Requirements for Windows Systems Table 2.1: Compiler Requirements Mechanical APDL, ANSYS Workbench Compilers*
CFX Compilers*
Fluent Compilers*
AUTODYN Compilers*
Visual Studio 2010 SP1 (including the MS C++ compiler) and Intel FORTRAN 12.1 compilers
Visual Studio 2010 SP1 (including the MS C++ compiler)
Visual Studio 2010 SP1 (including the MS C++ compiler) and Intel FORTRAN 12.1 compilers
Windows (all versions) Visual Studio 2010 SP1 (including the MS C++ compiler) and Intel FORTRAN 12.1 compilers
* Compilers are required only if you will be using Programmable Features (UPF), Defined Functions (UDF), or other customization options.
20
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Select Your Installation
2.3. Select Your Installation The next step is to select your installation type. Please select the option below that matches your installation. • Installing the ANSYS Software for a Stand-alone Windows System (p. 23) • Installing the ANSYS Products and the License Manager on Different Windows Machines (p. 35)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
21
22
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 3: Installing the ANSYS Software for a Stand-alone Windows System This section includes the steps required for installing ANSYS, Inc. products and licensing configuration on one Windows machine. You can follow these instructions while actually installing the products and setting up the license server. To do so, simply use the selections that are pertinent to you and insert your specific information where noted.
Before You Begin We recommend that you have the following information available before you begin this installation: • An on the ANSYS Customer Portal. If you do not have an , you may at https://.ansys.com/portal/site/AnsysCustomerPortal to receive your own . • Your license file from ANSYS, Inc., saved to a temporary directory. For more information, see ing the License Server (p. 34). • Open port numbers forFlexNet and ANSYS Licensing Interconnect. Defaults are 1055 and 2325, respectively. To that these port numbers are available, open a command line and enter the following command: netstat -a -p t
You will see a list of active ports. If 1055 and 2325 are listed, they are already in use and cannot be used for ANSYS, Inc. licensing. In this case, you will need to specify different port numbers where indicated later in this installation. • Your local machine's hostname, to specify as the license server. You should also that you are running on a ed platform. ANSYS,Inc. s both 32- and 64-bit systems running Windows XP and Windows 7, and 64-bit systems running Windows 8. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
23
Installing the ANSYS Software for a Stand-alone Windows System that you have sufficient disk space to , uncompress, and install the products you will be installing. If you have any problems with or questions about the installation process please log a Service Request on the ANSYS Customer Portal. A Systems Specialist will respond to assist you. These instructions are divided into four sections: • Product /DVD Instructions: This set of instructions describes the and extraction process. • Product Installation with Client Licensing: This set of instructions describes the product installation, including the client licensing portion. • License Manager Installation: This set of instructions describes the license manager installation. • Post Installation Procedures for All Products: This is a set of instructions that describes any configuration steps that may be required for the various products. For this installation, both the product and the license manager will be installed on the same machine. You must complete both the client licensing portion and the license manager installation in order to run ANSYS, Inc. products.
3.1. ing the Installation Files To the installation files from our website, you will need to have a current technical agreement. Depending on the product/platform combination(s) you choose, you may need to multiple files. 1.
From the Customer Portal, https://.ansys.com/portal/site/AnsysCustomerPortal, click s > Full Products. Step 1 of the ANSYS Center Select Full Products page is displayed.
2.
24
Select all products you wish to by clicking the + to the right of each product group title and selecting the appropriate check boxes. Alternatively, you can click the Select All or Select Only Licensed Products options from the top of the page.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing the Installation Files Each product you select is displayed on the right side of the page under Selected s. 3.
After selecting all products, click Next Step. Step 2 of the ANSYS Center Select Full Products page displays all selected products by operating system.
4.
Click the link(s) for the appropriate operating system and each package to a new temporary folder.
5.
After the s have completed, uncompress each package using standard uncompression utilities for your specific platform. We strongly recommend that you extract the files into new, temporary directories.
6.
Begin the product installation as described in Installing ANSYS, Inc. Products (p. 26).
3.1.1. Installing from a USB Drive To install ANSYS, Inc. products from a USB drive, insert the USB drive into a USB slot on your computer. Locate and right-click the setup.exe file stored at the root level of the USB and select Run as . Continue with the steps described in Installing ANSYS, Inc. Products (p. 26).
3.1.2. Installing from a DVD To install ANSYS, Inc. products from a DVD, place the DVD in your DVD drive. If autorun is enabled, the installation will begin automatically. If autorun is disabled, locate and right-click the setup.exe file contained on the DVD and select Run as . Continue with the steps described in Installing ANSYS, Inc. Products (p. 26). You will be prompted to change DVDs during the installation. Please make sure you have all installation DVDs before beginning the installation.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
25
Installing the ANSYS Software for a Stand-alone Windows System
3.2. Installing ANSYS, Inc. Products This section explains how to install ANSYS, Inc. products.
Note ANSYS requires s to install all products by using the rightclick option Run as .
3.2.1. Product Installation with Client Licensing To install ANSYS, Inc. products with client licensing, follow the steps below.
Note You must also install the ANSYS, Inc. License Manager on at least one server machine in order to run ANSYS, Inc. products. See ANSYS License Manager Installation (p. 31) for license manager installation instructions. 1.
Save all data and close all Windows applications before continuing.
2.
If you ed the installation files or if you are installing from a DVD with autorun disabled, browse to the location of the setup.exe file. Right-click the setup.exe file and select Run as . The ANSYS, Inc. Installation Launcher appears.
26
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products
From the options on the left side of the launcher you can install ANSYS products, ANSYS EKM Server, MPI for ANSYS Parallel Processing, and the ANSYS License Manager. You can access the installation guide for the ANSYS EKM Server from the s page on the Customer Portal. The MPI for ANSYS Parallel Processing installation steps are displayed when you click the Install MPI for ANSYS Parallel Processing link. The ANSYS, Inc. Quick Start Installation Guide, ANSYS, Inc. Quick Start Licensing Guide, System Requirements Guide and complete Installation Help Guide can be accessed through the options located along the bottom of the launcher. 3.
Select the language you want to use from the drop-down menu in the upper right corner. English is the default.
4.
Click the Install ANSYS Products option. The license agreement appears.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
27
Installing the ANSYS Software for a Stand-alone Windows System 5.
Read the agreement, and if you agree to the and conditions, select I Agree. Click Next.
6.
The directory where you want to install the ANSYS, Inc. products is shown in the Install Directory field. You can install the products into any directory you wish, but you must have write permissions to the directory you choose. The default is C:\Program Files\ANSYS Inc. We recommend using the default directory.
Note You must install all ANSYS, Inc. products into the same location. Installing products into different locations can cause product components to fail. If 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, except on AUTODYN, which has a maximum of 40 characters. • Leave the Associate file extensions with ANSYS products checkbox marked. This allows you to double-click files from Windows Explorer to launch the various products. • Choose Disable ANSYS RSS Feed to disable automatic internet feeds to ANSYS, Inc. products. Click Next. 7.
All products available in the installation package(s) you ed are listed. You can select or deselect any combination of products. ANSYS Workbench is automatically installed with most ANSYS, Inc. products; there is no individual product selection for ANSYS Workbench. If you select AutoCAD, Catia V5, Inventor, NX, Creo Parametric, Solid Edge, or SolidWorks, you will have additional installation steps. Please see Specifying CAD Configurations (p. 30). You will also see an estimate of the disk space required to install all of the selected components, and the disk space you have available. The actual amount of disk space required may be less, but if you choose to run the installation with insufficient disk space available, we strongly recommend that you review the log files at the end of the installation to that all
28
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products products were installed correctly. Installation log files are written to the installation directory. Select/deselect the products you want to install and click Next. 8.
The dates on the licensing files being installed are compared to any that may already exist on your machine. The more recent set of files will be used. Click Next.
9.
A summary of the selected installation data appears. Review the information carefully, and if correct, click Next to continue the installation.
10. The installation progress screen displays a status bar towards the bottom of the installation window. This status bar tracks the percentage of packages that have been installed on your computer. Depending on the number of products you have selected, the installation time required could be lengthy. You will not be able to interrupt the installation process. Please be patient while the installation completes.
Note Clicking the View Details Progress Log button opens a second window that displays the name of each product package as it is uncompressed and installed. The installation program will first check your system to determine if you have the necessary prerequisites. If the prerequisites are not already on your system, the prerequisites will be installed automatically. You may be asked to run the necessary files (such as the .NET exe), or to reboot your machine, depending on your existing machine configuration. If you are asked, you will need to reboot in order to complete the prerequisite installation successfully. Click Next to continue the installation and install the client licensing. 11. Click Next to begin the client licensing configuration. A Licensing Client Installation Configuration window appears. If you already have an existing license server specification file, you will not see this window; in this case proceed directly to the next step.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
29
Installing the ANSYS Software for a Stand-alone Windows System If you do not have an existing license server specification file, the Specify License Server Machine - Add Server Specification window appears. Enter the hostname of your machine and click Next. 12. When the client licensing configuration has completed, click Exit. 13. The product installation window reappears with a message noting that the installation is complete. Click Next. 14. On the next screen, you can complete the survey or you can click Finish immediately to skip the survey and complete the product installation. The ANSYS, Inc. Installation Launcher appears. For this stand-alone installation, you must complete the License Manager installation (next) to run ANSYS, Inc. products.
3.2.1.1. Specifying CAD Configurations Creo Parametric 1.
If you selected Creo Parametric, you will have to choose which Creo Parametric 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).
2.
If you choose the Workbench Associative Interface, you may need to specify the Creo Parametric language, the Creo Parametric command, and the full Creo Parametric installation path (C:\Program Files\PTC\Creo 1.0\Parametric by default) for an existing Creo Parametric installation. Click Next.
NX 1.
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).
2.
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. If you are an istrative , a file required to load the NX plug-in is placed in the istrative 's Application Data folder by default, which may not be accessible by other, non-istrative s. To allow non-istrative s to run, you will need to define the environment variable
30
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products UGII_CUSTOM_DIRECTORY_FILE prior to installation and specify a location where other s have read access. Alternatively, you can run the CAD Configuration Manager after the installation and provide an updated location for the NX Custom Directory File Path under the NX tab. 3.
If you selected the ANSYS ICEM CFD NX Interface product but not the NX Geometry Interface product on the product selection screen, you may need to specify the NX installation path or choose to skip configuring NX and use the CAD Configuration Manager to configure later.
CATIA v5 •
If you selected CATIA v5 and any product that includes ANSYS Workbench, you will be required to select the appropriate CAD reader/plugin for ANSYS Workbench. You can choose to configure the Reader, CADNexus CAPRI CAE Gateway, or skip and configure later (using the CAD Configuration Manager).
SolidWorks and Autodesk Inventor •
If you selected Inventor and/or SolidWorks as one of your CAD products, you will have to choose which Inventor and/or SolidWorks 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 have not yet installed these programs, or do not know the requested information, you can choose to skip these configuration steps. If you skip these steps, you will need to manually configure these CAD interfaces using the CAD Configuration Manager before you can successfully import models into Mechanical APDL, ANSYS Workbench, or ICEM CFD. You can access the CAD Configuration Manager in Windows XP or Windows 7 (Start> All Programs > ANSYS 15.0 > Utilities > CAD Configuration Manager 15.0) and in Windows 8 (Rightclick the Start Screen> All apps> ANSYS 15.0 > CAD Configuration Manager 15.0). See Configuring CAD Products (p. 71) for more information on using the CAD Configuration Manager.
3.2.2. ANSYS License Manager Installation Follow the instructions below to install and configure the ANSYS License Manager on your local Windows machine. You must be an istrative to install the ANSYS License Manager on Windows. The License Manager controls access
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
31
Installing the ANSYS Software for a Stand-alone Windows System to the ANSYS, Inc. products you have purchased. You must complete the License Manager installation to run ANSYS, Inc. products. 1.
If the Installation Launcher is not open, right-click the setup.exe file and select Run as .
2.
Select Install ANSYS License Manager. If you ed only the license manager installation, right click setupLM.exe and select Run as .
3.
The installation launcher appears.
4.
You will be notified that the license manager, if running, will be shut down. Click OK.
5.
The License Agreement screen appears. Read the license agreement, and if you agree, click I Agree to accept the and click Next. You must select I Agree to continue with the installation.
6.
Specify the installation directory and click Next to continue.. You can accept the default or specify an alternate path and the directory name where the license manager is to be installed. The installation directory is set to
\Program Files\ANSYS Inc by default. You must have istrative privileges for the directory you specify. In addition, the directory: • must be a local directory • must be a local, fixed-media drive • cannot be a UNC or relative path • cannot be a short (8.3) file name format path • cannot be a symbolic link or junction • cannot use wide character names/paths
Note You are unable to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager or ANSYS Electromagnetics License Manager. To change
32
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products the installation directory location, you must first uninstall any previous versions of both products. The ANSYS, Inc. License Manager is the only component available and is selected to be installed. The amount of disk space required and the disk space available appear at the bottom of the window. Be sure that you have sufficient space before continuing. 7.
Click Next to continue.
8.
A licensing file date verification summary appears. If no conflicts are found between the installation files and the files already on your machine from a previous installation, the message Date verification complete appears. If the date verification finds a conflict, details of the conflict appear. If no conflicts are found, click Next.
9.
A summary of the selected installation data appears. 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.
10. The Licensing Server Installation Configuration box appears. When the ANSYS, Inc. License Wizard appears, that the Type of License Server selected at the bottom of the screen is Run the ANSYS Licensing Interconnect with FLEXlm (default). As the license manager is configured, progress messages appear in the box. You must acknowledge that you have completed these steps before continuing. Then click Continue. You will then be asked to confirm that the installation should proceed. Click Yes. 11. The next step is to install a license file. Click Continue. Use the Browse button on the file locator dialog box to navigate to the location of the license file. If you do not have a license file, please refer to ing the License Server (p. 49) 12. Click Continue to configure the local machine as the license server (the default action).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
33
Installing the ANSYS Software for a Stand-alone Windows System 13. Click Continue to start the ANSYS, Inc. License Manager. 14. Click Exit to close the License Wizard. 15. Click Exit to close the Licensing Server Installation Configuration screen. 16. Click Exit to close the License Manager Installation screen. 17. When the license manager installation is complete, click Exit. A new Start Menu item named ANSYS, Inc. License Manager will be created automatically. It will include selections for the ANSLIC_ server utility, the ANSYS, Inc. Licensing Guide, and the FLEXNet Licensing End 's Guide.
3.2.2.1. ing the License Server Follow this procedure to your license server information if you are a new who has not received a license file for your server or if you add or change a license server machine. See the ANSYS, Inc. Licensing Guide for more information on selecting license servers (Selecting License Server Machines) and on using the ANSLIC_ server utility. 1. Use the License Server Machine Information option of the ANSLIC_ server utility to license server information on each license server. 2. Select OK and Create File to save this information to a file named licserver.info by default. 3. Return the resulting licserver.info file to your ANSYS sales representative. ANSYS, Inc. or your sales representative will then supply you with your license keys. This file is located in Program Files\Ansys Inc\Shared Files\Licensing\licserver.info by default. 4. Use the Run the License Wizard option of the ANSLIC_ server utility to install your license file and start the license manager. After completing the installation process, please refer to Post-Installation Instructions (p. 51)
34
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 4: Installing the ANSYS Products and the License Manager on Different Windows Machines This section describes installing ANSYS, Inc. products on one Windows machine and installing the ANSYS, Inc. License Manager on a different Windows machine that will act as a license server. You can follow these instructions while actually installing the products and setting up the license server. To do so, simply use the selections that are pertinent to you and insert your specific information where noted.
Before You Begin We recommend that you have the following information available before you begin this installation: • An on the ANSYS Customer Portal. If you do not have an , you may at https://.ansys.com/portal/site/AnsysCustomerPortal to receive your own . • Your license file from ANSYS, Inc., saved to a temporary directory. For more information, see ing the License Server (p. 49). • Open port numbers for FlexNet and ANSYS Licensing Interconnect on your license server machine. Defaults are 1055 and 2325, respectively. To that these port numbers are available, open a command line on the server machine and enter the following command: netstat -a -p t
You will see a list of active ports. If 1055 and 2325 are listed, they are already in use and cannot be used for ANSYS, Inc. licensing. In this case, you will need to specify different port numbers where indicated later in this tutorial. • The hostname of the machine that will act as a license server.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
35
Installing the ANSYS Products and the License Manager on Different Windows Machines You should also that you are running on a ed platform. ANSYS,Inc. s both 32- and 64-bit systems running Windows XP and Windows 7, and 64-bit systems running Windows 8. that you have sufficient disk space to , uncompress, and install the products you will be installing. If you have any problems with or questions about the installation process please log a Service Request on the ANSYS Customer Portal. A Systems Specialist will respond to assist you. This installation is divided into four sets of instructions: • Product /DVD Instructions: This set of instructions describes the and extraction process. • Product Installation with Client Licensing: This set of instructions describes the product installation, including the client licensing portion. • License Manager Installation: This set of instructions describes the license manager installation. • Post Installation Procedures for All Products: This is a set of instructions that describes any configuration steps that may be required for the various products. For this procedure, the product and the license manager will be installed on separate Windows machines. You must complete both the client licensing portion and the license manager installation in order to run ANSYS, Inc. products.
4.1. ing the Installation Files To the installation files from our website, you will need to have a current technical agreement. Depending on the product/platform combination(s) you choose, you may need to multiple files. 1.
From the Customer Portal, https://.ansys.com/portal/site/AnsysCustomerPortal, click s > Full Products. Step 1 of the ANSYS Center Select Full Products page is displayed.
36
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing the Installation Files 2.
Select all products you wish to by clicking the + to the right of each product group title and selecting the appropriate check boxes. Alternatively, you can click the Select All or Select Only Licensed Products options from the top of the page. Each product you select is displayed on the right side of the page under Selected s.
3.
After selecting all products, click Next Step. Step 2 of the ANSYS Center Select Full Products page displays all selected products by operating system.
4.
Click the link(s) for the appropriate operating system and each package to a new temporary folder.
5.
After the s have completed, uncompress each package using standard uncompression utilities for your specific platform. We strongly recommend that you extract the files into new, temporary directories.
6.
Begin the product installation as described in Installing ANSYS, Inc. Products (p. 38).
4.1.1. Installing from a USB Drive To install ANSYS, Inc. products from a USB drive, insert the USB drive into a USB slot on your computer. Locate and right-click the setup.exe file stored at the root level of the USB and select Run as . Continue with the steps described in Installing ANSYS, Inc. Products (p. 38).
4.1.2. Installing from a DVD To install ANSYS, Inc. products from a DVD, place the DVD in your DVD drive. If autorun is enabled, the installation will begin automatically. If autorun is disabled, locate and right-click the setup.exe file contained on the DVD and select Run as . Continue with the steps in Installing ANSYS, Inc. Products (p. 38). 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 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
37
Installing the ANSYS Products and the License Manager on Different Windows Machines
4.2. Installing ANSYS, Inc. Products This section explains how to install ANSYS, Inc. products.
Note ANSYS requires s to install all products by using the rightclick option Run as .
4.2.1. Product Installation with Client Licensing To install ANSYS, Inc. products, including client licensing, follow the steps below.
Note You must also install the ANSYS, Inc. License Manager on at least one server machine in order to run ANSYS, Inc. products. See ANSYS License Manager Installation (p. 31) for license manager installation instructions. 1.
Save all data and close all Windows applications before continuing.
2.
If you ed the installation files or if you are installing from a DVD with autorun disabled, navigate to the location of the setup.exe file. Right-click the setup.exe file and select Run as . The ANSYS, Inc. Installation Launcher appears.
38
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products
From the options on the left side of the launcher you can install ANSYS products, ANSYS EKM Server, MPI for ANSYS Parallel Processing, and the ANSYS License Manager. You can access the installation guide for the ANSYS EKM Server from the s page on the Customer Portal. The MPI for ANSYS Parallel Processing installation steps are displayed when you click the Install MPI for ANSYS Parallel Processing link. The ANSYS, Inc. Quick Start Installation Guide, ANSYS, Inc. Quick Start Licensing Guide, System Requirements Guide and complete Installation Help Guide can be accessed through the options located along the bottom of the launcher. 3.
Select the language you want to use from the drop-down menu in the upper right corner. English is the default.
4.
Click the Install ANSYS Products option. The license agreement appears.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
39
Installing the ANSYS Products and the License Manager on Different Windows Machines 5. Read the agreement, and if you agree to the and conditions, click I Agree. Click Next. 6.
The directory where you wish to install the ANSYS, Inc. products is shown in the Install Directory field. You can install the products into any directory you wish, but you must have write permissions to the directory you choose. The default is C:\Program Files\ANSYS Inc. We recommend using the default directory.
Note You must install all ANSYS, Inc. products into the same location. Installing products into different locations can cause product components to fail. If 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, except on AUTODYN, which has a maximum of 40 characters. • Leave the Associate file extensions with ANSYS products checkbox marked. This allows you to double-click files from Windows Explorer to launch the various products. • If you specify a network location as the installation directory, you should select the Add .NET security exceptions on the above install directory option. This option allows the .NET binaries that are located under the \Ansys Inc directory on the shared machine to be run from the network. To understand the implications of this security exception for .NET, please your system or see Microsoft’s website http://msdn.microsoft.com/en-us/library/7c9c2y1w(v=vs.80).aspx. • Choose Disable ANSYS RSS Feed to disable automatic internet feeds to ANSYS, Inc. products. • Used with network installations, this option allows the .NET binaries that are located under the \Ansys Inc directory on the shared machine to be run from the network. Click Next. 7.
40
All products available in the installation package(s) you ed are listed. You can select or deselect any combination of products. ANSYS Workbench is Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products automatically installed with most ANSYS, Inc. products; there is no individual product selection for ANSYS Workbench. If you select AutoCAD, Catia V5, Inventor, NX, Creo Parametric, Solid Edge, or SolidWorks, you will have additional installation steps. Please see Specifying CAD Configurations (p. 30). You will also see an estimate of the disk space required to install all of the selected components, and the disk space you have available. The actual amount of disk space required may be less, but if you choose to run the installation with insufficient disk space available, we strongly recommend that you review the log files at the end of the installation to that all products were installed correctly. Installation log files are written to the installation directory. Select/deselect the products you want to install and click Next. 8.
The dates on the licensing files being installed are compared to any that may already exist on your machine. The more recent set of files will be used. Click Next.
9.
A summary of the selected installation data appears. Review the information carefully, and if correct, click Next to continue the installation.
10. The installation progress screen displays a status bar towards the bottom of the installation window. This status bar tracks the percentage of packages that have been installed on your computer. Depending on the number of products you have selected, the installation time required could be lengthy. You will not be able to interrupt the installation process. Please be patient while the installation completes.
Note Clicking the View Details Progress Log button opens a second window that displays the name of each product package as it is uncompressed and installed. The installation program will first check your system to determine if you have the necessary prerequisites. If the prerequisites are not already on your system, the prerequisites will be installed automatically. You may be asked to run the necessary files (such as the .NET exe), or to reboot your machine, Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
41
Installing the ANSYS Products and the License Manager on Different Windows Machines depending on your existing machine configuration. If you are asked, you will need to reboot in order to complete the prerequisite installation successfully. Click Next to continue the installation and install the client licensing. 11. After all products are installed and configured, the client licensing needs to be configured. Click Next to begin the client licensing configuration. A Licensing Client Installation Configuration window appears. If you already have an existing license server specification file, you will not see this window; in this case proceed directly to the next step. If you do not have an existing license server specification file, the Specify License Server Machine - Add Server Specification window appears. You will need to specify the port numbers to be used by the ANSYS licensing. Defaults are provided and will work in most cases. You may need to check with your IT department to confirm that the default port numbers are valid or to get different port numbers if necessary. Then specify the hostname of the machine acting as a license server. Type in that server machine name and click OK. 12. When the client licensing configuration has completed, click Exit. 13. The product installation window reappears with a message noting that the installation is complete. Click Next. 14. On the next screen, you can complete the survey or you can click Finish immediately to skip the survey and complete the product installation.
4.2.1.1. Network Server and Product Configuration To complete a network installation (where the product is installed on one machine and multiple clients access that installation to run the product) to a file server machine, follow the steps below. A network installation must be homogeneous, although you can install on different operating systems and architectures within the same platform. For example, you can install both Windows 32- and 64-bit platforms on a single Windows file server, and clients of those Windows platform types will access the product installation on that single Windows file server.
42
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products For a platform installation (installing multiple platforms), you will need to map a drive to the shared install location. UNC paths will not work correctly for a platform installation. 1.
Install the product(s) to be shared in a location that all clients can access. Install all platforms that this machine will host as described inProduct Installation with Client Licensing (p. 38) . You must share the entire \Ansys Inc directory, not just the \v150 directory. If mapping a drive to the shared location, it must be mapped to the \Ansys Inc folder.
2.
Open the Product Configuration Manager (\\fileservermachine\Ansys Inc\v150\ProductConfig.exe). Select Install Required Prerequisites. You must be logged in as an istrative to install the prerequisites. This step must be completed on all client Windows systems.
3.
On each Windows client, update the .NET security settings. By default, the .NET 3.5 Framework prevents applications from being run over a network. In order to install over a network, each Windows client that accesses the shared directory requires a modification to its security settings. This modification allows the .NET binaries that are located under the \Ansys Inc directory on the shared machine to be run from the network. To make this modification from the Product Configuration Manager, select Add .NET security exception for ANSYS, Inc. products. You must have istrative privileges to modify the security policy. To understand the implications of this security exception for .NET, please your system or see Microsoft’s website http:// msdn.microsoft.com/en-us/library/7c9c2y1w(v=vs.80).aspx. Alternatively, you can allow network execution manually rather than using the Add .NET security exception for ANSYS, Inc. products option of the Product Configuration Manager. The Add .NET security exception for ANSYS, Inc. products option runs the Caspol utility, which is located under the .NET Framework installation, in C:\Windows\Microsoft.NET\Framework\v2.0.50727 for a 32-bit machine or C:\Windows\Microsoft.NET\Framework64\v2.0.50727 for a 64-bit machine. You can run this utility manually in a command prompt window to open full trust to files on the shared drive. On a 32-bit machine, run the following command:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
43
Installing the ANSYS Products and the License Manager on Different Windows Machines
\Windows\Microsoft.NET\Framework\v2.0.50727\Caspol.exe -m -ag
-url file://x:/* FullTrust
On a 64-bit machine, run the following command:
\Windows\Microsoft.NET\Framework64\v2.0.50727\Caspol.exe -m -ag
-url file://x:/* FullTrust
where x is the mapped drive or UNC path where the product is installed, and CodeGroup is the appropriate Caspol permissions level. We recommend a CodeGroup setting of 1.2. If that setting does not work or is not appropriate for your environment, please see the Caspol documentation available from Microsoft or your system . You must install Caspol as an istrative . If running this from the command line in Windows 7 or Windows 8, you must start the command prompt as , or the command will fail. 4.
If you are sharing the Mechanical APDL product, edit the tlbrlist150.ans file, located in \v150\ansys\gui\en-us\toolbars on the Windows file server. The file should read as follows: \\fileservermachine\Ansys Inc\v150\ansys\gui\en-us\toolbars\ANSYSSTANDARD.TLB \\fileservermachine\Ansys Inc\v150\ansys\gui\en-us\toolbars\ANSYSABBR.TLB \\fileservermachine\Ansys Inc\v150\ansys\gui\en-us\toolbars\ANSYSGRAPHICAL.TLB
5.
For all types of network installations, from each client Windows machine, navigate to the v150\commonfiles\tools\
directory and run ProductConfig.exe.
6.
Select Configure Products.
7.
Select the products you want to configure. Click Configure.
Note CFD-Post is automatically configured when CFX, Fluent, Polyflow, or Icepak is configured, or if CFD-Post is selected.
8.
An informational message box appears as each product is configured. All operations and error messages that are encountered while using the product configuration (or unconfiguration) option are written to the pro-
44
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products ductConfig.txt file in the %TEMP% directory of the client machine. No log files are written to the machine that is hosting ProductConfig.exe. 9.
If you are installing multiple platforms, you must go to one client of each platform type and run the Complete Unfinished Licensing Installation Configuration from the client ANSLIC_ utility's Tools menu. You can access the client ANSLIC_ via Start> All Programs> ANSYS 15.0> ANSYS Client Licensing> Client ANSLIC_ Utility.
10. Select Configure CADs. 11. The CAD Configuration Manager opens. Run this utility for all of the CAD products you need to configure. See Using the CAD Configuration Manager for detailed instructions on running this utility, or select Help from the menu bar in the CAD Configuration Manager . 12. When the configuration is completed, you will see shortcuts to each product in Windows 7 under Start> All Programs> ANSYS 15.0 and in Windows 8 under All apps> ANSYS 15.0. Unconfigure To unconfigure products that have previously been shared, use the following procedure: 1.
From each client machine, in Windows 7, select Start> All Programs> ANSYS 15.0> Utilities> Product Configuration 15.0 and in Windows 8, right-click the Start Screen> All apps> ANSYS 15.0> Product Configuration 15.0.
2.
Select Unconfigure Products.
3.
Select the products you want to unconfigure. Click Unconfigure. When unconfiguring products, be aware that WB/Common should be unconfigured last, after all other products are unconfigured. If you are unconfiguring some but not all products, do NOT unconfigure WB/Common, or your remaining products will not run correctly. CFD-Post CFD-Post can be configured as a standalone product; however, as a standalone product, it is also automatically configured with Fluent, Polyflow, and Icepak. To unconfigure CFD-Post, you must select all of these products to unconfigure, regardless if they are configured locally. • If you choose to unconfigure standalone CFD-Post without unconfiguring the other products, you will not be able to proceed with the unconfigure. You will need to revise your selections before continuing. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
45
Installing the ANSYS Products and the License Manager on Different Windows Machines • If you choose to unconfigure all of the other products that include CFD-Post but you do not select CFD-Post, then CFD-Post will not be unconfigured. 4.
The interface billboard displays the status of each product as it is unconfigured. The shortcuts to each product are now removed.
4.2.1.2. Specifying CAD Configurations Creo Parametric 1.
If you selected Creo Parametric, you will have to choose which Creo Parametric 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).
2.
If you choose the Workbench Associative Interface, you may need to specify the Creo Parametric language, the Creo Parametric command, and the full Creo Parametric installation path (C:\Program Files\PTC\Creo 1.0\Parametric by default) for an existing Creo Parametric installation. Click Next.
NX 1.
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).
2.
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. If you are an istrative , a file required to load the NX plug-in is placed in the istrative 's Application Data folder by default, which may not be accessible by other, non-istrative s. To allow non-istrative s to run, you will need to define the environment variable UGII_CUSTOM_DIRECTORY_FILE prior to installation and specify a location where other s have read access. Alternatively, you can run the CAD Configuration Manager after the installation and provide an updated location for the NX Custom Directory File Path under the NX tab.
3.
If you selected the ANSYS ICEM CFD NX Interface product but not the NX Geometry Interface product on the product selection screen, you may need to specify the NX installation path or choose to skip configuring NX and use the CAD Configuration Manager to configure later.
46
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products CATIA v5 •
If you selected CATIA v5 and any product that includes ANSYS Workbench, you will be required to select the appropriate CAD reader/plugin for ANSYS Workbench. You can choose to configure the Reader, CADNexus CAPRI CAE Gateway, or skip and configure later (using the CAD Configuration Manager).
SolidWorks and Autodesk Inventor •
If you selected Inventor and/or SolidWorks as one of your CAD products, you will have to choose which Inventor and/or SolidWorks 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 have not yet installed these programs, or do not know the requested information, you can choose to skip these configuration steps. If you skip these steps, you will need to manually configure these CAD interfaces using the CAD Configuration Manager before you can successfully import models into Mechanical APDL, ANSYS Workbench, or ICEM CFD. You can access the CAD Configuration Manager in Windows XP or Windows 7 (Start> All Programs > ANSYS 15.0 > Utilities > CAD Configuration Manager 15.0) and in Windows 8 (Rightclick the Start Screen> All apps> ANSYS 15.0 > CAD Configuration Manager 15.0). See Configuring CAD Products (p. 71) for more information on using the CAD Configuration Manager.
4.2.2. ANSYS License Manager Installation Because you will be using a network server, you must install and configure the ANSYS, Inc. License Manager on the server machine. The License Manager controls access to the ANSYS, Inc. products you have purchased. 1.
On the server machine, navigate to the directory where the installation packages reside. Right-click the setup.exe file and select Run as . The ANSYS, Inc. Installation Launcher appears. Click Install ANSYS License Manager.
2.
You will see a warning stating that if the license manager is currently running, it will be shut down. You may safely ignore this message and click OK.
3.
The license agreement appears. Read the agreement, and if you agree to the and conditions, click I Agree. Click Next.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
47
Installing the ANSYS Products and the License Manager on Different Windows Machines 4. The directory where the license manager will be installed is shown in the Install Directory field. Accept the default directory and click Next.
Note You are unable to change the installation directory for a computer that currently contains an instance of the ANSYS, Inc. License Manager or ANSYS Electromagnetics License Manager. To change the installation directory location, you must first uninstall any previous versions of both products.
5.
The ANSYS, Inc. License Manager is selected as the only product available to install. As with the product installation, the required and available disk space numbers are shown. Click Next.
6.
The licensing file dates are compared to ensure that the most recent version of the licensing files are being used. This tutorial assumes that this is the first time you are installing ANSYS, Inc. products on this machine; therefore, no licensing files will already exist and the files included with the installation package will be used. Click Next.
7.
A summary screen appears that lists the products to be installed. Because this is a license manager installation, the ANSYS, Inc. License Manager is the only product listed. Click Next. The license manager installation begins.
8.
When the license manager installation completes, click Next to begin the license manager configuration.
9.
The License Server Installation Configuration window appears, and several configuration steps will be completed. When the ANSYS, Inc. License Wizard appears, that the Type of License Server selected at the bottom of the screen is Run the ANSYS Licensing Interconnect with FLEXlm (default). Click Continue.
10. The next step is to install a license file. Click Continue. Use the Browse button on the file locater dialog box to navigate to the location of the license file. If you do not have a license file, please refer to ing the License Server (p. 49)
48
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products 11. Click Continue to configure the local machine as the license server (the default action). 12. Click Continue to start the ANSYS, Inc. License Manager. 13. Click Exit to close the License Wizard. 14. Click Exit to close the Licensing Server Installation Configuration screen. 15. Click Exit to close the License Manager Installation screen. 16. Click Exit to close the ANSYS, Inc. Installation Launcher. 17. From the machine on which the products were installed, choose Start> Programs> ANSYS 15.0> <product> to launch the ANSYS, Inc. products that you have installed.
4.2.2.1. ing the License Server Follow this procedure to your license server information if you are a new who has not received a license file for your server or if you add or change a license server machine. See the ANSYS, Inc. Licensing Guide for more information on selecting license servers (Selecting License Server Machines) and on using the ANSLIC_ server utility (Using the ANSLIC_ Utility). 1. Use the License Server Machine Information option of the ANSLIC_ server utility to license server information on each license server. 2. Select OK and Create File to save this information to a file named licserver.info by default. 3. Return the resulting licserver.info file to your ANSYS sales representative. ANSYS, Inc. or your sales representative will then supply you with your license keys. This file is located in Program Files\Ansys Inc\Shared Files\Licensing\licserver.info by default. 4. Use the Run the License Wizard option of the ANSLIC_ server utility to install your license file and start the license manager. After completing the installation process, please refer to Post-Installation Instructions (p. 51)
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
49
50
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 5: Post-Installation Instructions 5.1. Post-Installation Procedures for All Products The following post-installation procedures apply to all ANSYS, Inc. products. Individual products may have additional post-installation procedures; please refer to the following sections for each product: 5.1.1. Post-Installation Procedures for Mechanical APDL and ANSYS Workbench Products 5.1.2. Post-Installation Procedures for ANSYS CFX and ANSYS CFD-Post 5.1.3. Post-Installation Procedures for ANSYS Fluent 5.1.4. Post-Installation Procedures for ANSYS Polyflow 5.1.5. Post-Installation Procedures for ICEM CFD 5.1.6. Post-Installation Procedures for Other Products
Note If the installation program reported any errors, please review the installation error file (install.err) located in the ANSYS Inc directory. your ANSYS representative if you have any questions. It may also be necessary to establish some system settings, including path names and environment variables. See your operating system documentation for specific instructions on setting paths and environment variables. 1.
Set the following environment variables based on the behavior you want. • The ANSYSLIC_DIR environment variable sets the location of the ANSYS licensing directory hierarchy. The default value is c:\Program Files\ANSYS Inc\Shared Files\Licensing . You probably will not need to reset this variable, unless you change the location of the licensing files. To set environment variables: Windows XP: Right-click My Computer and choose Properties> Advanced> Environment Variables. Click New. Type the name in the Variable Name
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
51
Post-Installation Instructions field and the desired setting in the Variable Value field. Click OK on all dialog boxes. Windows 7: Right-click Computer and choose Properties. Click Advanced System Settings, and click Environment Variables. Click New. Type the name in the Variable Name field and the desired setting in the Variable Value field. Click OK on all dialog boxes. Windows 8: From the Start Screen, right-click, select All apps and then click the File Explorer icon. On the left side of the File Explorer, right click Computer and choose Properties. Click Advanced System Settings, and click Environment Variables. Click New. Type the name in the Variable Name field and the desired setting in the Variable Value field. Click OK on all dialog boxes. If you have any command prompts or console windows open when you set or reset environment variables, those windows need to be closed and restarted in order to pick up the new settings. 2.
Set the home directory. To set a home directory in Windows, you need to set a HOMEDRIVE environment variable to the desired drive letter (including the colon) and a HOMEPATH environment variable to the desired path. For example: HOMEDRIVE=C: HOMEPATH=\s\Mine
3.
Set the license manager to start automatically at boot time. For platform-specific instructions, see License Manager Automatic Startup Instructions in the ANSYS, Inc. Licensing Guide.
4.
Designate server(s) for license checkout and establish necessary privileges (recommended but not required). For information on these tasks, see Post-Installation Instructions for the License Manager in the ANSYS, Inc. Licensing Guide.
5.
Make a backup copy of the \ANSYS Inc directory.
6.
the product installation by selecting each product from the Start menu to that they each start and run correctly. You must be pointing to a valid license server machine before you can the installation.
7.
If you chose not to set file associations during the installation, you may want to run the File Association utility now. In Windows XP or Windows 7, select Start> All Programs> ANSYS 15.0> Utilities> File Association 15.0 and in Windows
52
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products 8, right-click the Start Screen> All apps> ANSYS 15.0> File Association 15.0. istrative privileges are required to run this utility. You can also run the File Association utility in silent mode:
\v150\commonfiles\tools\
\fileassoc.exe -silent
You can see help on the fileassoc.exe by issuing -help. File associations are as follows: ANSYS, Inc. Product
File Extension
Mechanical APDL
.db, .dbb, .grph
ANSYS CFD-Post
.mres, .res
ANSYS CFX
.cfx, .cvf, .def, .mdef
ANSYS Fluent
.cas
ANSYS ICEM CFD
.blk, .jrf, .prj, .rpl, .tin, .uns
ANSYS Workbench
.ad, .agdb, .aqdb, .bgd, .cmdb, .dsdb, .engd, .fedb, .mechdat, .meshdat, .wbdb, .wbpj, .wbpz
Quality Assurance Services: If you require verification of Mechanical APDL, the Mechanical Application, Fluent, or CFX, ANSYS, Inc. offers Quality Assurance services. If you are interested in this service, go to http://www.ansys.com// 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 and ANSYS Workbench Products The following post-installation procedures apply only to the Mechanical APDL and ANSYS Workbench products. These are in addition to the post-installation procedures noted above for all products. •
Set the following environment variables based on the behavior you want. Set the environment variables following the conventions of your operating system. Not all of these are required for all integrated ANSYS Workbench products (such as ANSYS Autodyn), but setting them correctly for ANSYS Workbench will in no way hinder the performance of the other products.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
53
Post-Installation Instructions • The ANSYS150_DIR environment variable sets the location of the ANSYS directory hierarchy. The default value is c:\Program Files\Ansys Inc\V150\ANSYS. You probably will not need to reset this variable, unless you change the location of the installed files. • ANSYS150_PRODUCT - set this to the correct product variable to run Mechanical APDL to start with the correct Mechanical APDL product without specifying the -p command modifier each time. • ANS_CONSEC - set this to YES to disable Mechanical APDL dialog boxes and allow multiple jobs to run consecutively without waiting for input. Settings for ANS_CONSEC are: Value of ANS_CONSEC
Batch Dialog Box
GPF Dialog Box on Error
Not defined/default
No
Yes
YES
No
No
NO
Yes
Yes
• ANSYS_LOCK - set to ON (default) to create file locks to prevent s from opening a new job with the same name and in the same directory as the current job. • ANSYS150_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). • ANSYS150_MAT162 - set this environment variable to 1 to enable use of the LS-DYNA *MAT_COMPOSITE_DMG_MSG material (requires an LS-DYNA MAT_162 license). • LSTC_LICENSE - This is an LS-DYNA environment variable that controls which license manager is used by the LS-DYNA executable. It is set to ANSYS during installation; changing this environment variable will prevent ANSYS LS-DYNA from using your ANSYS licenses when running the executable.
54
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Post-Installation Procedures for All Products
5.1.2. Post-Installation Procedures for ANSYS CFX and ANSYS CFD-Post After installing the ANSYS CFX or ANSYS CFD-Post software, the installation as follows: 1.
In Windows XP or Windows 7, select Start> All Programs> ANSYS 15.0> Fluid Dynamics> CFX 15.0. In Windows 8, right-click the Start Screen> All apps> ANSYS 15.0> CFX 15.0. The CFX 15.0 Launcher opens.
2.
In the Working Directory field of the Launcher, type the path to the examples directory, which by default is: C:\Program Files\ANSYS Inc\v150\CFX\examples
3.
Click CFD-Post 15.0. CFD-Post opens.
4.
Select File > Load Results. The Load Results File window opens.
5.
Select StaticMixer_001.res and click Open. A wireframe of a mixer appears in the 3D Viewer.
6.
Select Session > Play Session. The Play Session File window opens. Select StaticMixerPost.cse and click Open. The mixer changes orientation, displays a plane colored by temperature, hides the plane, then loads a vector plot of temperature located on the plane.
7.
Select File > Close and close the case without saving.
8.
To exit CFD-Post, select File > Quit.
If any of the installation verification steps fails, your ANSYS representative.
5.1.3. Post-Installation Procedures for ANSYS Fluent After installing the ANSYS Fluent software, you will need to reset the default values in the ANSYS Fluent launcher as follows:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
55
Post-Installation Instructions 1.
that the FLUENT_INC environment variable is not set. From the Control , select System and click the Advanced tab. Click Environment Variables. Find and delete the FLUENT_INC variable.
2.
In Windows XP or Windows 7, select Start> All Programs> ANSYS 15.0> Fluid Dynamics> Fluent 15.0. In Windows 8, right-click theStart Screen> All apps> ANSYS 15.0> FLUENT 15.0 .
3.
Click Default.
4.
Click Yes when asked if you want to discard the LAUNCHER history.
5.
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.
5.1.4. Post-Installation Procedures for ANSYS Polyflow Polyflow no longer requires the FLUENT_INC environmental variable. It should be deleted as is recommended for Fluent: •
From the Control , select System and click the Advanced tab. Click Environment Variables. Find and delete the FLUENT_INC variable.
5.1.5. Post-Installation Procedures for ICEM CFD If you are running ICEM CFD over the network, you may not be able to access ICEM CFD Help using the Help menu. To access ICEM CFD Help, navigate to commonfiles\help\en-us in the installation directory on the server machine and copy the file icemcfd_help.chm to your local machine. Double-click the local copy to view the help.
5.1.6. Post-Installation Procedures for Other Products BladeGen If you are running BladeGen on Windows 7, in order to access the BladeGen online help, you need to install WinHlp32.exe, which is available from Microsoft. BladeEditor In order to use BladeEditor, you must set the Geometry license preference to ANSYS BladeModeler as follows: 1. 56
In the ANSYS Workbench menu, select Tools> License Preferences. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
2.
Running the ANS_ Utility for Mechanical APDL /ANSYS Workbench Products In the License Preferences dialog box, click the Geometry tab.
3.
If ANSYS BladeModeler is not the first license listed, then select it and click Move up as required to move it to the top of the list. If ANSYS BladeModeler is not in the list, then you need to obtain an ANSYS BladeModeler license.
4.
Select ANSYS DesignModeler in the list and set its value to 0 (which means “Don't Use”). This step prevents DesignModeler from using an ANSYS DesignModeler license when an ANSYS BladeModeler license is not available.
5.
Click OK to close the dialog box.
FEMGV For ANSYS Aqwa customers, FEMGV is also available as a separate, standalone installation, available via media or the ANSYS Customer Center.
5.2. Launching ANSYS, Inc. Products To launch ANSYS, Inc. products on XP or Windows 7 platforms, choose the product from the ANSYS 15.0 program group under the Start menu (Start> All Programs> ANSYS 15.0) and on Windows 8, under All apps. For Mechanical APDL, you can also use the launcher: Windows XP or Windows 7: Start> All Programs> ANSYS 15.0> Mechanical APDL Product Launcher 15.0. Windows 8: Start Screen> All apps> ANSYS 15.0> Mechanical APDL Product Launcher 15.0.
5.3. Running the ANS_ Utility for Mechanical APDL /ANSYS Workbench Products You may need to run the ANS_ utility to relink Mechanical APDL if you use the customization tools. For more information on individual options available with this utility, see the online help accessible from Help buttons on the utility dialog boxes. You can launch ANS_ without istrative privileges, but some of the options require istrative privileges. If certain options are grayed out, you do not have the necessary system privileges necessary for that option, or the corresponding product may not be installed.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
57
Post-Installation Instructions To run the ANS_ utility from Windows XP or Windows 7, choose Start> All Programs> ANSYS 15.0> Utilities> ANS_ 15.0. To run the ANS_ utility from Windows 8, right-click the Start Screen> All apps> ANSYS 15.0> ANS_ 15.0.
5.4. Product Localization Many ANSYS, Inc. products are available in multiple languages, including English, German, French, and Japanese. For those products that are localized, you are able to view the GUI and messages in the specified language. See your specific product documentation for instructions on choosing a localized version of the product. All products that are localized define the language via the languagesettings.txt file. In most cases, you will not have to manually edit this file. If you do need to edit it manually, you can use one of the following values: en-us (English, default) de (German) fr (French) ja (Japanese) ANSYS, Inc. applications will look for the languagesettings.txt file in the following locations, in order: 1. %appdata%\Ansys\v150 2.
\Ansys Inc\v150\commonfiles\Language ANSYS, Inc. licensing also looks for the languagesettings.txt in the licensing languages subdirectories in order to display the server ANSLIC_ 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.
58
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Product Localization
5.4.1. Translated Message File Installation for Mechanical APDL /ANSYS Workbench Products If your ANSYS, Inc. sales representative has supplied you with message files translated into your local language, use the following procedure to install and access these files from within Mechanical APDL: 1.
Create an appropriately named subdirectory to hold the message files. For example, if your local language is French, create a directory in the following location:
\Program Files\Ansys Inc\V150\ANSYS\docu\fr
2.
Copy the message files (msgcat.150, msgidx.150, and msgfnm.150) into the newly created subdirectory.
3.
Access these message files by using the -l command line option. For example: ansys150 -l fr
Or, when you are running Mechanical APDL from the Mechanical APDL launcher, choose the Language Selection option and then pick the desired language. You must create a newly translated message file for each release of Mechanical APDL because error messages may occur in a different order for each release.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
59
60
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 6: Silent Mode Operations 6.1. Installing ANSYS, Inc. Products This section explains how to install ANSYS, Inc. products. ANSYS, Inc. requires that you have full istrative privileges when installing any software on Microsoft Windows 7 or Windows 8. Non-istrative s do not usually have the permissions required to access system areas that installation programs often need to modify. “Full istrative privileges” means that you are running as with UAC turned off, or you are running as with UAC turned on and Run as selected. Because of changes to the UAC functionality, it is necessary that you right-click and select Run as from the context menu when installing to Windows 8. Windows 7 and Windows 8 use a feature called Control (UAC) to control privileges and automatically reduce the potential of security breaches in the operation system. However, UAC limits your accessibility to system areas and can cause unpredictable behavior in ANSYS, Inc. products, as noted below.
6.1.1. Silent Mode Operations ANSYS, Inc. s silent mode operations, including installation, configuring/unconfiguring, and uninstalling. You can specify the following product flags. These flags are all valid for a silent install. However, because of the way the products are packaged, not all of these flags may be valid for a silent configuration/unconfiguration or uninstall. Not all products are available on all platforms. For silent mode operations, if you do not specify any product arguments, all available products will be installed, configured, or uninstalled.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
61
Silent Mode Operations
Product Flags Product
product_flag
Mechanical APDL
-mechapdl
ANSYS Customization Files
-ansyscust
ANSYS Autodyn
-autodyn
ANSYS LS-DYNA
-lsdyna
ANSYS CFD-Post
-cfdpost
ANSYS CFX
-cfx
ANSYS TurboGrid
-turbogrid
ANSYS Fluent
-fluent
ANSYS Polyflow
-polyflow
ANSYS Aqwa
-aqwa
ANSYS ICEM CFD
-icemcfd
Note: Installing any of the above products will install ANSYS Workbench. ANSYS ICEM CFD Creo Parametric Interface
-icemproe
ANSYS ICEM CFD Unigraphics NX Interface
-icemug
ANSYS Icepak
-icepak
Remote Solve Manager Standalone Services
-rsm
ANSYS TeamCenter Engineering
-tceng
Creo Parametric
-proe
NX
-ug
CATIA 4.x
-catia4
CATIA V5
-catia5
CATIA V6
-catia6
Parasolid
-parasolid
ACIS
-acis
SolidWorks
-solidworks
Solid Edge
-solidedge
Autodesk Inventor
-adinventor
62
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products Product
product_flag
Creo Elements/Direct Modeling
-cocreate
JT
-jtopen
AutoCAD
-acad
6.1.1.1. Silent Product and License Manager Installation You can deploy an ANSYS, Inc. product installation in silent mode. The general form to run a silent product installation, including the client licensing, from the Start>Run menu is: setup.exe -silent -product_flag
Note In Windows 8 it is necessary to run silent commands from an prompt. To access a Run as command prompt, click Start Screen> All apps> right-click the Command Prompt Icon> select Run as . The above form will install the products specified (see the list of product_flags above). Additional command line arguments are available; please see the list below. For example, to install TurboGrid and Icepak to the default installation directory, issue the following command: setup.exe —silent —install_dir “C:\Program Files\ANSYS Inc” -turbogrid -icepak
To install the ANSYS License Manager on Windows systems that will act as license servers, you must run the setupLM.exe: setupLM.exe -silent
The silent license manager installation is valid only for the default Licensing Configuration option "Run the ANSYS Licensing Interconnect with FLEXlm." Please see Installing the ANSYS License Manager of the ANSYS, Inc. Licensing Guide for more information. If you are installing the license manager to a non-default installation directory, you can use the silent installation method, but only for the initial installation. To change the license manager installation directory for future installations, you Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
63
Silent Mode Operations will need to either use the GUI installation or uninstall the license manager before reinstalling to a different directory. You can use the following arguments when running a silent installation: -silent
Initiates a silent installation.
-install_dir "path"
Specifies the directory to which the product is to be installed. For the installation directory, you must enclose the path in quotes if you have spaces in the pathname. If you want the product to install to the default location, you can omit the -install_dir argument. The default location is
:\Program Files\ANSYS Inc\.
-product_flag
Specifies one or more products to install. If you omit the -product_flag argument, all products will be installed. See the list of valid product_flags above.
-productfile "path"
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 (p. 66) for more details.
-disablerss
Disables automatic internet feeds to ANSYS, Inc. products.
-caspol
Allows the .NET binaries that are located under the \Ansys Inc directory on the shared machine to be run from the network. You must have istrative privileges to modify the security policy. Use this option when you specify a network location as the installation directory. To understand the implications of this security exception for .NET, please your system or see Microsoft’s website http://msdn.microsoft.com/en-us/library/ 7c9c2y1w(v=vs.80).aspx.
-help
Displays a list of valid arguments for a silent installation.
-licfilepath "path"
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 (setupLM.exe).
-setliclang language
Specifies a language to use for the server ANSLIC_ 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
64
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products the language value. This flag can be used during a GUI installation as well. Valid only when doing a license manager installation (setupLM.exe). -licserverinfo
Specifies information to be used by the client for the license server. Valid only in conjunction with a silent installation (setup.exe). 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 FlexNet port numbers (2325 and 1055, respectively) will be used if they are not specified. However, you do need to include the colons. In a three-server environment, you also need to enclose the values in quotes (Windows only). 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
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
65
Silent Mode Operations your ansyslmd.ini file, you must use the ANSLIC_ utility. The silent installation process will automatically close certain applications, possibly resulting in lost data. You should always close all programs before starting a silent install. A silent install will first install any necessary prerequisites that are not already on your system and then continue with the installation. You must have istrative privileges to install prerequisites; if not, the silent install will exit and write a message to the log file. Installation log files are located in the installation directory: install.log contains installation 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_<>_
.log file, located in %TEMP%.
Caution A silent license manager installation could shut down the ANSYS, Inc. License Manager, affecting other s who are using that license server machine. For more information on the silent license manager installation, see Installing the ANSYS License Manager of the ANSYS, Inc. Licensing Guide.
Specifying Products with an Options File You can also specify an options file on the command line using the -productfile "path” option. The options file can specify which products you want to install. The options file can contain all possible products, with the products you do not want to install commented out, or it can contain only the products you want to install. An example options file is shown below. In the example, Creo Parametric and NX are commented out using the acceptable comment indicators. When using the options file, do not include the dash (-) before the product name. mechapdl ansyscust autodyn cfdpost cfx
66
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products turbogrid fluent polyflow icemproe icemug icepak ::proe REM ug
To run with NX and Creo Parametric: • NX: that your UGII environment variables are set, and the configuration will pick them up automatically. • Creo Parametric: that the following environment variables are set: PROE_START_CMD150=C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat (or your Creo Parametric start command) PROELOADPOINT= C:\Program Files\
Silent Prerequisites Installation The ANSYS, Inc. product installation requires several prerequisites. These prerequisites often require istrative permissions to install. If you want to install as a non-istrative but require prerequisites, you can install the prerequisites separately by running InstallPreReqs.exe from the top level directory as an . You can also install the prerequisites silently using the following command: InstallPreReqs.exe -silent
6.1.1.2. Silent Product Configuration/Unconfiguration You can also run the ProductConfig.exe via command line (i.e., silent mode) to configure or unconfigure products. From each client machine, run the ProductConfig.exe -silent with the following options: -config, -unconfig, -prereqs, -caspol, and -product_flag. These options are described below. • -config/-unconfig -- Use with the -silent option to indicate that products should be configured/unconfigured. • -prereqs -- Required to install the necessary prerequisites on your system. Prerequisites must be installed once on each machine. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
67
Silent Mode Operations • -caspol -- Required to modify the necessary .NET security settings to allow the product to run across the network. This option needs to be run once on each machine. • -product_flag -- Use to specify which products should be configured; see the above list of product_flags. If you do not specify one or more products, all products that have been installed will be configured. • Use the -help option for a list of commands available for use with ProductConfig.exe. An example command for silent configuration is: "\\machineabc\Program Files\ANSYS Inc\v150\ProductConfig.exe" -silent -prereqs "\\machineabc\Program Files\ANSYS Inc\v150\ProductConfig.exe" -silent -caspol "\\machineabc\Program Files\ANSYS Inc\v150\ProductConfig.exe" -silent -config
All operations and error messages that are encountered while using the silent product configuration/unconfiguration option are written to the productConfig.txt file in the %TEMP% directory of the client machine. No log files are written to the machine that is hosting ProductConfig.exe.
6.1.1.3. Silent Media Installation To run a silent installation from the media, you can either: • Copy the contents of each DVD to a folder on the machine's hard disk such that the 150-
.dvd files of each DVD are located in the same directory. You can then proceed with the silent installation as described earlier. • Place all of the media in separate drives (any combination of virtual ISO mounts or hardware drives) so that they can be accessed simultaneously during the installation. Then run the silent installation as described earlier, but include the additional -media_dir2 <path> option for each drive: setup.exe -silent -product_flag -media_dir2 <path>
The installer uses the mount directory from which it was launched as the first media path; you need to specify only the location of the subsequent DVD(s) using the -media_dir2 option shown in the example above.
68
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installing ANSYS, Inc. Products
6.1.1.4. Silent Uninstall To run a silent uninstall, run the following from some location other than the \v150 directory: C:\>
\v150\Uninstall.exe -silent
The silent uninstall will unconfigure and remove all products and remove the entire \v150 directory, including any files or subdirectories that you have added to the \v150 directory. Because of the way ANSYS, Inc. products are packaged, not all of the product_flags shown above are valid. To uninstall individual products, use the following product options in conjunction with the -silent argument: Mechanical APDL
-mechapdl
ANSYS Aqwa
-aqwa
ANSYS CFX
-cfx
ANSYS CFD-Post
-cfdpost
ANSYS Fluent
-fluent
ANSYS Polyflow
-polyflow
ANSYS ICEM CFD
-icemcfd
ANSYS TurboGrid
-turbogrid
ANSYS Icepak
-icepak
Remote Solve Manager Standalone Services
-rsm
For example, to uninstall only TurboGrid and Icepak, issue the following command: C:\>
\v150\Uninstall.exe -silent -turbogrid -icepak
You can also issue the -help option to see a list of valid arguments for a silent uninstall. Uninstalling CFD-Post CFD-Post can be installed as a standalone product. As a standalone product, it is also automatically installed with Fluent, Polyflow, and Icepak. To uninstall the standalone version of CFD-Post, you must specify -cfdpost as well as all of the above products that you have installed. If you choose Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
69
Silent Mode Operations to uninstall CFD-Post without uninstalling the other products, the uninstall will stop and an error message will be written to the log file (uninstall.err). You will need to reissue your uninstall command with the correct product selections. Note that CFD-Post is also installed with CFX; however, you do not need to uninstall CFX to uninstall the standalone version of CFD-Post, and uninstalling the standalone version of CFD-Post will not remove the CFD-Post capability from CFX.
70
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 7: Configuring CAD Products The connection, geometry interface, and other CAD functionality for all ed CAD products is included with the ANSYS release media. Select the CAD systems you want to install during the installation process. If you choose not to install CAD systems during the installation, you can install them at a later date. To run the connection or geometry interface functionality, you need to: 1.
Ensure that the CAD product is correctly installed and licensed.
2.
Ensure that you have the correct ANSYS, Inc. license(s).
3.
Run the installation setup.
For complete information about the files you can import and the platforms ed by the connection capability, see Introduction to Import in the Connection 's Guide. For more information about geometry interface information in ANSYS Workbench, see the topics Attach to Active CAD Geometry and Import External Geometry File in the ANSYS DesignModeler help.
Caution Be sure to install Mechanical APDL 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. The connection for Creo Parametric (formerly Pro/ENGINEER) requires you to run Mechanical APDL, Creo Parametric and the connection for Creo Parametric on the same machine. The connection for NX requires you to run Mechanical APDL, NX, and the connection for NX on the same machine. The connections for CATIA, SAT, and Parasolid do not require any additional CAD installation.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
71
Configuring CAD Products
7.1. Using the CAD Configuration Manager The CAD Configuration Manager allows you to configure geometry interfaces for Mechanical APDL, ANSYS Workbench, and ICEM CFD Direct CAD interfaces. CAD configuration is typically handled during the product installation; however, if you chose to skip those steps, or if you make changes to your local CAD configuration between releases (for example, you install, move, or update your CAD package, or remove it entirely), you can use this utility. The CAD Configuration Manager is organized into several tabs: • CAD Selection • Creo Parametric • NX • Teamcenter(active on Windows only) • CAD Configuration When Workbench is installed to a network location (made available from a mapped network drive), any configuration actions will make the selected geometry interfaces available/unavailable only to the who is currently logged in. To make changes that apply to all s, the configure/unconfigure action must be run as an logged into the system hosting the Workbench installation. Configuration actions performed as an on this server machine will impact all s on all machines referencing that install, except for s who have overridden the server configuration by configuring for themselves. Prior to running the CAD Configuration Manager from a network location, the product configuration tool must be executed. This process will result in the client system being configured to match the geometry interface selections on the server. Products requiring additional information such as interfaces to Creo Parametric, NX and Teamcenter may fail to configure. This can be remedied either by manually running CAD Configuration Manager following Product Configuration, or by setting appropriate environment variables prior to execution of Product Configuration such as UGII_CUSTOM_DIRECTORY_FILE, PROE_START_CMD150 and TC_ROOT. TC_ROOT can be set to the path of your Teamcenter installation. Further details regarding environment variables pertaining to Creo Parameteric and NX are offered in the interface specific help sections below. For more information on using the Product Configuration manager, please see Network Server and Product Configuration (p. 42). 72
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager For loading associative geometry interfaces into their respective CAD environments, when the Workbench installation is referenced from a network location: • A local ’s configuration changes will set up associative CAD interfaces to load into the CAD environment of all local s, when that scope is selected (applicable to AutoCAD, Inventor, SolidWorks, Solid Edge, Creo Elements/Direct and NX). • The associative geometry interface for Creo Parametric (formerly Pro/ENGINEER) will load into the CAD environment of all s when the CAD installation is writable for that istrative . Otherwise, it will load only into the CAD environment of the who is currently logged in, and each additional must be configured individually. This document describes how to use the CAD Configuration Manager as a wizard, 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. 1.
From Windows XP or Windows 7, click Start> All Programs> ANSYS 15.0> Utilities> CAD Configuration Manager 15.0. From Windows 8, right-click the Start Screen> All apps> ANSYS 15.0> CAD Configuration Manager 15.0.
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 to enable the remaining functionality. Click Next.
3.
If you selected only Workbench and ANSYS Geometry Interfaces with no CAD Products selected, the necessary prerequisites will be ed, enabling Geometry (DesignModeler) and all the Readers. You must run the CAD Configuration Manager as an istrative for some CAD registrations to take place. Select the CAD Configuration tab and click Configure Selected CAD Interfaces to the prerequisites.
4.
If you selected Creo Parametric (formerly Pro/ENGINEER) as one of your CAD products, you will have to choose which Creo Parametric product to configure: a.
The Reader option specifies the non-associative source and doesn't require a Creo Parametric installation.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
73
Configuring CAD Products b.
The Workbench Associative Plug-In option requires Creo Parametric to be installed. When you choose this option, the Creo Parametric tab opens. i.
Enter or browse to the Creo Parametric installation location (for example, C:\Program Files\PTC\Creo 1.0\Parametric).
ii.
Enter or browse to the Creo Parametric start command (for example, C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat). Include the complete path if entering the command manually.
iii.
Click Next.
Note When ANSYS Workbench is installed by an istrative , the Creo Parametric plug-in will load for all s of the designated CAD install. However, when multiple Creo Parametric installations are present on the system, the plug-in should only be configured for a single installation of Creo Parametric; otherwise unconfiguring the plug-in will cause load problems for all other installations of the CAD.
5.
If you selected NX as one of your CAD products, you will have to choose which NX product to configure: a.
The Reader option specifies the non-associative source and doesn't require an NX installation.
b.
The Workbench Associative Plug-In option requires NX to be installed. When you choose this option, the NX tab opens. i.
74
Enter or browse to the NX installation location (for example, C:\Program Files\Siemens\NX 8.5).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager ii.
Enter or browse to the NX custom directory file path (for example, C:\Documents and Settings\Name\Application Data\Ansys\v150\Unigraphics).
Note If you are installing as an , this file path will be defined in your 's space by default and non-istrative s will not be able to run. Use this setting to specify a new location for the custom directory file path that is accessible by all s.
iii.
6.
7.
8.
Click Next.
If you selected Inventor and/or SolidWorks as one of your CAD products, you will have to choose which Inventor and/or SolidWorks product to configure: a.
The Reader option specifies the non-associative source and doesn't require an Inventor or SolidWorks installation.
b.
The Workbench Associative Plug-In option requires Inventor or SolidWorks to be installed.
If you selected Teamcenter as one of your CAD products, the Teamcenter tab opens: a.
Enter or browse to the Teamcenter installation location (for example, C:\SIEMENS\Teamcenter2008).
b.
Discriminator is a client-defined identifier for a session. For example, ANSYSWBPlugInTC.
c.
Choose Next.
If you selected Catia V5 as one of your CAD products, you will have the option to choose which CATIA V5 product to configure.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
75
Configuring CAD Products
9.
a.
Select the Reader option to configure the CATIA V5 standalone reader that does not require an installation of the CATIA V5 CAD program (this reader does not CAD associativity or parameters).
b.
Select the CADNexus/CAPRI CAE Gateway option to configure the CATIA V5 associative reader that does require an installation of the CATIA V5 CAD program and the CADNexus/CAPRI CAE Gateway (this geometry interface does CAD associativity and parameter modifications).
c.
Click Next.
The CAD Configuration tab opens. a.
Click the Configure Selected CAD Interfaces button.
b.
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.
c.
For more details, click the Display Configuration Log File button to see a detailed log file.
10. 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.
Important If you change your source from reader to associative plug-in or viceversa (Creo Parametric, NX, SolidWorks, Autodesk Inventor, or Catia V5), you must first unconfigure the existing source and then configure using the new source.
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.
76
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager
7.1.2. Running the CAD Configuration Manager in Batch Mode You can configure ANSYS Geometry Interfaces by supplying the CAD Configuration Manager with arguments specific to the CAD sources you want to make available. The following table contains a list of ed arguments. The command to run the CAD Configuration Manager in batch mode on Windows is: "
\commonfiles\CAD\bin\
\Ans.CadInt.CADConfigurationUtility.exe" -arguments
Argument
Value
Comment
unconfigure
None
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.
Either: PE_CONFIG_WB or PE_CONFIG_WBSPATIAL
None
Specify Creo Parametric source as either the associative plug-in or the reader (Spatial, no Creo Parametric install required). When the plug-in is specified, additional arguments PROELOADPOINT and PROE_START_CMD are required.
PROELOADPOINT
Full path to Creo Parametric installation (quotes required on Windows).
Not required with unconfigure operation.
PROE_START_CMD
Full path to command used to launch Creo Parametric (quotes required on Windows)
Not required with unconfigure operation.
Either: UG_CONFIG_WB or UG_CONFIG_WBSPATIAL
None
Specify NX source as either the associative plug-in or the reader (Spatial, no NX install required). When the plug-in is
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
77
Configuring CAD Products Argument
Value
Comment specified, the argument UGII_BASE_DIR must also be specified.
UGII_BASE_DIR
Full path to NX installation
This should agree with environment variable UGII_BASE_DIR. Not required with unconfigure operation.
Either: CATIA_SPATIAL or CATIA_CAPRI
None
Specify Catia V5 source as either the Reader (Spatial, no Catia install required) or CAPRI (CADNexus install required).
OSDM_CONFIG
None
Configure/unconfigure Creo Elements/Direct Modeling.
Either: INVENTOR_CONFIG or INVENTOR_CONFIG_WBSPATIAL
None
Specify Inventor source as either the associative plug-in or the reader (Spatial, no Inventor install required).
Either: SOLIDWORKS_CONFIG or SW_CONFIG_WBSPATIAL
None
Specify SolidWorks source as either the associative plug-in or the reader (Spatial, no SolidWorks install required).
SOLIDEDGE_CONFIG
None
Configure/unconfigure Solid Edge.
ACAD_CONFIG
None
Configure/unconfigure AutoCAD.
TEAMCENTER_CONFIG
None
Configure/unconfigure Teamcenter; for configuration requires IMAN_ROOT flag.
IMAN_ROOT
Path to Teamcenter installation.
Not required with unconfiguration operation.
JTOPEN_CONFIG
None
Configure/unconfigure JT.
CATIA4_CONFIG
None
Configure/unconfigure CATIA v4.
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.
78
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager For example, you can configure Creo Parametric and SolidWorks Geometry Interfaces to ANSYS Workbench from the command line by using the following: "
\commonfiles\CAD\bin\
\Ans.CadInt.CADConfigurationUtility.exe" -SW_CONFIG -PE_CONFIG_WB -PROELOADPOINT "C:\Program Files\PTC\Creo 1.0\Parametric" -PROE_START_CMD "C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat"
where installpath is the same as the value of environment variable %AWP_ROOT150%, platform is the value of environment variable %ANSYS_SYSDIR%, and Creo Parametric is installed to C:\Program Files\PTC\Creo 1.0\Parametric. To unconfigure the same CAD Interfaces, the command would be: "
\commonfiles\CAD\bin\
\Ans.CadInt.CADConfigurationUtility.exe" -unconfigure -SW_CONFIG -PE_CONFIG_WB
Although the argument order does not matter, an argument value must immediately follow its argument.
7.1.3. Uninstalling Warning Do not proceed with an uninstall for CAD-specific unconfigure actions or you will leave some ANSYS Workbench products unusable.
7.1.4. Creo Parametric Configuration Running the CAD Configuration Manager for Creo Parametric (formerly Pro/ENGINEER) performs the following steps to activate the Creo Parametric plug-in: • Sets the environment variable PROE_START_CMD150 to the file used to launch Creo Parametric (for example C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat). • For istrative installations, adds the ANSYS 15.0 entry to the config.pro file located in
\text. An example for Creo Parametric would be: PROTKDAT C:\Program Files\PTC\Creo 1.0\Common Files\F000\text
An example for Wildfire 5.0 would be: PROTKDAT C:\Program Files\proeWildfire 5.0\text Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
79
Configuring CAD Products • Updates the WBPlugInPE.dat file referenced in the config.pro file, so that it contains information for loading the WorkBench Plug-In and the ANSYS Connection product. • s the Plug-In file WBPlugInPECOM.dll (Creo Parametric) or DSPlugInPEWF5COM.dll (Wildire 5.0) referenced in the WBPlugInPE.dat file. • When Workbench is installed on a network location and the local has write permissions to
\text, a version-specific WBPlugInPE150.dat file will be created and placed in that folder. However, when
\text is unwriteable, both the config.pro and the WBPlugInPE150.dat will be placed in either %HOME% or %HOMEDRIVE%%HOMEPATH%. If you do not have write access to your ANSYS Workbench installation, you may encounter the following error when attempting to import Creo Parametric models without an active CAD session: No write access, please choose another startup directory for trail file creation. To prevent this issue, add the following line to your config.pro file: trail_dir $TEMP
WBPlugInPE.dat File Contents this example:
The WBPlugInPE.dat file should look like
NAME WB150PluginProWF EXEC_FILE E:\Program Files\Ansys Inc\V150\AISOL\CADIntegration\%ANSYS_PROEWF_VER%\ %ANSYS_SYSDIR%\WBPlugInPECOM.dll TEXT_DIR E:\Program Files\Ansys Inc\V150\AISOL\CADIntegration\%ANSYS_PROEWF_VER%\ ProEPages\Language\%AWP_LOCALE150% STARTUP dll delay_start FALSE allow_stop TRUE unicode_encoding FALSE REVISION ProEWildfire END NAME ac4pro150dll exec_path E:\Program Files\Ansys Inc\V150\ANSYS\ac4\bin\pro\%ANSYS_SYSDIR%\ac4pro.exe text_path E:\Program Files\Ansys Inc\V150\ANSYS\ac4\data\pro\text STARTUP dll delay_start FALSE allow_stop TRUE unicode_encoding FALSE
80
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager revision 24.0 end
Note When configuring the plug-in to run with Wildfire 5.0, the reference to WBPlugInPECOM.dll will instead be DSPlugInPEWF5COM.dll. Do not delete any of these lines. If you modify this file, do NOT enter a carriage return after the END line. The file may be customized with other information. If these lines are deleted, or if the WBPlugInPE.dat file is not present in any of the directories in the search path, Creo Parametric will not load ANSYS-related CAD interfaces. You should typically never have to edit these files for path information contained within them. Paths are determined by environment variable settings, which are set automatically during installation. If you encounter problems when attempting to run Creo Parametric, use the CAD Configuration Manager to reconfigure rather than attempting to edit files directly. Following an update of an existing Creo Parametric 1.0 or 2.0 installation to a different maintenance release (for example upgrading from datecode F000 to M010), the ANSYS Workbench Associative Plug-In will no longer be configured. To reactivate your plug-in, follow the steps described in Using the CAD Configuration Manager (p. 72). This situation does not apply to Pro/ENGINEER Wildfire 4.0, Pro/ENGINEER Wildfire 5.0, or Creo Elements/Pro 5.0.
7.1.4.1. Configuring the Connection for Creo Parametric All Creo Parametric s must have copies of the WBPlugInPE.dat file and the config.anscon.150 (connection for Creo Parametric) files. The config.anscon.150 file is placed in the Program Files\Ansys Inc\V150\ansys\ac4\data\
directory. config.anscon.150 must be copied into the 's working directory at the time Creo Parametric is started. The WBPlugInPE.dat file is placed in the Program Files\Ansys Inc\V150\AISOL\CADIntegration\%ANSYS_PROEWF_VER%\ProEPages\config directory. This file defines the name of the executable, the path
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
81
Configuring CAD Products to the executable, the path to the message file, and the current revision of Creo Parametric.
Note If the ANSGeom menu in Creo Parametric does not appear correctly, copy the config.anscon.150 file into your working directory and restart Creo Parametric.
7.1.4.1.1. The WBPlugInPE.dat File and config.pro File Creo Parametric uses the WBPlugInPE.dat file to locate related executables such as the connection for Creo Parametric. Mechanical APDL/ANSYS Workbench also requires a config.pro file. • The config.pro file resides in <path-to-proe>\text for any Pro/ENGINEER Wildfire release and <path-to-creo-parametric>\..\Common Files\
\text for Creo Parametric. The Creo Ship Code is a three digit number preceded by a single letter. The ship code is specified in the Creo Parametric installation log, which can be found in <path-to-creoparametric>\uninstall\instlog.txt for version 1.0, or in <path-tocreo-parametric>\bin\pim\xml\creobase.xml for version 2.0. For version 2.0, in the cases that the crebase.xml file is missing, the ship code can be determined by looking in the Windows Registry using regedit. That value is located in either HKLM\Software\PTC\Creo Parametric\2.0\Shipcode or SOFTWARE\Wow6432Node\PTC\Creo Parametric\2.0\Shipcode. The config.pro file contains a PROTKDAT line that points to the WBPlugInPE.dat file. This file is generated either during the product install or by running the CAD Configuration Manager to configure the Mechanical APDL /ANSYS Workbench products for Creo Parametric. The <proe_platform> variable is the name that Creo Parametric gives to its platform directories: WBPlugInPECOM Hardware Platform
82
ANSYS Platform
Creo Parametric Platform
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Using the CAD Configuration Manager <proe_platform> Intel 32-bit
win32
i486_nt
XP x64
winx64
x86e_win64
7.1.4.1.2. The config.pro File A typical config.pro file might look like the following example. This example has an entry for ANSYS Workbench and another for ANSYS ICEM CFD. You may have other Creo Parametric specific customizations. PROTKDAT E:\Program Files\Ansys Inc\V150\AISOL\CADIntegration\$ANSYS_PROEWF_VER\ ProEPages\config\WBPlugInPE.dat PROTKDAT $PROMIF_ACN\protk.dat
7.1.4.1.3. The config.anscon.150 File s who launch Mechanical APDL from Creo Parametric will need the information from the config.anscon.150 file. This file is installed for all s in the \ac4\data\
subdirectory. You typically do not need to edit this file. Here is a sample config.anscon.150 file: ANSYS_CMD %AWP_ROOT150%\ANSYS\bin\%ANSYS_SYSDIR%\ansys150.exe ANSYS_GRAPHIC_DEVICE WIN32 ANSYS_SOLVER Sparse** ANSYS_SELECTED_LAYERS 1-256** ANSYS_GEOMETRY_TYPE Solids Only** ANSYS_NEUTRAL_FORMAT Yes** ANSYS_PRODUCT_NAME ANE3FL
**These variables are not ed by Creo Parametric and are ignored by Creo Parametric. See Setting ANSYS Configuration Parameters in the Connection 's Guide for more information about the config.anscon.150 file.
7.1.4.2. Creo Parametric Environment Variables Most environment variables are set during product installation. In general, you will not need to reset these variables. Check the manuals for the individual CAD products for information about environment variables and their settings.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
83
Configuring CAD Products PROE_START_CMD150 Specifies the name of the .bat file which launches Creo Parametric on the system. The path to the executable should be already set if the Creo Parametric installation path has been defined for the PATH environment setting. PROE_START_CMD150 Default = C:\Program Files\PTC\Creo 1.0\Parametric\bin\parametric1.bat
7.1.5. NX Configuration Running the CAD Configuration Manager for NX performs the following steps to activate the NX plug-in: • If not already existing, sets the environment variable UGII_CUSTOM_DIRECTORY_FILE to %APPDATA%\Ansys\v150\Unigraphics\custom_dirs.dat. • If not already present, adds an entry to the custom_dirs.dat file specifying the location of the Plug-In, e.g., C:\Program Files\Ansys Inc\V150\AISOL\CADIntegration\UnigraphicsNX\%ANSYS_SYSDIR%. • s the Plug-In file (DSPlugInUGCOM.dll). For the previous example, these files would be located in C:\Program Files\Ansys Inc\V150\AISOL\CADIntegration\UnigraphicsNX\winx64\startup.
7.1.5.1. Configuring the Connection for NX -Defined Environment Variables You will need to have the following environment variable set if you will be running the connection for NX product from inside NX. UGII_VENDOR_DIR for Mechanical APDL This environment variable is not set during the installation process and can only be set in a 's start-up file or at command level before running NX. This environment variable defines the ANSYS 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 ANSYS program, for example: C:\Program Files\Ansys Inc\V150\ANSYS\ac4\bin\ug50\
. UGII_BASE_DIR and UGII_ROOT_DIR The environment variables UGII_BASE_DIR and UGII_ROOT_DIR must be defined for proper operation of NX and the ANSYS Workbench Plug-In to NX. These envir-
84
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring CADNexus/CAPRI CAE Gateway for CATIA V5 onment variables are typically created by the NX installer; however, in rare cases, you may have to create/update these two variables. In these situations, the NX Installation Location field will be left blank within the CAD Configuration Manager's NX tab. When multiple NX versions are installed on a system, the UGII_BASE_DIR environment variable must be set to the install path of the NX version to be launched, prior to starting that version of the CAD. Otherwise errors will be encountered during CAD startup and the plug-in will not load. For example, if switching from NX 7.5 to run NX 8.5, you must update UGII_BASE_DIR to the NX 8.5 path before starting NX 8.5. Similarly, the UGII_ROOT_DIR environment variable must be set to the ugii subdirectory in the install path of the NX version to be launched.
7.1.5.2. Configuring for Teamcenter Running the CAD Configuration Manager for Teamcenter performs the following step to activate the Teamcenter plug-in: • When Teamcenter Unified is detected, the environment variable TC_ROOT is set to the Teamcenter Unified installation path.
7.1.6. ANSYS ICEM CFD Configuration The ICEM CFD Direct CAD Interface to Creo Parametric is no longer ed in release 15.0, and any attempt to configure will result in “Not Configured” status.
7.2. Configuring CADNexus/CAPRI CAE Gateway for CATIA V5 The CADNexus/CAPRI CAE Gateway for CATIA V5 product is available for ANSYS Workbench. The ANSYS Workbench-specific portions are included in the installation. However, to run this product, you must complete the configuration as follows: 1.
Install ANSYS Workbench according to the instructions in this guide.
2.
Install CATIA V5 and LUM licensing (requires a CATIAV5 license key MD2, HD2 or ME2).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
85
Configuring CAD Products 3.
From the ANSYS, Inc. Customer Portal, the CADNexus/CAPRI CAE Gateway for CATIA V5 for your platform (Windows 32 or Windows x64) to a temporary folder. (Do not to a folder containing blank spaces in the folder name, e.g., Program Files). Follow the procedures described in ing the Installation Files (p. 24).
4.
Extract the contents of the zip file using your standard zip utility.
5.
Install CADNexus/CAPRI CAE Gateway for CATIA V5 using the appropriate exe for your platform.
6.
Follow the instructions on the CAPRI installation screens to complete the installation. When specifying the component to install, you will need to select the desired CatiaV5 release under CAPRI CAD Applications. When asked if CAPRI should set the environment variables, click Yes.
7.
Run the CAD Configuration Manager and select the Catia V5: CADNexus/CAPRI CAE Gateway option to complete the configuration as described in Using the CAD Configuration Manager (p. 72).
Note Using the CAD Configuration Manager to set up the CADNexus/CAPRI CAE Gateway does not require istrative rights, although installing that product (step 5) requires these rights. However, if you wish to reconfigure to use the ANSYS Workbench Reader for Catia V5, istrative rights are required.
If you wish to revert to the standard CATIA V5 interface, run the CAD Configuration Manager and select the Catia V5: Standard Interface option to complete the configuration as described in Using the CAD Configuration Manager (p. 72). You cannot run the standard CATIA V5 interface simultaneously with the CADNexus/CAPRI CAE Gateway for CATIA V5 interface.
7.3. Configuring AutoCAD Running the CAD Configuration Manager for AutoCAD performs the following steps to active the plug-in:
86
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring AutoCAD 1. Creates the folders %PROGRAMDATA%\AnsysWB.bundle and %PROGRAMDATA%\Autodesk\ApplicationPlugins\AnsysWB.bundle\Contents\v150\Winx64\AutoCAD 2. Copies the following folders from the Workbench installation into the bundle's AutoCAD sub-folders: • All files within %AWP_ROOT150%\aisol\CADIntegration\DWG\
are copied to %PROGRAMDATA%\ApplicationPlugins\AnsysWB.bundle\Contents\v150\
\AutoCAD\2013 • All files within %AWP_ROOT150%\aisol\CADIntegration\DWG\images are copied to %PROGRAMDATA%\Autodesk\ApplicationPlugins\AnsysWB.bundle\Contents\v150\
\AutoCAD\Resources • All folders within %AWP_ROOT150%\aisol\CADIntegration\DWG\Language are copied to %PROGRAMDATA%\Autodesk\ApplicationPlugins\AnsysWB.bundle\Contents\v150\
\AutoCAD\Resources\Language • Here
is either Win64 or Win32 3. Finally a %PROGRAMDATA%\Autodesk\ApplicationPlugins\AnsysWB.bundle\PackageContents.XML file is created with the following contents: <ApplicationPackage ProductCode="{6C6B872A-2ECF-4272-B7B7-1CA69B1EAD08}" HelpFile="./Contents/v150/ Winx64/AutoCAD/Resources/cadAutoCAD.html" Icon="./Contents/v150/Winx64/AutoCAD/Resources/ansys70.bmp" Description="ANSYS Workbench Geometry Interface 15.0" AppVersion="15.0" Name="AnsysWB150 " ProductType="Application" SchemaVersion="1.0" AutodeskProduct="AutoCAD" FriendlyVersion="15.0 " edLocales="Enu" OnlineDocumentation="www.ansys.com " Author="ANSYS, Inc." UpgradeCode="{12D6EF98-CEE6-431E-B699-DE9DE4F32B7E}">
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
87
Configuring CAD Products
Note • For 32-bit installations OS="Win32", Components Description="32bit Component" and AppDescription="Windows 32bit ". Additionally, references to ModuleNameWin64 would be replaced with ModuleNameWin32 and all path references to Win64 would be replaced with Win32. • Adjust edLocales to match preferred language. – For English edLocales="Enu" – For German edLocales="Deu” – For French edLocales="Fra”
88
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 8: Uninstalling the Software 8.1. Uninstalling ANSYS, Inc. Products Use this process to uninstall any ANSYS, Inc. product that was installed using the Unified Installation process. Note to CFX s The provided uninstall tool cannot uninstall MPI services. If you have CFX products installed that you are uninstalling, you must stop the MPI services before continuing with the uninstall: 1.
As an , go to the Run window and type Services.msc.
2.
Search for " Platform MPI Remote Launch" and if found, click Stop.
3.
Continue with the uninstallation procedure, below.
Uninstall Procedure for All s to uninstall ANSYS, Inc. products.
All s should use the following procedure
1.
Close down all applications that are currently running.
2.
From Windows XP or Windows 7, select Start> All Programs> ANSYS 15.0> Uninstall 15.0. From Windows 8, right-click the Start Screen> All apps> ANSYS 15.0> Uninstall 15.0. You must uninstall with the same or higher privileges than were used to install the product, and we strongly recommend uninstalling as the same who installed the product originally.
3.
Select the product(s) to be uninstalled and unconfigured and click Uninstall Selected Item(s). Not all products and product components may be listed individually.
4.
You will be asked to save all data and close all Windows applications before continuing. Click OK.
5.
You will be asked if you are sure you want to uninstall the selected products. Click Yes. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
89
Uninstalling the Software 6.
A message appears indicating that the uninstallation is complete. Click OK.
Note After all the desired products are uninstalled, you are presented with a message stating that any files or directories that were not recognized by our uninstall program remain. These remaining files typically include such things as .udf files, customized documentation, and various routines. If these files are no longer required, please remove them manually.
CFD-Post CFD-Post can be installed as a standalone product; however, as a standalone product, it is also automatically installed with Fluent, Polyflow, and Icepak. To uninstall CFD-Post, you must uninstall all of the above products that you have installed. • If you choose to uninstall standalone CFD-Post without uninstalling the other products, you will not be able to proceed with the uninstall. You will need to revise your uninstall selections before continuing. • If you choose to uninstall all of the other products that include standalone CFDPost but you do not select CFD-Post, then CFD-Post will not be removed. Individual product directories may not be removed if they contain components that are shared with other products that have not been uninstalled. However, the uninstalled product will no longer run. In the case of a platform (file server) installation, the uninstall will remove the selected product(s) from all of the Windows platforms. This procedure removes the specified ANSYS, Inc. program from your system but will not remove the ANSYS licensing components. Follow the steps in Uninstalling Licensing Components (p. 90) to uninstall the licensing components.
8.1.1. Uninstalling Licensing Components Before proceeding with the following steps to remove the ANSYS licensing components from your system, make certain that there are no ANSYS, Inc. products on this machine or any other machines on the network that rely on these ANSYS licensing components. 90
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Uninstalling ANSYS, Inc. Products License Servers
Follow these steps on a license server machine:
1.
Stop the ANSYS, Inc. License Manager via the ANSLIC_ utility (Windows XP or Windows 7: Start> All Programs> ANSYS Inc. License Manager> Server ANSLIC_ Utility and Windows 8: right-click the Start Screen> All apps> ANSYS, Inc. License Manager > Server ANSLIC_ Utility).
2.
Uninstall the ANSYS, Inc. License Manager service. You must use the following command to do so: "C:\Program Files\Ansys Inc\Shared Files\Licensing\
\ansysli_server" -k uninstall
3.
Delete the licensing subdirectory.
4.
Remove the ANSYS, Inc. License Manager folder from the Start menu.
5.
Remove the ANSYSLIC_DIR and the ANSYSLIC_SYSDIR environment variables, if set.
Clients
Follow these steps on client machines:
1.
Delete the licensing subdirectory.
2.
Remove the ANSYS 15.0> ANSYS Client Licensing folder from the Start menu or from the Apps screen.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
91
92
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 9: Troubleshooting 9.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 action required to correct the problem. You can also find answers to commonly-asked questions on our customer portal. After you to the customer portal, select Knowledge Resources> Solutions. For information on licensing-related errors, see the Troubleshooting section of the ANSYS, Inc. Licensing Guide. In addition, this appendix describes the ANSYS diagnostic tools, which are useful for troubleshooting some problems.
9.1.1. Using ANSLIC_ to Gather Diagnostic Information You can use the Gather Diagnostic Information option of the ANSLIC_ utility to query the system for various pieces of information that may be needed for troubleshooting certain problems. This option collects information about the system as well as about ANSYS licenses and sends all of the information that it collects to the log area. At times it may be necessary to provide the information for technical . Use the Write to File button at the bottom of the ANSLIC_ to write a file. Then forward the file to the appropriate person. You can also use the AnsysInstallationDiagnostics.exe, in the \v150\instutil directory, for additional installation diagnostics. This tool is helpful to diagnose installation and runtime issues. One or more log files will be generated either at the same location as the tool or in your temporary directory, depending on directory permissions. The log files are intended to help ANSYS, Inc. technical personnel expedite any technical issues. It would be useful to have the files ready to provide before ing Technical .
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
93
Troubleshooting
9.1.2. Uninstall Gives Access Denied Error Message If you run the uninstall utility as a non-istrative , you may get access denied error messages when removing product components. Run the uninstall as an istrative , and close all applications before running the uninstall.
9.1.3. Uninstall on a Windows 7 or Windows 8 System Gives Compatibility Error Message If you uninstall an ANSYS, Inc. product on a Windows 7 or Windows 8 system using the ANSYS, Inc. Uninstall utility, you may see the following error message: This program might not have installed correctly. If this program didn't install correctly, try reinstalling using settings that are compatible with this version of Windows. This message is caused by the Windows Program Compatibility Assistant and can safely be ignored. Click Cancel and continue with the uninstall.
9.1.4. A .chm File Does Not Display Properly Across a Network Help system .chm files may not display topics correctly when you try to use a Universal Naming Convention (UNC) path to open the file on a network shared folder, typical with a Network Configuration install. This is a known issue with security update 896358, security update 840315, or Microsoft Windows Server 2003 Service Pack 1 (SP1). Please go to http://.microsoft.com/kb/896358 and http://.microsoft.com/kb/896054 for more information on this problem and Microsoft's recommended fix. If you are running ICEM CFD over the network and you have applied this security update, you may not be able to access ICEM CFD Help using the Help menu. To access ICEM CFD Help, navigate to commonfiles\help\en-us in the installation directory on the server machine and copy the file icemcfd_help.chm to your local machine. Double-click the local copy to view the help.
9.1.5. Products Crash with an Application Error On Windows Server 2008 or Windows XP systems, ANSYS applications may crash with an application error if the DEP (Data Execution Prevention) flag is set. To check your DEP setting, right mouse click on My Computer, and select Proper-
94
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installation Troubleshooting ties. Select the Advanced tab, and under Performance, click Settings. Then select the Data Execution Prevention tab. If DEP is set, you will need to add ANSYS to the list of exceptions. For more information on DEP and how to change the settings, see http://.microsoft.com/kb/875351.
9.1.6. When attempting to run an ANSYS, Inc. product after the initial installation, a .NET Framework Initialization Error directing you to install the .NET framework is displayed After installing ANSYS, Inc. products and the required .NET Framework prerequisite, some computer configurations display a .NET Framework Initialization Error even though the installation log file reports a successful installation. This can be caused by the .NET Framework requiring a system reboot. To correct this issue, reboot your computer and then run your ANSYS, Inc. product.
9.1.7. Product Installation Does Not Create Start Menu Item for ANSYS and CAD Plugins Do Not Work On a Windows 7 or Windows 8 system, if you install ANSYS, Inc. products but do not see a Start Menu/Apps item and your CAD plugins do not work, the TEMP environment variable may be pointing to an inaccessible location. For example, it may point to a location such as %PROFILE%\Local Settings\Temp. As a result, the product installation could end without configuring the product correctly. You should ensure that the TEMP variable points to a valid location, such as %PROFILE%\AppData\Local\Temp.
9.1.8. Product Installation Displays Security Warning Dialogs or Silent Product Installation Hangs on a Network Install If you see a security warning dialog box during a GUI installation/product configuration, or if your installation hangs during a silent installation, you may need to modify your security settings. Set the machine you are installing from as a trusted site and allow launching of unsafe applications so that the prerequisite installation can complete. Then re-run the installation. your system or refer to your operating system documentation for details on modifying security settings.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
95
Troubleshooting Alternatively, you can run the prerequisite check to that you have all the necessary prerequisites. If necessary, install any prerequisites and rerun the installation: 1.
Run PreReqCheck.exe from the top level directory.
2.
Install any missing prerequisites by running InstallPreReqs.exe from the top level directory as an .
3.
When the prerequisites have finished installing, run the installation as you normally would (GUI or silently).
9.1.9. System-related Error Messages ***Error, ANSYS150_DIR environment variable is not set. This is a fatal error – exiting. This message indicates that the ANSYS150_DIR environment variable was not set where necessary for licensing. This environment variable should be set to the installation directory. Unexpected error: Request for the permission of type ... failed. If you encounter this type of message on a server configuration, you may need to set the machine as a trusted site. On Windows XP machines, in the Control , select Internet Options and select Security. Click on Trusted Sites and click Sites. Add the machine as file://servername. On a Windows 7 or Windows 8 machine, in the Control , select Network and Internet, select Internet Options, and select Security. Click on Trusted Sites and click Sites. Add the machine as file://servername.
9.1.10. CasPol Error Messages ERROR: Not enough arguments, no permission set specified If you are configuring to a server with spaces in the path and get this error, then you must put quotes around your server specification as shown in the following example:
96
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installation Troubleshooting - Mechanical APDL and ANSYS Workbench Products C:\s\>C:\Windows\Microsoft.NET\Framework\v2.0.50727\CasPol.exe -m -a g 1.2 -url file://"\\machineabc\ANSYS Inc\*" FullTrust
9.2. Installation Troubleshooting - Mechanical APDL and ANSYS Workbench Products The items listed below apply only to the Mechanical APDL and/or ANSYS Workbench products.
9.2.1. The Mechanical APDL Launcher is Excessively Slow to Start If the Mechanical APDL launcher takes an excessively long time to startup (Windows only), make sure the hostnames in the ansyslmd.ini file and in the ANSYSLMD_LICENSE_FILE and the ANSYSLI_SERVERS environment variables are typed correctly and that the hosts specified by the hostnames exist. Replacing hostnames with IP addresses may improve the speed as well. Also that the port number is correct.
9.2.2. Display Problems on Windows XP This situation applies only to 32-bit Windows systems running Mechanical APDL. Windows XP includes a feature called Windows Ghosting that may cause Mechanical APDL graphing or plotting problems in 3-D mode on some XP systems. If this problem occurs, follow the procedure below to turn Windows Ghosting off for Mechanical APDL: 1.
Open the file ansys150.sdb, located in Program Files\Ansys Inc\V150\ANSYS\bin\intel.
2.
A Compatibility Database Installer dialog box stating "Installation of ANSYS150 complete" will be displayed. Click OK.
To reset Windows XP Windows Ghosting for Mechanical APDL, follow the procedure below: 1.
Open a DOS command prompt and type the following command: sdbinst /U "%ANSYS150_DIR%\bin\intel\ansys150.sdb"
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
97
Troubleshooting 2.
A Compatibility Database Installer dialog box stating "Uninstallation of ANSYS150 complete" will be displayed. Click OK.
9.2.3. Display Problems on Windows 7 This situation applies only to Windows systems running Mechanical APDL. Windows 7 includes a theme called Aero that may cause Mechanical APDL graphing or plotting problems in 3-D mode on some systems. If this problem occurs, disable the Windows Aero theme when running Mechanical APDL.
9.2.4. ANS_ Error Messages Grayed out options If certain options are grayed out, your may not have the necessary system privileges necessary to run those options.
9.2.5. Mechanical APDL Product Launcher Error Messages Some of the more common error messages follow. See the ANSYS, Inc. Licensing Guide for licensing-related launcher messages. ***Cannot create required <profile> file. Therefore, cannot write to profile information during this launcher session. If you see this error, you cannot add or modify profile information during this launcher session. that you have write access to the directory and restart the launcher session. Typically, this directory is C:\Documents and Settings\< name>\Application Data\Ansys\v150\launcher on Windows or ~/.ansys/v150/launcher/ on UNIX. ***No ANSYS product installations found. your Mechanical APDL product installation. If the desired product was not installed, install it.
9.2.6. Distributed Mechanical APDL Platform MPI Error Messages You may encounter the following message when setting up Platform MPI or running Distributed ANSYS using Platform MPI.
98
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Installation Troubleshooting - Mechanical APDL and ANSYS Workbench Products Error executing Mechanical APDL. Refer to System-related Error Messages in the Mechanical APDL online help. If this was a Distributed Mechanical APDL job, that your MPI software is installed correctly, check your environment settings, or check for an invalid command line option. You may see this error if you did not correctly run the set bat file. that you completed this item according to the Platform MPI installation ree instructions. You may also see this error if Ansys Inc\v150\ansys\bin\
(where
is intel or winx64) is not in your PATH. If you need more detailed debugging information, use the following: 1.
Open a Command Prompt window and set the following: SET ANS_SEE_RUN=TRUE SET ANS_CMD_NODIAG=TRUE
2.
Run the following command line: ansys150 -b -dis -i myinput.inp -o myoutput.out.
9.2.7. ANSYS Workbench Products Troubleshooting This section lists problems and error messages that you may encounter while installing and/or running ANSYS Workbench. After each situation description or error message is the action required to correct the problem. Always try the suggested action before ing your technical representative.
Problem Situations During setup, if you encounter any errors containing the text “0x8000FFFF”, you will need to install the required installation prerequisites. Run the installation launcher (setup.exe) and choose Install Required Prerequisites. CAD System Plug-In Menus Do Not Appear for NX or Creo Parametric ANSYS Workbench on Windows platforms will append its information to an existing customization file for NX and/or Creo Parametric. If no customization file exists, ANSYS Workbench will create a file. For NX, ANSYS Workbench looks for the custom_dirs.dat file in the directory specified via the UGII_CUSTOM_DIRECTORY_FILE environment variable. For Creo Parametric, ANSYS Workbench looks for the config.pro file in the %HOMEDRIVE%%HOMEPATH% directory. In addition, during setup of the Creo Parametric Geometry Interface, ANSYS Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
99
Troubleshooting Workbench will also append its information to the config.pro file located in the Creo Parametric installation path, under the \text directory (e.g., Proewildfire2\text\config.pro). If ANSYS Workbench encounters a read-only file, it will not be able to write the necessary information to the file. In this case, you will need to revise the permissions on the file and manually add the appropriate ANSYS Workbench-specific information in order for the ANSYS menu to appear in NX or Creo Parametric. Script Errors When Running ANSYS Workbench If you encounter script errors such as "Error: Unable to create object microsoft.XMLDOM," you may need to install the latest version of Microsoft's MSXML. Please visit Microsoft's web site at http://www.microsoft.com/s/details.aspx?FamilyID=993c0bcf-3bcf4009-be21-27e85e1857b1&DisplayLang=en for more information on ing and installing MSXML.
ANSYS Workbench Error Messages ***Unable to connect to Solver Manager. Another application might be using the Solver Manager port (10002 by default). Try changing the port number by editing the Ansys.SolverManager.exe.config file located in the installation directory at \AISOL\Bin\
. If you are getting the "Unable to connect to Solver Manager" error message or are having difficulty launching other applications/editors, it is also possible that the Windows hosts file has been corrupted. Please make sure that localhost is specified in the Windows
:\Windows\system32\drivers\etc\hosts file.
9.3. Installation Troubleshooting - ANSYS CFX The items listed below apply only to the ANSYS CFX products.
9.3.1. TurboGrid Mouse Behavior Problems Depending on the graphics card and driver version, you may experience problems with the accuracy of mouse clicks in the 3D Viewer. For example, you may try to insert a control point at a given location by using the mouse, but the control point appears at a location far from where you clicked the mouse. If you experi-
100
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing Technical ence such problems, try lowering the hardware acceleration setting of your graphics card.
9.4. ing Technical Technical for ANSYS, Inc. products is provided either by ANSYS, Inc. directly or by one of our certified ANSYS Providers. Please check with the ANSYS Coordinator (ASC) at your company to determine who provides for your company, or go to www.ansys.com and select ANSYS > s and Locations. If your is provided by ANSYS, Inc. directly, Technical can be accessed quickly and efficiently from the ANSYS Customer Portal, which is available from the ANSYS Website (www.ansys.com) under > Customer Portal. The direct URL is: .ansys.com. One of the many useful features of the Customer Portal is the Knowledge Resources Search, which can be found on the Home page of the Customer Portal. Systems and installation Knowledge Resources are easily accessible via the Customer Portal by using the following keywords in the search box: Systems/Installation. These Knowledge Resources provide solutions and guidance on how to resolve installation and licensing issues quickly. NORTH AMERICA All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Toll-Free Telephone: 1.800.711.7199 Fax: 1.724.514.5096 for University customers is provided only through the ANSYS Customer Portal. ANSYS Mechanical Products Telephone: +49 (0) 8092 7005-55 (CADFEM) Email:
[email protected] All ANSYS Products
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
101
Troubleshooting Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. National Toll-Free Telephone: German language: 0800 181 8499 English language: 0800 181 1565 Austria: 0800 297 835 Switzerland: 0800 546 318 International Telephone: German language: +49 6151 152 9981 English language: +49 6151 152 9982 Email:
[email protected] UNITED KINGDOM All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: Please have your Customer or ID ready. UK: 0800 048 0462 Republic of Ireland: 1800 065 6642 Outside UK: +44 1235 420130 Email:
[email protected] 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 Email: CFX:
[email protected]; Mechanical:
[email protected] Fluent Products
102
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ing Technical Telephone: +81-3-5324-7305 Email: Fluent:
[email protected]; Polyflow:
[email protected]; FfC:
[email protected]; FloWizard:
[email protected] Icepak Telephone: +81-3-5324-7444 Email:
[email protected] Licensing and Installation Email:
[email protected] INDIA All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +91 1 800 209 3475 (toll free) or +91 20 6654 3000 (toll) Fax: +91 80 6772 2600 Email: FEA products:
[email protected]; CFD products:
[email protected]; Ansoft products:
[email protected]; Installation:
[email protected] All ANSYS, Inc. Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Toll-Free Telephone: +33 (0) 800 919 225 Toll Number: +33 (0) 170 489 087 Email:
[email protected] BELGIUM
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
103
Troubleshooting All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +32 (0) 10 45 28 61 Email:
[email protected] for University customers is provided only through the ANSYS Customer Portal. SWEDEN All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +44 (0) 870 142 0300 Email:
[email protected] 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://.ansys.com) and select the appropriate option. Telephone: +34 900 933 407 (Spain), +351 800 880 513 (Portugal) Email:
[email protected],
[email protected] for University customers is provided only through the ANSYS Customer Portal. ITALY All ANSYS Products Web: Go to the ANSYS Customer Portal (http://.ansys.com) and select the appropriate option. Telephone: +39 02 89013378 Email:
[email protected] for University customers is provided only through the ANSYS Customer Portal. 104
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Chapter 10: Applications Included with Each Product The following table displays which ANSYS, Inc. applications are included with each of the product installation options. Product Install Option
What is Included?
ANSYS Structural Mechanics ANSYS Mechanical Products
Workbench [1], Mechanical APDL
ANSYS Customization Files
Workbench [1], Mechanical APDL -Programmable Feature
ANSYS Explicit Dynamics ANSYS Autodyn
Workbench [1], Autodyn
ANSYS LS-DYNA
Workbench [1], ANSYS LS-DYNA
ANSYS Fluid Dynamics ANSYS CFX (includes ANSYS CFD-Post)
Workbench[ 1], CFX, CFD-Post
ANSYS Fluent (includes ANSYS CFD-Post)
Workbench [1], Fluent, CFD-Post
ANSYS TurboGrid
Workbench [1], TurboGrid
ANSYS Polyflow(includes ANSYS CFD-Post)
Workbench [1], CFD-Post, Polyflow
ANSYS CFD-Post only
Workbench [1], CFD-Post
ANSYS Offshore ANSYS Aqwa
Workbench [1], Aqwa
ANSYS FEMGV (available for 32–bit systems only)
Workbench [1], FEMGV (32–bit only)
ANSYS Additional Tools ANSYS ICEM CFD
ICEM CFD
ANSYS Icepak (includes ANSYS CFD-Post)
CFD-Post, Icepak
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
105
Applications Included with Each Product Product Install Option ANSYS Remote Solve Manager Stand Alone Services
What is Included? Remote Solve Manager
ANSYS PDM Interface TeamCenter Engineering
TeamCenter Integration for NX
ANSYS Geometry Interfaces AutoCAD
Geometry Interface for AutoCAD
ACIS
Geometry Interface for ACIS
Catia, Version 4
Geometry Interface for Catia, Version 4
Catia, Version 5
Geometry Interface for Catia, Version 5
Catia, Version 6
Geometry Interface for Catia, Version 6
Creo Elements/Direct Modeling
Geometry Interface for Creo Elements/Direct Modeling
Inventor
Geometry Interface for Inventor
JTOpen
Geometry Interface for JTOpen
NX
Geometry Interface for NX
Parasolid
Geometry Interface for Parasolid
Creo Parametric (formerly Pro/ENGINEER)
Geometry Interface for Creo Parametric (formerly Pro/ENGINEER)
Solid Edge
Geometry Interface for Solid Edge
SolidWorks
Geometry Interface for SolidWorks
1. Workbench includes the Workbench Framework, DesignModeler, DesignXplorer, and Remote Solve Manager.
106
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring High Performance Computing
ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317
[email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494
Release 15.0 November 2013 ANSYS, Inc. is certified to ISO 9001:2008.
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.
Copyright and Trademark Information © 2013 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited. ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are ed trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.
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 s 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 and conditions of that software license agreement. ANSYS, Inc. is certified to ISO 9001:2008.
U.S. Government Rights For U.S. Government s, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD licenses).
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 ANSYS, Inc. Published in the U.S.A.
Table of Contents Configuring Distributed ANSYS ................................................................................. 1 1. Setting up Distributed ANSYS .......................................................................... 1 1.1. Prerequisites for Running Distributed ANSYS ........................................... 1 1.1.1. MPI Software ................................................................................. 2 1.1.2. Installing the Software ................................................................... 4 1.2. Setting Up the Cluster Environment for Distributed ANSYS ...................... 5 1.2.1. Optional Setup Tasks ...................................................................... 8 1.2.2. Using the mpitest Program ............................................................. 9 1.2.3. Interconnect Configuration .......................................................... 11 2. Running a Distributed Job ............................................................................. 11 Configuring ANSYS CFX Parallel .............................................................................. 13 1. ANSYS CFX UNIX Parallel Setup ...................................................................... 13 1.1. Setting Up Remote Access on UNIX/Linux ............................................. 13 1.1.1. Testing Remote Access ................................................................. 14 1.1.2. Global Set Up of rsh ...................................................................... 14 1.1.3. Individual Set Up for rsh ........................................................ 15 1.1.4. Set Up of ssh ................................................................................ 15 1.2. hostinfo.ccl File ..................................................................................... 15 1.2.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility ........................................................................................................ 18 1.3. Using Platform MPI (Message ing Interface Library) ......................... 19 1.3.1. Environment Variables .................................................................. 20 1.3.2. Interconnect Selection ................................................................. 21 1.4. Using Intel MPI (Message ing Interface Library) ............................... 22 1.4.1. Environment Variables .................................................................. 23 1.4.2. Network Fabrics Selection ............................................................ 24 2. ANSYS CFX Windows Parallel Setup ................................................................ 25 2.1. Parallel Setup for Windows .................................................................... 25 2.1.1. hostinfo.ccl file ............................................................................. 26 2.1.1.1. Adding Hosts for Parallel Processing with the cfx5parhosts Utility ............................................................................................. 29 2.2. Setting Up Platform MPI for Windows .................................................... 30 2.2.1. Enabling Platform MPI Parallel Through a Windows Firewall .......... 31 2.3. Setting Up Intel MPI for Windows .......................................................... 32 2.3.1. Setting Up Intel MPI Authentication .............................................. 32 2.3.1.1. Authentication ..................................................... 32 2.3.1.2. Delegated Authentication .................................................... 32 2.3.1.3. Impersonated Authentication .............................................. 32 2.3.2. Enabling Intel MPI Parallel Through a Windows Firewall ................. 33 Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
iii
Configuring High Performance Computing Guide 2.4. Setting up and Running CCS 2003/HPC 2008 ......................................... 33
iv
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring Distributed ANSYS This section explains how to configure your network/cluster to run Distributed ANSYS. It is important that you follow these steps in order to run successfully in a distributed environment. For more information on using Distributed ANSYS, see the Parallel Processing Guide. You will need an ANSYS Mechanical HPC (HPC) license for each processor after the first two. For example, if you want to run four processors, you will need two HPC licenses. Some products cannot use all HPC functionality, as noted in the following table. Table 1: Products with Limited HPC Functionality Product
Distributed ANSYS Capability
SMP Capability
VT Accelerator Capability
ANSYS Academic Teaching Products
Yes
4 processors default limit
Yes
ANSYS LS-DYNA
No
No
No
ANSYS DesignSpace
No
2 processors max
No
1. Setting up Distributed ANSYS This section describes the prerequisites, including software requirements, for running Distributed ANSYS and the steps necessary to set up the environment for Distributed ANSYS.
1.1. Prerequisites for Running Distributed ANSYS Whether you are running on a single machine or multiple machines, the following condition is true:
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
1
Configuring Distributed ANSYS • Distributed ANSYS allows you to use two cores without using any HPC licenses. Additional licenses will be needed to run a distributed solution with more than two cores. Several HPC license options are available. For more information, see HPC Licensing in the Parallel Processing Guide. If you are running on a single machine, there are no additional requirements for running a distributed solution. If you are running across multiple machines (e.g., a cluster), your system must meet these additional requirements to run a distributed solution. • Homogeneous network: All machines in the cluster must be the same type, OS level, chip set, and interconnects. • You must be able to remotely to all machines, and all machines in the cluster must have identical directory structures (including the ANSYS 15.0 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 15.0 installed, or must have an NFS mount to the ANSYS 15.0 installation. If not installed on a shared file system, ANSYS 15.0 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 ed for each platform. For Linux platforms, the MPI software is included with the ANSYS 15.0 installation. For Windows platforms, you must install the MPI software as described later in this document.
1.1.1. MPI Software The MPI software ed by Distributed ANSYS depends on the platform. The following table lists the type of MPI software ed for each platform. Platform MPI and Intel MPI are included on the Linux installation media and are installed automatically when you install ANSYS 15.0. Instructions for installing the MPI software on Windows systems can be found later in this document (see Installing the Software). Distributed ANSYS runs on the following platforms: Intel Xeon EM64T 64-bit Linux (Platform MPI, Intel MPI) 2
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Setting up Distributed ANSYS 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)) Table 2: Platforms and MPI Software Platform
MPI Software
More Information
Linux, Intel Xeon EM64T and AMD Opteron 64-bit
Platform MPI 9.1 Intel MPI 4.1
Platform MPI: http://www03.ibm.com/systems/technicalcomputing/platformcomputing/ products/mpi/index.html Intel MPI: http://software.intel.com/en-us/articles/intel-mpilibrary-documentation/
Windows 32-bit / Windows XP / Windows 7 / Windows 8
Platform MPI 9.1 Intel MPI 4.1
Platform MPI: http://www03.ibm.com/systems/technicalcomputing/platformcomputing/ products/mpi/index.html Intel MPI: http://software.intel.com/en-us/articles/intel-mpilibrary-documentation/
Windows 64-bit / Windows XP x64 / Windows 7 x64 / Windows 8 x64 Windows HPC Server 2008 x64
Microsoft HPC Pack (MS MPI)
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 following table for LS-DYNA MPP MPI . For more information on using in ANSYS LS-DYNA general, and its parallel processing capabilities specifically, see the ANSYS LS-DYNA 's Guide. Table 3: LS-DYNA MPP MPI on Windows and Linux MPI version for DYNA MPP
32-bit Windows
64-bit Windows
64-bit Linux
Platform MPI
n/a
X
X
MS MPI
n/a
X
n/a
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
3
Configuring Distributed ANSYS
1.1.2. Installing the Software To run Distributed ANSYS on a cluster, you must install ANSYS 15.0 on all machines in the cluster, or have an NFS mount to the ANSYS 15.0 installation. Install ANSYS 15.0 following the instructions in the ANSYS, Inc. Installation Guide for your platform. Be sure to complete the installation, including all required postinstallation procedures. On Windows systems, you must use the Universal Naming Convention (UNC) for all file and path names for Distributed ANSYS to work correctly.
Installing Platform MPI on Windows You can install Platform MPI from the installation launcher by choosing Install MPI for ANSYS, Inc. Parallel Processing. On the following screen, choose to install Platform MPI. The Platform MPI installation program will start. A Platform MPI installation REE file will open simultaneously. Follow the instructions in the REE file as you complete the Platform MPI installation. The instructions for installing Platform MPI are also found in the installation directory in the following REE files: Program Files\Ansys Inc\V150\commonfiles\MPI\Platform\9.1\Windows\INSTALL_PLATFORM-MPI_REE.mht or Program Files\Ansys Inc\V150\commonfiles\MPI\Platform\9.1\Windows\INSTALL_PLATFORM-MPI_REE.docx
Installing Intel MPI on Windows You can install Intel MPI from the Installation launcher by choosing Install MPI for ANSYS, Inc. Parallel Processing. On the following screen, choose to install Intel MPI. The Intel MPI installation program will start. An Intel MPI installation REE file will open simultaneously. Follow the instructions in the REE file as you complete the Intel MPI installation. The instructions for installing Intel MPI are also found in the installation directory in the following REE files: Program Files\Ansys Inc\V150\commonfiles\MPI\Intel\4.1\Windows\INSTALL_INTEL-MPI_REE.mht
4
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Setting up Distributed ANSYS or Program Files\Ansys Inc\V150\commonfiles\MPI\Intel\4.1\Windows\INSTALL_INTEL-MPI_REE.docx
Microsoft HPC Pack (Windows HPC Server 2008) You must complete certain post-installation steps before running Distributed ANSYS on a Microsoft HPC Server 2008 system. The post-installation instructions provided below assume that Microsoft HPC Server 2008 and Microsoft HPC Pack (which includes MS MPI) are already installed on your system. The post-installation instructions can be found in the following REE files: Program Files\Ansys Inc\V150\commonfiles\MPI\WindowsHPC\REE.mht or Program Files\Ansys Inc\V150\commonfiles\MPI\WindowsHPC\REE.docx Microsoft HPC Pack examples are also located in Program Files\Ansys Inc\V150\commonfiles\MPI\WindowsHPC. Jobs are submitted to the Microsoft HPC Job Manager either from the command line or the Job Manager GUI. To submit a job via the GUI, go to Start> All Programs> Microsoft HPC Pack> HPC Job Manager. Then click on Create New Job from Description File.
1.2. Setting Up the Cluster Environment for Distributed ANSYS After you've ensured that your cluster meets the prerequisites and you have ANSYS 15.0 and the correct version of MPI installed, you need to configure your distributed environment using the following procedure. 1.
Obtain the machine name for each machine on the cluster. Windows XP or Windows 7: Right-click on My Computer, left-click on Properties, and select the Network Identification or Computer Name tab. The full computer name will be listed. Note the name of each machine (not including the domain).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
5
Configuring Distributed ANSYS Windows 8: From the All apps screen, open the Control . Click Systemand Security> System. The full computer name will be listed. Note the name of each machine (not including the domain). Linux: Type hostname on each machine in the cluster. Note the name of each machine. You will need this name to set up the .rhosts file, as well as for the ANS_ utility. 2.
Linux only: Set up the .rhosts file on each machine. The .rhosts file lists all machines in the cluster. The machines should be listed using their complete system name, as taken from hostname. For example, an .rhosts file for a two-machine cluster might look like this: golinux1.ansys.com jqd golinux2 jqd
Change/ .rhosts file permissions on all machines by issuing: chmod 600 .rhosts
communication between machines via rsh or ssh (e.g., rsh golinux2 ls). You should not be prompted for a . 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 hosts150.ans file. You can use the ANS_ utility to configure this file. You can manually modify the file later, but we strongly recommend that you use ANS_ to create this file initially to ensure that you establish the correct format. Windows XP or Windows 7: Start >Programs >ANSYS 15.0 >Utilities >ANS_ 15.0 Windows 8: All apps >ANSYS 15.0 > ANS_ 15.0 Linux: /ansys_inc/v150/ansys/bin/ans_150 The ANS_ interface is similar for Windows and Linux:
6
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Setting up Distributed ANSYS • Choose ANSYS/Workbench Configure Cluster to configure the hosts150.ans file. • Under Select file to configure, choose the hosts150.ans file to be configured and choose Configure for Distributed ANSYS. 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 cores in the Max number of jobs/processors field. Click Add. Repeat this step for each machine in the cluster. • When you are finished adding machines, click Close then File > Exit. The hosts150.ans file should be located in your current working directory, your home directory, or the apdl directory. All three locations are equally valid; the location should be chosen based on preference. 4.
Windows only: that all required environment variables are properly set. If you followed the post-installation instructions described above for Microsoft HPC Pack (Windows HPC Server 2008), these variable should be set automatically. On the head node, where ANSYS 15.0 is installed, check these variables: ANSYS150_DIR=C:\Program Files\ANSYS Inc\v150\ansys ANSYSLIC_DIR=C:\Program Files\ANSYS Inc\Shared Files\Licensing where C:\Program Files\ANSYS Inc is the location of the product install and C:\Program Files\ANSYS Inc\Shared Files\Licensing is the location of the licensing install. If your installation locations are different than these, specify those paths instead. On Windows systems, you must use the Universal Naming Convention (UNC) for all ANSYS, Inc. environment variables on the compute nodes for Distributed ANSYS to work correctly. On the compute nodes, check these variables: ANSYS150_DIR=\\head_node_machine_name\ANSYS Inc\v150\ansys ANSYSLIC_DIR=\\head_node_machine_name\ANSYS Inc\Shared Files\Licensing
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
7
Configuring Distributed ANSYS 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, Inc. licensing. Since the LS-DYNA run will use ANSYS, Inc. 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.
1.2.1. Optional Setup Tasks The tasks explained in this section are optional. They are not required to get Distributed ANSYS to run correctly, but they may be useful for achieving the most usability and efficiency, depending on your system configuration. On Linux systems, you can also set the following environment variables: • ANSYS_NETWORK_START - This is the time, in seconds, to wait before timing out on the start-up of the client (default is 15 seconds). • ANSYS_NETWORK_COMM - This is the time to wait, in seconds, before timing out while communicating with the client machine (default is 5 seconds). • ANS_SEE_RUN_COMMAND - Set this environment variable to 1 to display the actual mpirun command issued from ANSYS. 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 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.
8
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Setting up Distributed ANSYS • 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_
- 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/enus/articles/intel-mpi-library-documentation/. To 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
1.2.2. Using the mpitest Program The mpitest program performs a simple communication test to that the MPI software is set up correctly. The mpitest program should start without errors. If it does not, check your paths, .rhosts file, and permissions; correct any errors, and rerun.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
9
Configuring Distributed ANSYS When running the mpitest program, you must use an even number of nodes. On Linux: For Platform MPI (default), issue the following command: mpitest150 -machines machine1:2
For Intel MPI, issue the following command: mpitest150 -mpi intelmpi -machines machine1:2
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: ansys150 -np 2 -mpitest
Use the following procedure to run a distributed test on Windows using Platform MPI: 1.
Create a file named machines in your local/home directory. Open the machines file in an editor.
2.
Add your master and slave machines in your cluster. For example, in this cluster of two machines, the master machine is gowindows1. List the machine name separately for each core on that machine. For example, if gowindows1 has four cores and gowindows2 has two, the machines file would look like this: gowindows1 gowindows1 gowindows1 gowindows1 gowindows2 gowindows2
3.
From a command prompt, navigate to your working directory. Run the following: ansys150 -mpifile machines -mpitest
10
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Running a Distributed Job
1.2.3. Interconnect Configuration Low-end hardware, such as slow interconnects, will reduce the speed improvements you see in a distributed analysis. For optimal performance, we typically recommend that you use an interconnect with a communication speed of 1000 megabytes/second or higher. Distributed ANSYS s the following interconnects. Not all interconnects are available on all platforms; see http://www.ansys.com//Platform+ for a current list of ed interconnects. Other interconnects may work but have not been tested. • InfiniBand (recommended) • Myrinet • GigE • Ethernet (not recommended) 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 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.
2. Running a Distributed Job For information on running Distributed ANSYS after you have your environment configured, see the Parallel Processing Guide.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
11
12
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Configuring ANSYS CFX Parallel If you have purchased the ANSYS CFX-Solver parallel option, you will need to follow the procedures in this chapter to ensure that s can execute ANSYS CFX jobs in parallel. Several parallel communication methods are available that use either MPI (Message ing Interface) or PVM (Parallel Virtual Machine). Platform-specific versions of MPI are available in some instances. The ANSYS CFX-Solver parallel option is ed on all platforms that the CFX-Solver.
1. ANSYS CFX UNIX Parallel Setup The following are required in order for you to execute ANSYS CFX parallel: • The ANSYS CFX-Solver must be installed on both master and slave nodes. • To run distributed parallel (where slave processes run on a different host to the master process), remote or secure shell access must be available from the master nodes (systems on which parallel runs will be started) to slave nodes (systems on which the ANSYS CFX-Solver will actually run). See Setting Up Remote Access on UNIX/Linux (p. 13), below. • You must have the same name on all systems. • The hostinfo.ccl file should be set up, as described in hostinfo.ccl File (p. 15).
1.1. Setting Up Remote Access on UNIX/Linux Each system that will be used as a slave node must be configured to allow access via remote shell commands from the master node. This can be done globally for all s or on a per- basis. Often, networks where r and rsh or ssh are used frequently will already be configured to allow remote access to all s. If this is the case, nothing more needs to be done.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
13
Configuring ANSYS CFX Parallel The CFX5RSH environment variable is used to select the remote shell command. 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 when you run remote commands.
1.1.1. Testing Remote Access You can test remote access using rsh for a UNIX/Linux slave node using the command: rsh unixhost echo working
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
1.1.2. Global Set Up of rsh This method, which is used to allow remote access for all s, depends on whether NIS is used to maintain netgroups, as well as common and group databases. If this is not the case, then you should to each slave node as root and create a file called /etc/hosts.equiv containing a line: <master>
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 s of ANSYS CFX by the root 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 : +@
14
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX UNIX Parallel Setup where
is the name of a netgroup to which s 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.
1.1.3. Individual Set Up for rsh Individual s can create a file called .rhosts in their home directory on each slave containing a line: <master> <>
where <master> is the hostname of the master and <> is their name on the master. This file should be made readable only by the , for example, by running: chmod 600 ~/.rhosts
1.1.4. Set Up of ssh If you use ssh for remote access, please consult your system documentation on how to set up ssh between machines so that it does not require the to enter a .
1.2. hostinfo.ccl File In order to use the Distributed Parallel mode of ANSYS CFX, the file hostinfo.ccl must exist in the
/config/ directory of the ANSYS CFX installation on the master node and be made readable by all s of the software. This file is a database containing information about the available hosts and where ANSYS CFX has been installed on each of them. The file is used by the ANSYS CFX-Solver when constructing a parallel run. This file is written using the CFX Command Language. It defines a set of HOST DEFINITION objects, one for each available node. For example: SIMULATION CONTROL: EXECUTION CONTROL: PARALLEL HOST LIBRARY: HOST DEFINITION: kangaroo Installation Root = /ansys_inc/v%v/CFX END HOST DEFINITION:wallaby Installation Root = /usr/local/cfx Host Architecture String = linux-amd64 Number of Processors = 16 Relative Speed = 1.7 Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
15
Configuring ANSYS CFX Parallel END HOST DEFINITION: mypc Remote Host Name = my_pc END END END END
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 s 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
directory in which ANSYS CFX is installed. On mixed architectures, 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.
Tip If an individual wants to use a host that is not present in either the hostinfo.ccl in the installation config directory or the 's own version of this file, then the can add this host to the list for
16
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX UNIX Parallel Setup 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
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
/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
/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. The numbers themselves are arbitrary; as a guide you may want to set 1.0 for a 1 GHz 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.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
17
Configuring ANSYS CFX Parallel 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 s only. The following substitutions are made on the string: %r
root directory of the installation
%p
parallel suffix for the executable
%v
version of ANSYS CFX being run
%o
operating system string
%a
architecture subdirectory specification; for example, linux/double
If it is not supplied, this parameter has the default value %r/bin/%a/solver%p.exe
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
Description
-add host[,host,...]
Add information about the named hosts to the file. This assumes that ANSYS CFX is installed in the same directory on each listed host as on the host on which you are running. host may be specified as [@]hostname[:cfx5 root] if the name or the ANSYS CFX installation root directory differs from the local host.
18
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX UNIX Parallel Setup Argument
Description
-benchmark
Runs a standard benchmark case, and fills in the Relative Speed for the local host. The benchmark case will usually take less than 5 minutes to run.
-file file
Use the specified file as the hostinfo.ccl file.
-merge file
Merge host information from the named file.
-no-update
After modifying the file, write back the information available without attempting to fill in any missing pieces.
-strict
Used with -update. Normally, hosts which exist on the network but cannot be connected to with rsh or ssh are included in the resulting file with a comment. This switch will exclude these hosts.
-system
Use the system host file. This is the default.
-update
Updates the specified host information file. If any hosts do not have an architecture specified in the existing hostinfo.ccl file (for example, because it was added via the -add switch), it will connect to the host and query it to fill in the Host Architecture String parameter. This is the default behavior. Note that if the Installation Root parameter is incorrect for the host, it will use the standard system commands to guess a generic architecture string. This can happen if you use -add to include a host with a different installation directory than the local one.
-
Use the per- host file.
1.3. Using Platform MPI (Message ing Interface Library) Most UNIX/Linux systems three parallel run modes: Platform MPI, Intel MPI, and PVM. Platform MPI is the preferred parallel run mode on all the ed ANSYS CFX platforms. Platform MPI s several communication modes including shared memory and networked T/IP (Ethernet), luDAPL, VAPI, OpenFabrics (IB), GM-2, MX (Myrinet), Elan4 (Quadrics), QLogic InfiniPath, and EtherFabric (Level 5 Networks).
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
19
Configuring ANSYS CFX Parallel Platform MPI is automatically installed with ANSYS CFX in the
/tools directory. You do not need a license from Platform to run the ANSYS CFX-Solver using Platform MPI. 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 –u_bind option is used by default and binds processes to cores using a cyclic order. This leads to better performance but, on multi- 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 U on the same node. In this case, the –u_bind argument to mpirun should be removed from the Platform MPI start methods in the
/etc/start_methods.ccl file.
1.3.1. Environment Variables In most cases, the default settings are sufficient and it may not be necessary to set any environment variables. ANSYS CFX uses the environment variable CFX5_PCMPI_DIR to select which Platform MPI installation is used. The default setting points to the version that is automatically installed with ANSYS CFX in the
/../commonfiles/MPI/Platform directory. You can use cfx5info -v to find the current settings for CFX5_PCMPI_DIR and other environment variables. If you want to use a different Platform MPI version, you can install that version in an alternative location and set CFX5_PCMPI_DIR to that location. For distributed parallel runs, Platform MPI must be present at the same location (same absolute path) on all hosts. Typically, this is achieved by using a central ANSYS CFX installation, accessible by all hosts. In order to run a CFX job in distributed parallel using Platform MPI on hosts with different CFX installation locations, you must first install Platform MPI under the same location (same absolute path) on each host, then set the environment variable CFX5_PCMPI_DIR to the location under which Platform MPI was installed. There are several environment variables that can be used to control Platform MPI (documented in the Platform MPI documentation) that may provide additional flexibility not directly accessible through the ANSYS CFX startup scripts. If these environment variables are set the startup scripts automatically set them for your ANSYS CFX runs. Some useful environment variables include:
20
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX UNIX Parallel Setup MPI_REMSH Enables you to change which method is used by Platform MPI to spawn jobs on remote machines. The Platform MPI default is ssh. However, by default the ANSYS CFX software sets this to be the same as the setting used for CFX5RSH, and rsh if CFX5RSH is not set. This variable is applicable only to Linux and HP-UX. MPI_IC_ORDER Enables you to change the default order in which Platform MPI searches for interconnects.
1.3.2. Interconnect Selection Platform MPI start methods use the default communication mode selection built into Platform MPI. The default order in which Platform MPI checks for interconnects is OpenFabric, VAPI, UDAPL, ITAPI, PSM, Myrinet MX, Myrinet GM, Elan, T/IP. If you want to force selection of a specific device, then you can either modify the start command in the etc/start-methods.ccl file and add the necessary command line flags (for example: -GM to force selection of the Myrinet interconnect) or use the appropriate Platform MPI environment variables. Some useful command line options include forcing other interconnect types (T, -HMP, -ELAN, -ITAPI, -VAPI, -UDAPL, and so on), using prun on systems with quadrics (-prun), XC (-srun) and setting the subnet you want to use (-subnet, sometimes useful for selecting particular interconnects as well if your system is configured that way). For some Linux-based cluster environments not ed by Platform MPI, it is possible that the Myrinet, Infiniband or Quadrics hardware drivers are not located where Platform MPI expects. If Platform MPI cannot detect the drivers for fast interconnects, it will generally default back to the lowest speed connection that it can detect (usually T/IP socket communication). The following table gives information on the default search path Platform MPI uses to find drivers for the various communication interfaces: Interconnect
1st attempt
2nd attempt
3rd attempt
Infiniband (IB)
Environment variable MPI_ICLIB_ITAPI
libitapi.so
/usr/voltaire/lib/libitapi.so
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
21
Configuring ANSYS CFX Parallel Interconnect
1st attempt
2nd attempt
3rd attempt
Myrinet (GM)
Environment variable MPI_ICLIB_GM
libgm.so OR libgm32.so
/opt/gm/lib/libgm.so OR /opt/gm/lib/libgm32.so
ELAN
Environment variable MPI_ICLIB_ELAN
libelan.so
none
UDAPL
Environment variable MPI_ICLIB_UDAPL
libdat.so
none
VAPI
Environment variable MPI_ICLIB_VAPI
Environment variable MPI_ICLIB_VAPIDIR
libmtl_common.so, libmpga.so, libmosal.so, libvapi.so
Infinipath
Environment variable MPI_ICLIB_PSM
libpsm_infinipath.so.1
/usr/lib64/ libpsm_infinipath.so.1
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.
1.4. Using Intel MPI (Message ing Interface Library) Intel MPI is available as an alternative parallel run mode on all the ed ANSYS CFX platforms. Intel MPI s several network fabrics including: • Shared memory, typically used for intra-host communication. • DAPL-capable network fabrics, such as Infiniband, iWarp, Dolphin and XPMEM (through DAPL). • T/IP-capable network fabrics, such as Ethernet and InfiniBand (through IPoIB). • TMI-capable network fabrics including Qlogic and Myrianet (through Tag Matching Interface).
22
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX UNIX Parallel Setup • OFA-capable network fabrics including InfiniBand (through OFED verbs). Intel MPI is automatically installed with ANSYS CFX in the
/../commonfiles/ directory. You do not need a license from Intel to run the ANSYS CFX-Solver using Intel MPI. Intel 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 “Intel MPI Local Parallel” or “Intel MPI Distributed Parallel” start method options.
1.4.1. Environment Variables In most cases, the default settings are sufficient and it may not be necessary to set any environment variables. ANSYS CFX uses the environment variable CFX5_IMPI_DIR to select which Intel MPI installation is used. The default setting points to the version that is automatically installed by ANSYS CFX in the
/../commonfiles/MPI/Intel directory. You can use cfx5info -v to find the current settings for CFX5_IMPI_DIR and other environment variables. If you want to use a different Intel MPI version, you can install that version in an alternative location and set CFX5_IMPI_DIR to that location. There are several environment variables that can be used to control Intel MPI that may provide additional flexibility that is not directly accessible through the ANSYS CFX start-up scripts. For example, environment variables are available for network fabric selection (discussed briefly below), process pinning control, and collective operation control. Any of these environment variables can be set by modifying the start command in the etc/start-methods.ccl file and using the Intel MPI options -env and/or -genv (an example of this usage is given in the section on network fabric selection). More detail on all options and environment variables is available in the Intel MPI documentation. Some useful environment variables include those described below. If these environment variables are set the start-up scripts automatically set them for your ANSYS CFX runs. I_MPI_MPD_REMSH Specifies which method is used by Intel MPI to spawn jobs on remote machines. The Intel MPI default is ssh. However, by default the ANSYS CFX software sets
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
23
Configuring ANSYS CFX Parallel this to be the same as the setting used for CFX5RSH, and rsh if CFX5RSH is not set. This variable is applicable only to Linux. I_MPI_FABRICS and I_MPI_FABRICS_LIST Specifies the networks fabrics to be used and the order in which Intel MPI searches for them.
1.4.2. Network Fabrics Selection Intel MPI start methods use the default network fabrics selection built into Intel MPI. The default order in which Intel MPI checks for fabrics is DAPL, OFA, T, TMI. The environment variable I_MPI_FABRICS_LIST controls the search order used by Intel MPI. If you want to force selection of a specific network fabric, then you can either set the I_MPI_FABRICS environment variable or modify the start command in the etc/start-methods.ccl file and add the necessary command line flags (for example: -env IMPI_FABRICS shm:dapl to select the combination of shared memory and DAPL fabrics) . The following table shows how Intel MPI searches for drivers for the various network fabrics: Interconnect
1st attempt
2nd attempt
shm
N/A
N/A
DAPL
Environment variable I_MPI_DAT_LIBRARY
libdat.so or libdat.so.1 for DAPL 1.2 providers and libdat2.so or libdat2.so.1 for DAPL 1.2 providers
T
N/A
N/A
TMI
Environment variable I_MPI_TMI_LIBRARY
libtmi.so
OFA
Environment variable I_MPI_OFA_LIBRARY
libibverbs.so
For example, Intel MPI expects that the DAT shared library for the DAPL network fabric is located either in the default library search path or in a specific location if a full path is specified. If the shared library cannot be found, Intel MPI will not take advantage of the DAPL network fabric. To fix this, you will have to install
24
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup the shared libraries into the correct location or set the environment variable I_MPI_DAT_LIBRARY to point to the correct DAT shared library. There are other environment variables not documented here which provide further control over network fabrics selection. These are described in the Intel MPI documentation.
2. ANSYS CFX Windows Parallel Setup ANSYS CFX-Solver must be installed on all hosts that are to be used for a parallel run. Local parallel runs use Platform MPI (default) or Intel MPI for communication. For local parallel runs, the MPI service must be installed and running in order to use Intel MPI, but not Platform MPI. To run distributed parallel (where slave processes run on hosts other than the host with the master process), the desired MPI service must be installed, configured, and started on all involved hosts. In addition, you must make host information available to the master host. These tasks are discussed in Setting Up Platform MPI for Windows (p. 30) or Setting Up Intel MPI for Windows (p. 32).
2.1. Parallel Setup for Windows When the ANSYS CFX distributed parallel starts, it needs to know where to find the CFX-Solver executable on every host and which solver executable it should run (for example, 64-bit or 32-bit). You must make host information available to the master host by one of these mechanisms: • (Preferred mechanism) The hostinfo.ccl file on the master host is configured with any required information about slave hosts. The hostinfo.ccl file s information such as the Installation Root and Host Architecture String parameters for hosts used for distributed parallel runs. The hostinfo.ccl file is created automatically when installing ANSYS CFX. By default, it contains details of the host on which it is installed. For hosts that have the same architecture as the machine that runs the master process, registration in the hostinfo.ccl file is optional; if a particular host is not specified then all of its properties are assumed to be the same as those of the machine that runs the master process. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
25
Configuring ANSYS CFX Parallel For machines that have a machine architecture different from the machine that runs the master process, the hostinfo.ccl file must include information about the properties that differ from those of the machine that runs the master process. See hostinfo.ccl file (p. 26) for more information. If your machine previously had ANSYS CFX installed, then ensure that remote host interrogation is disabled either by deleting the environment variable CFX_SOLVE_DISABLE_REMOTE_CHECKS or (equivalently) by setting that environment variable to a value of 1. This environment variable can be specified in your Windows environment or your cfx5rc.txt file or site cfx5rc.txt file. See Resources Set in cfx5rc Files in the CFX Introduction for details. • 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 host (the system on which parallel runs will be started) to slave hosts (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 . 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. You will also have to set the environment variable CFX_SOLVE_DISABLE_RE MOTE_CHECKS to a value of 0; this enables remote host interrogation. This environment variable can be specified in your Windows environment or your cfx5rc.txt file or site cfx5rc.txt file. See Resources Set in cfx5rc Files in the CFX Introduction for details.
2.1.1. hostinfo.ccl file In order to use the Distributed Parallel modes effectively, the file hostinfo.ccl must exist in the
/config/ directory of the ANSYS CFX installation on the master host and be made readable by all s of the software. This file is a database containing information about the available hosts and where ANSYS 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 host. For example:
26
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup 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: hostname1 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
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: Installation Root This is set to the
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.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
27
Configuring ANSYS CFX Parallel 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 host. These strings can be obtained by giving the command
/bin/cfx5info -os on the host in question. If the shorter
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 1 GHz 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 s only. The following substitutions are made on the string:
28
%r
root directory of the installation
%p
parallel suffix for the executable
%v
version of ANSYS CFX being run
%o
operating system string
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup %a
architecture subdirectory specification, for example, linux/double
If it is not supplied, this parameter has the default value %r/bin/%a/solver%p.exe
2.1.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. Argument
Description
-add host[,host,...]
Add information about the named host(s) to the file. This assumes that ANSYS CFX is installed in the same directory on each listed host as on the host on which you are running. host may be specified as [@]hostname[:cfx5 root] if the 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.
-file file
Use the specified file as the hostinfo.ccl file.
-merge file
Merge host information from the named file.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
29
Configuring ANSYS CFX Parallel Argument
Description
-no-update
After modifying the file, write back the information available without attempting to fill in any missing pieces.
-strict
Used with -update. Normally, hosts that exist on the network but cannot be connected to with rsh or ssh are included in the resulting file with a comment. This switch will exclude these hosts.
-system
Use the system host file. This is the default.
-update
Updates the specified host information file. If any hosts do not have an architecture specified in the existing hostinfo.ccl file (for example, because it was added via the -add switch), it will connect to the host and query it to fill in the Host Architecture String parameter. This is the default behavior. Note that if the Installation Root parameter is incorrect for the host, it will use the standard system commands to guess a generic architecture string. This can happen if you use -add to include a host with a different installation directory than the local one.
-
Use the per- host file.
2.2. Setting Up Platform MPI for Windows To install, configure, and start the Platform MPI service on a given host, install Platform-MPI using the installation launcher. After installing Platform MPI in this way, the software is configured and started. For more information, see Product Installation with Client Licensing.
Note • Platform MPI service requires that all hosts are on the same domain and that the has an for that domain. • Platform MPI uses the –u_bind option by default and binds processes to cores using a cyclic order. This leads to better performance but, on multi- clusters having scheduling systems that do not enforce exclusive use of cluster nodes, this may cause problems because multiple jobs may be bound to the same U on the same node. In this case,
30
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup the –u_bind argument to mpirun should be removed from the Platform MPI start methods in the start_methods.ccl file in the
/etc directory.
2.2.1. Enabling Platform MPI Parallel Through a Windows Firewall To enable Platform MPI parallel processing through a Windows firewall: 1.
Click Start and select Control .
2.
On the Control dialog box, double-click Security Center.
3.
Click Windows Firewall.
4.
On the Windows Firewall dialog box, click the Exceptions tab and then click Add Program.
5.
Browse to the following programs: • For Platform MPI: –
\v150\CFX\bin\
\solver-pcmpi.exe –
\v150\CFX\bin\
\double\solverpcmpi.exe –
\v150\commonfiles\MPI\Platform\
\winx64\sbin\pcmpiwin32service.exe –
\v150\commonfiles\MPI\Platform\
\winx64\bin\mpirun.exe –
\v150\commonfiles\MPI\Platform\
\winx64\bin\mpid.exe The Platform MPI service listens to port 8636 by default. This can be changed during installation of Platform MPI from the product installer or using the following command: cfx5parallel -setportkey-pcmpi-service
In all cases, you must ensure the chosen port is accessible.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
31
Configuring ANSYS CFX Parallel After each selection, click OK to add that program to the list of programs that are permitted to through the Windows firewall. 6.
When you are finished, click OK to close the Windows Firewall dialog box, then close the Windows Security Center and the Control .
2.3. Setting Up Intel MPI for Windows To install, configure, and start the Intel MPI service on a given host, install IntelMPI using the installation launcher. After installing Intel MPI in this way, the software is configured and started. For more information, see Product Installation with Client Licensing.
2.3.1. Setting Up Intel MPI Authentication Intel MPI can operate under three levels of authentication. Each method requires some setup.
2.3.1.1. Authentication 1.
From the launcher, select Tools > Command Line.
2.
Enter: cfx5parallel --impi-
A prompt will appear asking for a name which is valid on all machines. This must include a domain where needed. For example, DOMAIN\. A prompt will then appear asking for a . This must be then entered again for confirmation.
2.3.1.2. Delegated Authentication This is a domain based authorization with delegation ability. Create an environment variable I_MPI_AUTH_METHOD=delegate.
2.3.1.3. Impersonated Authentication This is a domain based authorization with delegation ability. Create an environment variable I_MPI_AUTH_METHOD=impersonate.
32
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup
2.3.2. Enabling Intel MPI Parallel Through a Windows Firewall To enable Intel MPI parallel processing through a Windows firewall: 1.
Click Start and select Control .
2.
On the Control dialog box, double-click Security Center.
3.
Click Windows Firewall.
4.
On the Windows Firewall dialog box, click the Exceptions tab and then click Add Program.
5.
Browse to the following programs: • For Intel MPI: –
\bin\
\solver-impi.exe –
\bin\
\double\solver-impi.exe –
\..\commonfiles\MPI\Intel\
\<winx64|win32>\bin\smpd.exe –
\..\commonfiles\MPI\Intel\
\<winx64|win32>\bin\mpiexec.exe After each selection, click OK to add that program to the list of programs that are permitted to through the Windows firewall.
6.
When you are finished, click OK to close the Windows Firewall dialog box, then close the Windows Security Center and the Control .
2.4. Setting up and Running CCS 2003/HPC 2008 To set up running CCS 2003/HPC2008 steps must be taken so that: • The installed software is on a shared location that can be accessed by all hosts • The working directory is a shared location • A mechanism is provided so that all local paths can be properly resolved.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
33
Configuring ANSYS CFX Parallel For running ANSYS CFX with CCS 2003/HPC 2008, this can be accomplished by following the steps below ( in angle brackets < > should be replaced with the required entry): 1.
Install ANSYS Licensing, ANSYS Workbench and ANSYS CFX on the head node.
2.
Share the installation directory. For example, on a typical installation share C:\Program Files\ANSYS Inc as \\
\ANSYS Inc where
is the name of the head node.
3.
Install the ANSYS prerequisites on all of the cluster nodes. You can do this either by: • Executing the following commands directly on each node: \\
\ANSYS Inc\v150\prereq\vcredist_x64_SP1.exe \\
\ANSYS Inc\v150\prereq\vcredist_x86_SP1.exe \\
\ANSYS Inc\v150\prereq\2008vcredist_x64.exe /qn
• or by using the clusrun command on the headnode to execute these commands on all the nodes (refer to your Windows CCS or HPC documentation for details). 4.
Share the working directory on the head node. For example, share C:\s\<Name> as \\
\<Name> where <Name> is the name. Alternatively, share the working directory of the submitting machine. For example share C:\s\<Name> on the submitting machine as \\<SubmitHostName>\<Name> 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 from Microsoft. This sets the C_HOME environment variable, enabling the ‘Submit to Windows CCS or HPC Queue’ start method in the CFX-Solver Manager.
6.
On the submitting machine, create %PROFILE%\.cfx\cfxccs_options.txt with the following content to define the required CCS options: PATHMAP=C:\Program Files\Ansys Inc;\\
\Ansys Inc
34
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
ANSYS CFX Windows Parallel Setup PATHMAP= C:\s\<Name>;\\
\< Name> or PATHMAP=C:\s\<Name>;\\<SubmitHost Name>\<Name> if the working directory has been shared from the submitting machine. CLUSTERHOST=
to be used when submitting jobs from machines other than the headnode. =
\
to be used when submitting jobs using different credentials, where
and
are the domain and names of another , 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 Network Installation and Product Configuration.
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.
2.
Ensure that the Run Mode on the Run Definition tab of the CFX-Solver Manager is set to Submit to Windows CCS or HPC Queue. Otherwise, set up the CFX-Solver Manager as normal.
3.
Click Start Run on the CFX-Solver Manager to start the simulation. The first time a simulation is run, supply the required credentials that are prompted (this prompt may appear behind the CFX-Solver Manager window). You may elect to have these credentials saved to avoid repeated prompting of these credentials.
Note 1. For simulations making use of Fortran, you must ensure that the Fortran is linked against the solver-msmpi.lib. This is done by making the appropriate changes to cfx5mkext.ccl. 2. %PROFILE% is typically C:\Documents and Settings\<name>\ on XP, or C:\s\<Name> on Server HPC 2008. Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
35
Configuring ANSYS CFX Parallel 3. To use on ANSYS Workbench with Parameters and Design Points, start the CFX-Solver Manager ensure that the Run Mode on the Run Definition tab of the CFX-Solver Manager is set to Submit to Windows CCS or HPC Queue, set the number of processes, then click Save Settings. When the clicks Update all Design Points each parameter or design point will be solved on the cluster.
36
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and s.
Related Documents 2w1qw
Ansys - Installation And Licensing Documentation 3q6u2r
November 2021 0
Ansys, Inc. Licensing Guide 6s206r
October 2022 0
Ansys Inc. Licensing Guide 686f6z
October 2022 0
Ansys, Inc. Licensing Guide.pdf 6b3h1o
June 2021 0
Ansys Licensing Guide 15872
December 2021 0
Synthesis 10 Installation And Licensing 2h2k2c
February 2022 0