162
ANSYS, Inc. Installation and Licensing Tutorials Release 14.5 ANSYS, Inc. October 2012 Southpointe 275 Technology Drive 000406 Canonsburg, PA 15317 ANSYS, Inc. is certified to ISO 9001:2008. [email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494

ANSYS Installation Tutorial

Embed Size (px)

DESCRIPTION

ANSYS Installation Tutorial

Citation preview

Page 1: ANSYS Installation Tutorial

ANSYS, Inc. Installation and Licensing

Tutorials

Release 14.5ANSYS, Inc.

October 2012Southpointe

275 Technology Drive 000406

Canonsburg, PA 15317 ANSYS, Inc. is

certified to ISO

9001:[email protected]

http://www.ansys.com

(T) 724-746-3304

(F) 724-514-9494

Page 2: ANSYS Installation Tutorial

Copyright and Trademark Information

© 2012 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 registered trademarks or trademarks of ANSYS, Inc. or its subsidi-

aries 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 affiliates under a software license agreement that

contains provisions concerning non-disclosure, copying, length and nature of use, com-

pliance with exporting laws, warranties, disclaimers, limitations of liability, and remedies,

and other provisions. The software products and documentation may be used, disclosed,

transferred, or copied only in accordance with the terms and conditions of that software

license agreement.

ANSYS, Inc. is certified to ISO 9001:2008.

U.S. Government Rights

For U.S. Government users, except as specifically granted by the ANSYS, Inc. software li-

cense 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 contact ANSYS, Inc.

Published in the U.S.A.

Page 3: ANSYS Installation Tutorial

Table of Contents

Installing ANSYS, Inc. Products and Licensing on One Windows Machine .... . . . . . . . . . . . . . . . . 1

Installing ANSYS, Inc. Products on One Machine and a License Server on Another

Machine .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Installing ANSYS, Inc. Products and Licensing on One Linux Machine .... . . . . . . . . . . . . . . . . . . . . 29

Installing Redundant (Triad) License Servers ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

Configuring Native RSM to Integrate a Windows Client with Linux LSF or PBS Cluster

and Running via FLUENT, CFX, or Mechanical ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57

Configuring Remote Solve Manager to Use Microsoft HPC and Running via Mechan-

ical and/or Mechanical APDL .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

Using the Remote Solve Manager Setup Wizard to Configure ANSYS® CFX® and

Workbench to Submit Solve Jobs to HPC Cluster ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

Using the Remote Solve Manager Setup Wizard to Configure ANSYS® FLUENT® and

Workbench to Submit Solve Jobs to HPC Cluster ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131

iiiRelease 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 4: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.iv

Page 5: ANSYS Installation Tutorial

Installing ANSYS, Inc. Products and Licensing on One

Windows Machine

Introduction

This tutorial walks you through the most basic installation and licensing config-

uration: installing ANSYS, Inc. products and licensing on one Windows machine.

This tutorial assumes that no ANSYS, Inc. products or licensing have previously

been installed on this machine or, if products have been installed, all components,

including licensing, have been completely removed.

If this scenario does not suit your needs, please see the other tutorials available

from the Download Center at https://www1.ansys.com/customer/.

You can follow this tutorial while actually installing the products and setting up

the license server. To do so, simply make the selections that are pertinent to you

or insert your specific information where noted.

Before You Begin

We recommend that you have the following information available before you

begin this tutorial:

• An account on the ANSYS Customer Portal. If you do not have an account, you

may register at https://www1.ansys.com/customer/ to receive your own account.

• Your license file from ANSYS, Inc., saved to a temporary directory.

• Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect. Defaults

are 1055 and 2325, respectively. To verify that these port numbers are available,

open a command line and enter the following command:

netstat -a -p tcp

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.

1Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 6: ANSYS Installation Tutorial

• Your local machine's name, to specify as the license server.

You should also verify that you are running on a supported platform. ANSYS,

Inc. supports both 32- and 64-bit systems running Windows XP, Vista, and Win-

dows 7. For detailed information on which products are supported on which

platforms, please see the ANSYS, Inc. Windows Installation Guide, which is available

for download when you download ANSYS, Inc. products or as a printed manual

if you receive installation media.

Verify that you have sufficient disk space to download, uncompress, and install

the products you will be installing. Approximate disk space requirements for

each product are shown in the ANSYS, Inc. Windows 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 Support Specialist

will respond to assist you.

This tutorial is divided into three sets of instructions:

• Product Download Instructions: This set of instructions describes the download

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.

For this tutorial, both the product and the license manager will be installed on

the same machine. You must complete both the client licensing portion and the li-

cense manager installation in order to run ANSYS, Inc. products.

Product Download Instructions

1. From the Customer Portal, click on Download Software.

2. The ANSYS Download Center Wizard page displays an overview of the download

process. Review the overview and click Next.

3. For the Download Type, choose Current Release. Click Next Step.

4. Choose the hardware platform for which you want to download installation

packages. You can select only one platform at a time. You will need to repeat

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.2

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 7: ANSYS Installation Tutorial

the download procedure for each platform that you want to download. Click

Next Step.

5. Choose the products you wish to download. Products are listed by product names

that correspond to the licensing product names. You can choose to list products

grouped by product group or alphabetically. All products that you currently have

licensed are highlighted and pre-selected for your convenience. After you have

selected all products that you wish to download, click Next Step.

6. The license manager, product, and documentation packages that you've selected

to download are listed. Click on each link provided to begin the downloads.

7. After the downloads have completed, uncompress each package using standard

uncompression utilities for your specific platform. We strongly recommend that

you extract the files into a new, temporary directory.

8. Begin the product installation as described in the next section.

Product Installation with Client Licensing

1. Navigate to the directory where you extracted the files. Double-click the

setup.exe file. The ANSYS, Inc. Installation Manager appears.

3Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 8: ANSYS Installation Tutorial

2. Select the language you want to use. English is the default.

3. Click the Install ANSYS Products button.

4. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

5. 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 direct-

ory.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.4

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 9: ANSYS Installation Tutorial

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.

Click Next.

6. All products available in the installation package(s) you downloaded 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.

5Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 10: ANSYS Installation Tutorial

If you select AutoCAD, Catia V5, Inventor, NX, Creo Parametric, Solid Edge,

SolidWorks, ICEM CFD Creo Parametric, or ICEM CFD NX, you will have addi-

tional installation steps. This tutorial assumes you are not installing these

CAD packages. Deselect all of these options before continuing.

If you do want to install these products, please see the section Installing

ANSYS, Inc. Products in the ANSYS, Inc. Windows Installation Guide for more

information on the additional steps required for these packages.

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 verify that all

products were installed correctly. Installation log files are written to the in-

stallation directory.

Select/deselect 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. The more recent set of files will be 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 in-

cluded with the installation package will be used.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.6

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 11: ANSYS Installation Tutorial

Click Next.

8. A summary screen appears that lists everything you have chosen to install. Review

this list carefully to verify that it is correct. If it is not, click Back to go to earlier

screens to correct the product selections.

When you have verified the product selections, click Next. When you click

Next on this screen, the installation will begin.

7Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 12: ANSYS Installation Tutorial

9. As each product package is uncompressed and installed, it will display in the

status window. 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.

10. After all products are installed and configured, the client licensing needs to be

run. Click Next to begin the client licensing configuration. A Licensing Client In-

stallation Configuration window appears.

Licensing settings are recorded in a configuration file named an-syslmd.ini . This tutorial assumes that licensing has not previously been

installed on this machine and therefore the ansyslmd.ini file does not

exist. 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. In this tutorial, you will be configuring your

local 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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.8

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 13: ANSYS Installation Tutorial

12. The product installation window reappears with a message noting that the in-

stallation is complete. Click Next.

13. On the next screen, you can complete the survey or you can click Finish imme-

diately to skip the survey and complete the product installation.

The ANSYS, Inc. Installation Manager appears. You must complete the License

Manager installation (next) to run ANSYS, Inc. products.

License Manager Installation

Because you will not be using a network server, you must install and configure

the ANSYS, Inc. License Manager on your local machine. The License Manager

controls access to the ANSYS, Inc. products you have purchased. You must

complete the License Manager installation to run ANSYS, Inc. products.

1. On the ANSYS, Inc. Installation Manager screen, 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. This tutorial assumes that you have not previously installed

the products or the licensing on this machine, and you are not pointing to a

9Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 14: ANSYS Installation Tutorial

network license server machine. You may safely ignore this message and click

OK.

3. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

4. The directory where the license manager will be installed is shown in the Install

Directory field. Accept the default directory and click Next.

5. The ANSYS, Inc. License Manager is selected as the only product available to in-

stall. 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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.10

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 15: ANSYS Installation Tutorial

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, verify 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 first 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 locator dialog box to navigate to the location of the license

file.

11. Click Continue to configure the local machine as the license server (the default

action).

11Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 16: ANSYS Installation Tutorial

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 Manager.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.12

Installing ANSYS, Inc. Products and Licensing on One Windows

Machine

Page 17: ANSYS Installation Tutorial

17. Choose Start> Programs> ANSYS 14.5> <product> to launch the ANSYS, Inc.

products that you have installed.

13Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 18: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.14

Page 19: ANSYS Installation Tutorial

Installing ANSYS, Inc. Products on One Machine and

a License Server on Another Machine

Introduction

This tutorial walks you through 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. This tutorial assumes that no ANSYS,

Inc. products or licensing have previously been installed on these machines or,

if products have been installed, all components, including licensing, have been

completely removed.

If this scenario does not suit your needs, please see the other tutorials available

on the Download Center at https://www1.ansys.com/customer/.

You can follow this tutorial while actually installing the products and setting up

the license server. To do so, simply make the selections that are pertinent to you

or insert your specific information where noted.

Before You Begin

We recommend that you have the following information available before you

begin this tutorial:

• An account on the ANSYS Customer Portal. If you do not have an account, you

may register at https://www1.ansys.com/customer/ to receive your own account.

• Your license file from ANSYS, Inc., saved to a temporary directory.

• Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect on

your license server machine. Defaults are 1055 and 2325, respectively. To verify

that these port numbers are available, open a command line on the server machine

and enter the following command:

netstat -a -p tcp

15Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 20: ANSYS Installation Tutorial

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 name of the machine that will act as a license server.

You should also verify that you are running on a supported platform. ANSYS,

Inc. supports both 32- and 64-bit systems running Windows XP, Vista, and Win-

dows 7. For detailed information on which products are supported on which

platforms, please see the ANSYS, Inc. Windows Installation Guide, which is available

for download when you download ANSYS, Inc. products or as a printed manual

if you receive installation media.

Verify that you have sufficient disk space to download, uncompress, and install

the products you will be installing. Approximate disk space requirements for

each product are shown in the ANSYS, Inc. Windows 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 Support Specialist

will respond to assist you.

This tutorial is divided into three sets of instructions:

• Product Download Instructions: This set of instructions describes the download

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.

For this tutorial, 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.

Product Download Instructions

1. From the Customer Portal, click on Download Software.

2. The ANSYS Download Center Wizard page displays an overview of the download

process. Review the overview and click Next.

3. For the Download Type, choose Current Release. Click Next Step.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.16

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 21: ANSYS Installation Tutorial

4. Choose the hardware platform for which you want to download installation

packages. You can select only one platform at a time. You will need to repeat

the download procedure for each platform that you want to download. Click

Next Step.

5. Choose the products you wish to download. Products are listed by product names

that correspond to the licensing product names. You can choose to list products

grouped by product group or alphabetically. All products that you currently have

licensed are highlighted and pre-selected for your convenience. After you have

selected all products that you wish to download, click Next Step.

6. The license manager, product, and documentation packages that you've selected

to download are listed. Click on each link provided to begin the downloads.

7. After the downloads have completed, uncompress each package using standard

uncompression utilities for your specific platform. We strongly recommend that

you extract the files into a new, temporary directory.

8. Begin the product installation as described in the next section.

Product Installation with Client Licensing

1. Navigate to the directory where you extracted the files. Double-click the

setup.exe file. The ANSYS, Inc. Installation Manager appears.

17Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 22: ANSYS Installation Tutorial

2. Select the language you want to use. English is the default.

3. Click the Install ANSYS Products button.

4. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.18

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 23: ANSYS Installation Tutorial

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 C:\Program Files\ANSYS Inc . We recommend using the default direct-

ory.

19Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 24: ANSYS Installation Tutorial

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.

Click Next.

6. All products available in the installation package(s) you downloaded 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,

SolidWorks, ICEM CFD Creo Parametric, or ICEM CFD NX, you will have addi-

tional installation steps. This tutorial assumes you are not installing these

CAD packages. Deselect all of these options before continuing.

If you do want to install these products, please see the section Installing

ANSYS, Inc. Products in the ANSYS, Inc. Windows Installation Guide for more

information on the additional steps required for these packages.

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 verify that all

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.20

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 25: ANSYS Installation Tutorial

products were installed correctly. Installation log files are written to the in-

stallation 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. The more recent set of files will be 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 in-

cluded with the installation package will be used.

Click Next.

8. A summary screen appears that lists everything you have chosen to install. Review

this list carefully to verify that it is correct. If it is not, click Back to go to earlier

screens to correct the product selections.

21Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 26: ANSYS Installation Tutorial

When you have verified the product selections, click Next. When you click

Next on this screen, the installation will begin.

9. As each product package is uncompressed and installed, it will display in the

status window. 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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.22

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 27: ANSYS Installation Tutorial

10. After all products are installed and configured, the client licensing needs to be

run. Click Next to begin the client licensing configuration. A Licensing Client In-

stallation Configuration window appears.

Licensing settings are recorded in a configuration file named an-syslmd.ini . This tutorial assumes that licensing has not previously been

installed on this machine and therefore the ansyslmd.ini file does not

exist. 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 of the machine acting as a license server. Type

in that server machine name and click OK.

11. When the client licensing installation has completed, click Exit.

12. The product installation window reappears with a message noting that the in-

stallation is complete. Click Next.

13. On the next screen, you can complete the survey or you can click Finish imme-

diately to skip the survey and complete the product installation.

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. Double-click the setup.exe file. The ANSYS, Inc. Installation Manager

appears. Click Install ANSYS License Manager.

23Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 28: ANSYS Installation Tutorial

2. You will see a warning stating that if the license manager is currently running,

it will be shut down. This tutorial assumes that you have not previously installed

the products or the licensing on this machine, and are not already running the

ANSYS, Inc. License Manager on this machine. You may safely ignore this message

and click OK.

3. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

4. The directory where the license manager will be installed is shown in the Install

Directory field. Accept the default directory and click Next.

5. The ANSYS, Inc. License Manager is selected as the only product available to in-

stall. As with the product installation, the required and available disk space

numbers are shown. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.24

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 29: ANSYS Installation Tutorial

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, verify that the Type of License Server selected at the bottom of the

screen is Run the ANSYS Licensing Interconnect with FLEXlm (default). Click

Continue.

25Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 30: ANSYS Installation Tutorial

10. The first 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.

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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.26

Installing ANSYS, Inc. Products on One Machine and a License

Server on Another Machine

Page 31: ANSYS Installation Tutorial

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 Manager.

17. From the machine on which the products were installed, choose Start> Pro-

grams> ANSYS 14.5> <product> to launch the ANSYS, Inc. products that you

have installed.

27Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 32: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.28

Page 33: ANSYS Installation Tutorial

Installing ANSYS, Inc. Products and Licensing on One

Linux Machine

Introduction

This tutorial walks you through installing ANSYS, Inc. products and licensing on

one Linux machine. This tutorial assumes that no ANSYS, Inc. products or licensing

have previously been installed on this machine or, if products have been installed,

all components, including licensing, have been completely removed.

If this scenario does not suit your needs, please see the other tutorials available

on the Download Center at https://www1.ansys.com/customer/.

You can follow this tutorial while actually installing the products and setting up

the license server. To do so, simply make the selections that are pertinent to you

or insert your specific information where noted.

Before You Begin

We recommend that you have the following information available before you

begin this tutorial:

• An account on the ANSYS Customer Portal. If you do not have an account, you

may register at https://www1.ansys.com/customer/ to receive your own account.

• Your license file from ANSYS, Inc., saved to a temporary directory.

• Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect. Defaults

are 1055 and 2325, respectively. To verify that these port numbers are available,

open a command line and enter the following command:

netstat -a -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.

29Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 34: ANSYS Installation Tutorial

• Your local machine's name, to specify as the license server.

You should also verify that you are running on a supported platform. ANSYS,

Inc. products support 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

supported on which platforms, please see the ANSYS, Inc. Linux Installation Guide,

which is available for download when you download ANSYS, Inc. products or as

a printed manual if you receive installation media.

Verify that you have sufficient disk space to download, 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 Support Specialist

will respond to assist you.

This tutorial is divided into three sets of instructions:

• Product Download Instructions: This set of instructions describes the download

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.

For this tutorial, both the product and the license manager will be installed on

the same machine. You must complete both the client licensing portion and the li-

cense manager installation in order to run ANSYS, Inc. products.

Product Download Instructions

1. From the Customer Portal, click on Download Software.

2. The ANSYS Download Center Wizard page displays an overview of the download

process. Review the overview and click Next.

3. For the Download Type, choose Current Release. Click Next Step.

4. Choose the hardware platform for which you want to download installation

packages. You can select only one platform at a time. You will need to repeat

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.30

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 35: ANSYS Installation Tutorial

the download procedure for each platform that you want to download. Click

Next Step.

Note

If you are not sure which platform you are using, click Which

UNIX/Linux platform am I using? to download a small program

that identifies your hardware platform. Run this program on all

of your UNIX/Linux platforms to see which platform(s) you need

to download. The output of this program will match the platform

names listed on the Download Center.

5. Choose the products you wish to download. Products are listed by product names

that correspond to the licensing product names. You can choose to list products

grouped by product group or alphabetically. All products that you currently have

licensed are highlighted and pre-selected for your convenience. After you have

selected all products that you wish to download, click Next Step.

6. The license manager, product, and documentation packages that you've selected

to download are listed. Click on each link provided to begin the downloads.

7. After the downloads have completed, uncompress each package using standard

uncompression utilities for your specific platform. We strongly recommend that

you extract the files into a new, temporary directory.

8. Begin the product installation as described in the next section.

Product Installation with Client Licensing

1. Navigate to the directory where you extracted the files. Run ./INSTALL .

2. Select the language you want to use. English is the default.

31Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 36: ANSYS Installation Tutorial

3. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.32

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 37: ANSYS Installation Tutorial

4. 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.

Click Next.

33Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 38: ANSYS Installation Tutorial

5. All products available in the installation package(s) you downloaded 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 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.34

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 39: ANSYS Installation Tutorial

If you select NX or ICEM CFD NX, you will have additional installation steps.

This tutorial assumes you are not installing these CAD packages. Deselect

these options before continuing.

If you do want to install these products, please see the section Installing

ANSYS, Inc. Products in the ANSYS, Inc. Linux Installation Guide for more in-

formation on the additional steps required for these packages.

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 verify that all

products were installed correctly. Installation log files are written to the in-

stallation directory.

Select the products you want to install and click Next.

6. 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 installed. This

tutorial assumes that this is the first time you are installing ANSYS, Inc. products

35Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 40: ANSYS Installation Tutorial

on this machine; therefore, no licensing files will already exist and the files in-

cluded with the installation package will be used.

Click Next.

7. A summary screen appears that lists everything you have chosen to install. Review

this list carefully to verify that it is correct. If it is not, click Back to go to earlier

screens to correct the product selections. When you click Next on this screen,

the installation will begin.

When you have verified the product selections, click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.36

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 41: ANSYS Installation Tutorial

8. As each product package is uncompressed and installed, it will display in the

status window. 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.

9. After all products are installed and configured, the client licensing needs to be

run. Click Next to begin the client licensing configuration. A Licensing Client

Installation Configuration window appears.

Licensing settings are recorded in a configuration file named an-syslmd.ini . This tutorial assumes that licensing has not previously been

installed on this machine and therefore the ansyslmd.ini file does not

exist. 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. In this tutorial, you will be configuring your

machine to act as a license server. Type in your machine name and click

OK.

37Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 42: ANSYS Installation Tutorial

10. When the client licensing installation has completed, click Exit on the Licensing

Client Installation Configuration window.

11. The product installation window reappears with a message noting that the in-

stallation is complete. Click Next.

12. On the next screen, you can complete the survey or you can click Finish imme-

diately to skip the survey and complete the product installation.

License Manager Installation

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 .

2. You will see a warning stating that if the license manager is currently running,

it will be shut down. This tutorial 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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.38

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 43: ANSYS Installation Tutorial

4. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click 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-

fault is /ansys_inc . We recommend using the default directory. You must use

the same directory where the products were installed.

6. The ANSYS, Inc. License Manager is selected as the only product available to in-

stall. 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 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.

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.

9. When the license manager installation completes, click Next to begin the license

manager configuration.

39Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 44: ANSYS Installation Tutorial

10. The License Server Installation Configuration window appears, and several

configuration steps will be completed. When the ANSYS, Inc. License Wizard

appears, verify 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 first 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.

12. Click Continue to configure the local machine as the license server (the default

action).

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.40

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 45: ANSYS Installation Tutorial

13. Click Continue to start the ANSYS, Inc. License Manager.

41Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 46: ANSYS Installation Tutorial

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

How to LaunchApplication

/shared/postrel/ansys_inc/v145/cfdpostCFD Post

/shared/postrel/an-sys_inc/v145/CFX/bin/< productname>

CFX

Where <productname> can be cfx5, cfx5launch,

cfx5pre, cfxsolve, or cfx5post.

/shared/postrel/ansys_inc/v145/fluent/bin/flu-ent

FLUENT

/shared/postrel/ansys_inc/v145/icemcfd/icemcfdICEM-CFD

/shared/postrel/ansys_inc/v145/icepak/icepakICEPAK

/shared/postrel/ansys_inc/v145/poly-flow/bin/polyflow

PolyFlow

/shared/postrel/ansys_inc/v145Tur-boGrid/bin/cfxtg

Turbogrid

/shared/postrel/ansys_inc/v145/Frame-work/bin/Linux64/runwb2 or /shared/postrel/an-sys_inc/v145/Framework/bin/Linux32/runwb2

Workbench

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.42

Installing ANSYS, Inc. Products and Licensing on One Linux Machine

Page 47: ANSYS Installation Tutorial

Installing Redundant (Triad) License Servers

Introduction

This tutorial walks you through installing the ANSYS, Inc. License Manager on

three Linux machines which will act as redundant (triad) license servers, and

then installing the ANSYS, Inc. products and client licensing on each end user's

machine and configuring users to point to these servers. This tutorial assumes

that no ANSYS, Inc. products or licensing have previously been installed on these

machines or, if products have been installed, all components, including licensing,

have been completely removed. This tutorial is intended to be used by a site's

system administrator or IT professional who will be installing and configuring

products and licensing for site-wide use.

If this scenario does not suit your needs, please see the other tutorials available

on the Download Center at https://www1.ansys.com/customer/.

You can follow this tutorial while actually installing the products and setting up

the license servers. To do so, simply make the selections that are pertinent to

you or insert your specific information where noted.

Before You Begin

We recommend that you have the following information available before you

begin this tutorial:

• An account on the ANSYS Customer Portal. If you do not have an account, you

may register at https://www1.ansys.com/customer/ to receive your own account.

• Your license file from ANSYS, Inc., saved to a temporary directory.

• Open port numbers for both the FLEXlm and ANSYS Licensing Interconnect on

your license server machine. Defaults are 1055 and 2325, respectively. To verify

that these port numbers are available, open a command line on the server machine

and enter the following command:

netstat -a -t

43Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 48: ANSYS Installation Tutorial

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 name of the machines that will act as license servers.

You should also verify that you are running on a supported platform. ANSYS,

Inc. products support 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

supported on which platforms, please see the ANSYS, Inc. Linux Installation Guide,

which is available for download when you download ANSYS, Inc. products or as

a printed manual if you receive installation media. The ANSYS, Inc. License

Manager supports both 32- and 64-bit Linux systems.

Verify that you have sufficient disk space to download, 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 Support Specialist

will respond to assist you.

This tutorial is divided into three sets of instructions:

• Product Download Instructions: This set of instructions describes the download

and extraction process.

• License Manager Installation: This set of instructions describes the license manager

installation and triad configuration.

• Product Installation with Client Licensing: This set of instructions describes the

product installation, including the client licensing portion.

You must complete both the client licensing portion and the license manager install-

ation in order to run ANSYS, Inc. products.

Product Download Instructions

1. From the Customer Portal, click on Download Software.

2. The ANSYS Download Center Wizard page displays an overview of the download

process. Review the overview and click Next.

3. For the Download Type, choose Current Release. Click Next Step.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.44

Installing Redundant (Triad) License Servers

Page 49: ANSYS Installation Tutorial

4. Choose the hardware platform for which you want to download installation

packages. You can select only one platform at a time. You will need to repeat

the download procedure for each platform that you want to download. Click

Next Step.

Note

If you are not sure which platform you are using, click Which

UNIX/Linux platform am I using? to download a small program

that identifies your hardware platform. Run this program on all

of your UNIX/Linux platforms to see which platform(s) you need

to download. The output of this program will match the platform

names listed on the Download Center.

5. Choose the products you wish to download. Products are listed by product names

that correspond to the licensing product names. You can choose to list products

grouped by product group or alphabetically. All products that you currently have

licensed are highlighted and pre-selected for your convenience. After you have

selected all products that you wish to download, click Next Step.

6. The license manager, product, and documentation packages that you've selected

to download are listed. Click on each link provided to begin the downloads.

7. After the downloads have completed, uncompress each package using standard

uncompression utilities for your specific platform. We strongly recommend that

you extract the files into a new, temporary directory.

8. Begin the product installation as described in the next section.

License Manager Installation and Triad Configuration

To use a redundant server configuration of three machines, you must install and

configure the ANSYS, Inc. License Manager on each of the three server machines.

The License Manager controls access to the ANSYS, Inc. products you have pur-

chased.

1. On each server machine, navigate to the directory where the installation packages

reside. Run the ./INSTALL.LM file.

2. You will see a warning stating that if the license manager is currently running,

it will be shut down. This tutorial assumes that you have not previously installed

45Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 50: ANSYS Installation Tutorial

the products or the licensing on these machines, and are not already running

the ANSYS, Inc. License Manager on these machines. 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

terms and conditions, click 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-

fault is /ansys_inc . We recommend using the default directory.

6. The ANSYS, Inc. License Manager is selected as the only product available to in-

stall. The required and available disk space numbers are shown. Verify that you

have sufficient disk space to install the license manager and click Next.

7. 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.

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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.46

Installing Redundant (Triad) License Servers

Page 51: ANSYS Installation Tutorial

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, verify 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 first 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. All three server machines must install the same license file.

12. Click Continue to configure the local machine as the license server (the default

action).

47Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 52: ANSYS Installation Tutorial

13. Click Skip to bypass starting the ANSYS, Inc. License Manager.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.48

Installing Redundant (Triad) License Servers

Page 53: ANSYS Installation Tutorial

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. Repeat this installation on all three license server machines.

18. When all three license server machines have the license manager installed, start

the license manager on all of them, starting with the primary license server ma-

chine (the machine listed first in the license file). To start the license manager,

use the Start the License Manager option of the ANSLIC_ADMIN utility:

1. On each license server machine, run the following command to start the

ANSLIC_ADMIN utility:

/ansys_inc/shared_files/licensing/lic_admin/anslic_admin

2. Choose Start the ANSYS, Inc. License Server.

Product Installation with Client Licensing

You will now install the products and client licensing on each user's machine.

This tutorial assumes that the client machines are Windows machines. The process

is similar on Linux clients; see the ANSYS, Inc. Linux Installation Guide for detailed

installation instructions for installing the products and client licensing on Linux

machines. Follow the steps below on each user's machine.

1. Navigate to the directory where you extracted the files. Double-click the

setup.exe file. The ANSYS, Inc. Installation Manager appears.

49Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 54: ANSYS Installation Tutorial

2. Select the language you want to use. English is the default.

3. Click the Install ANSYS Products button.

4. The license agreement appears. Read the agreement, and if you agree to the

terms and conditions, click I Agree. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.50

Installing Redundant (Triad) License Servers

Page 55: ANSYS Installation Tutorial

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 C:\Program Files\ANSYS Inc . We recommend using the default direct-

ory.

51Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 56: ANSYS Installation Tutorial

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.

Click Next.

6. All products available in the installation package(s) you downloaded 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,

SolidWorks, ICEM CFD Creo Parametric, or ICEM CFD NX, you will have addi-

tional installation steps. This tutorial assumes you are not installing these

CAD packages. Deselect all of these options before continuing.

If you do want to install these products, please see the section Installing

ANSYS, Inc. Products in the ANSYS, Inc. Windows Installation Guide for more

information on the additional steps required for these packages.

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 verify that all

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.52

Installing Redundant (Triad) License Servers

Page 57: ANSYS Installation Tutorial

products were installed correctly. Installation log files are written to the in-

stallation 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. The more recent set of files will be installed. 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 in-

cluded with the installation package will be used.

Click Next.

8. A summary screen appears that lists everything you have chosen to install. Review

this list carefully to verify that it is correct. If it is not, click Back to go to earlier

screens to correct the product selections.

53Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 58: ANSYS Installation Tutorial

When you have verified the product selections, click Next. When you click

Next on this screen, the installation will begin.

9. As each product package is uncompressed and installed, it will display in the

status window. 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.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.54

Installing Redundant (Triad) License Servers

Page 59: ANSYS Installation Tutorial

10. After all products are installed and configured, the client licensing needs to be

run. Click Next to begin the client licensing configuration. A Licensing Client In-

stallation Configuration window appears.

Licensing settings are recorded in a configuration file named an-syslmd.ini . This tutorial assumes that licensing has not previously been

installed on this machine and therefore the ansyslmd.ini file does not

exist. 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 confirm

that the default port numbers are valid or to use different port numbers if

necessary.

Click 3-server (redundant triad). The three Hostname fields will become

active. Specify the hostname (server machine name) of the machines acting

as license servers (one in each Hostname field). Specify the hostnames in

the same order as the machines appear in your license file. Click OK.

11. When the client licensing installation has completed, click Exit.

12. The product installation window reappears with a message noting that the in-

stallation is complete. Click Next.

13. On the next screen, you can complete the survey or you can click Finish imme-

diately to skip the survey and complete the product installation.

55Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 60: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.56

Page 61: ANSYS Installation Tutorial

Configuring Native RSM to Integrate a Windows Client

with Linux LSF or PBS Cluster and Running via

FLUENT, CFX, or Mechanical

Introduction

This tutorial walks you through process of configuring Remote Solve Manager

(RSM) to use “native mode” for a Linux Platform LSF (Load Sharing Facility) or

PBS (Portable Batch System) cluster. “Native mode” in a cluster environment

means that RSM is installed and running locally on the head node of the Linux

cluster. The benefit to using native mode RSM is that communication protocols

such as SSH are not necessary for communications between a Windows Compute

Server and a Linux Compute Server.

In this example, both the Solve Manager and the Compute Server services will

be running on the head node of the Linux cluster. Once you’ve tested your

configuration, you can follow the steps for submitting a Fluent, CFX, or Mechan-

ical job to RSM.

If this scenario does not suit your needs, please see the other tutorials available

on the Downloads page of the ANSYS Customer Portal.

You can follow this tutorial while actually configuring RSM. To do so, simply

make the selections that are pertinent to you or insert your specific information

where noted.

Note

• The recommended method of configuring RSM is using the ANSYS Re-

move Solve Manager Setup Wizard, a utility that guides you through

the process of setting up and configuring RSM. If you use the wizard,

you must manually add the Queue name, but manual script customiza-

tions for LSF and PBS clusters are not necessary.

57Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 62: ANSYS Installation Tutorial

– To access the wizard:

→For Windows, select Start > Programs > ANSYS 14.5 > Remote

Solve Manager > RSM Setup Wizard 14.5.

→For Linux, open a terminal window in the [RSMInstall]\Con-fig\tools\linux directory and run rsmwizard .

– For a quick-start guide on using the wizard:

→For Windows, select Start > Programs > ANSYS 14.5 > Remote

Solve Manager > Readme - RSM Setup Wizard 14.5.

→For Linux, navigate to the [RSMInstall]\bin directory and

open rsm_wiz.pdf .

• PBS clusters for Windows are not supported.

• LSF clusters for Windows are not supported for standalone FLUENT,

standalone CFX, or Polyflow.

Before You Begin

These instructions assume the following:

• Both the Windows and the Linux machines are set up correctly on the network.

• You are not using the SSH protocol but instead are using native RSM (TCP/IP

for Windows-Linux communications). For information on native RSM, see

Configuring RSM to Use a Remote Computing Mode for Linux in the Remote

Solve Manager User’s Guide.

Note

If you are using SSH, please refer to Appendix B: Integrating

Windows with Linux using SSH/SCP in the Remote Solve Man-

ager User’s Guide for instructions.

• An LSF or PBS Linux cluster has been established and configured.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.58

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 63: ANSYS Installation Tutorial

• The LSF or PBS head node is a node on the Linux cluster you’re configuring

for which bsub and lsrcp (requires RES service) commands are available.

For the LSF or PBS head node:

– You have administrative privileges.

– You have the machine name.

– RSM has been installed and RSM services have been started.

• Both ANSYS Workbench and RSM have been installed on the Windows client

machine.

• You are able to install and run ANSYS, Inc. products, including Licensing, on

both the Solve Manager and Compute Server machines. For information on

product and licensing installations, see the RSM tutorials on the Downloads

page of the ANSYS Customer Portal.

If you have any problems with, or questions about the installation process, go

to the Support page of the ANSYS Customer Portal and submit an online support

request.

This tutorial is divided into the following procedures:

Setup Procedures

• Performing RSM Script Customizations for LSF and PBS Clusters (p. 60)

• Configuring RSM on the Linux LSF or PBS Head Node (p. 61)

• Set Your RSM Password (p. 62)

• Add the Linux Submission Host as Compute Server (p. 62)

• Add a Queue (p. 66)

• Starting Automatic Startup (Daemon) Services for Linux Red Hat or SuSE (p. 67)

• Add the Linux Submission Host as Solve Manager (p. 68)

• Test the Compute Server Configuration (p. 69)

Job Submission Procedures

59Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 64: ANSYS Installation Tutorial

• Submit a Fluent LSF Job from RSM Client (p. 70)

• Submit a CFX LSF Job from RSM Client (p. 74)

• Submit a Mechanical LSF Job from RSM Client (p. 77)

Performing RSM Script Customizations for LSF and PBS Clusters

RSM script customizations are divided into two general steps: setting up your

cluster layout and specifying the Queue Name for the Test Server function.

Important

RSM script customizations are not necessary if you use the ANSYS

Remote Solve Manager Setup Wizard. For more information on the

wizard, see the Remote Solve Manager User’s Guide.

1. Set up your cluster layout in RSM as follows:

• Open the..\ansys_inc\v145\RSM\Config\scripts\Sched-ulerBase.cs file with a text editor.

• Locate the section //CUSTOMIZE HERE # .

• Change the number of cluster nodes and number of CPUs per node (in bold

text below) to reflect your cluster layout.

// CUSTOMIZE HERE: # of execution nodes available // This variable will be modified below for the qsub select optionnumberClusterNodes = 2;

// CUSTOMIZE HERE: # of CPUs per node. // If this varies use a value such that numberClusterNodes * numberCPUperNode // doesn't exceed the actual CPUs available numberCPUperNode = 8;

• Save the changes and exit.

2. Specify the Queue Name for the Test Server function, as follows:

• Open the..\ansys_inc\v145\RSM\Config\scripts\GenericJob-TP.cs file with a text editor.

• Locate the section For Native RSM .

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.60

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 65: ANSYS Installation Tutorial

• If you are using native RSM communications (TCP/IP), use the code below.

Change the values shown in bold text below to reflect your cluster queue

name, according to the type of cluster you are using (LSF or PBS).

if (queueName == "Immediate") if (Task.ProxyKeyword.Contains("LSF")) { queueName = "normal"; } else if (Task.ProxyKeyword.Contains("PBS")) { queueName = "workq"; } else if (Task.ProxyKeyword.Contains("SGE")) { queueName = "all.q"; }

• Save the changes and exit.

Configuring RSM on the Linux LSF or PBS Head Node

RSM Services are required if the computer will be accessed by remote RSM Clients

(Solve Manager service, known as JobManager , required) or a remote Manager

(Compute Server service, known as ScriptHost , is required). Use the following

steps to install the Solve Manager and Compute Server services as required.

Administrative privileges are required to perform these steps.

1. Run the following commands from the ../ansys_inc/v145/RSM/Con-fig/tools/linux directory.

./rsmmanager start

./rsmserver start

2. Once the RSM Services have been started, run ./rsmadmin to open up the

Remote Solve Manager.

3. From the RSM menu bar, select Tools > Options.

4. In the Options dialog, add the host name of the cluster head node if it is not

already there. Type the host name into the Name field and click the Add button.

In this example, the name of the head node is lsfclusternode.

5. In the Solve Managers section, select the check box next to lsfclusternode.

6. Click OK.

61Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 66: ANSYS Installation Tutorial

Set Your RSM Password

Perform the following steps on your Windows RSM Client machine to set your

RSM password. This is the password RSM will use to run jobs on the Compute

Server. Note that you need to update your RSM password when you update your

password on the RSM Client machine.

1. In the RSM tree view, right-click on the lsfclusternode [Set Password] node and

select Set Password.

2. A command prompt will open, asking you for username and password. Follow

the instructions in the prompt.

3. In the RSM tree view, verify that lsfclusternode is no longer followed by [Set

Password].

Add the Linux Submission Host as Compute Server

Perform the following steps on your Windows RSM Client machine to configure

RSM to use an LSF or PBS cluster. In this section, we are adding a Linux submission

host as the Compute Server.

1. Underneath the Solve Manager node on the RSM tree view, right-click on the

Compute Servers node and select Add.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.62

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 67: ANSYS Installation Tutorial

The Compute Server Properties dialog is displayed.

2. On the General tab of the Compute Server Properties dialog, set properties

as follows:

• For the Display Name property, enter a descriptive name for the Linux machine

being defined as a Compute Server. This example will use Linux Host.

• In this example, the Compute Server services will be on the submission host

of the cluster, so in this example we will set Machine Name to the hostname

or IP address of the Linux machine that will the Compute Server (the same

machine name used for the Solve Manager). This name must be the actual

computer name of the Solve Manager. In this example, the host name is ls-fclusternode.

• For the Working Directory Location property, specify whether the system

will determine the location. In this example, we will select Automatically

Determined to allow the system to determine the location; you do not need

enter a Working Directory path.

• The Working Directory property is blank and disabled if the Working Directory

Location is Automatically Determined, as in this example.

63Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 68: ANSYS Installation Tutorial

3. On the Cluster tab of the Compute Server Properties dialog, set properties as

follows:

• Set the Cluster Type property. In this example, we’ll select LSF.

• For the Shared Cluster Directory property, enter the path to your central file-

staging directory.

The Shared Cluster Directory is on the machine defined on the General

tab. The RSM job creates a temporary directory here. Mount this directory

on all execution hosts so that the LSF or PBS job has access.

• For the File Management property, specify whether you want to store tem-

porary solver files on the Shared Cluster Directory or on locally on the execution

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.64

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 69: ANSYS Installation Tutorial

node. In this example, we’ll select Reuse Shared Cluster Directory to store

temporary solver files in the Shared Cluster Directory.

Note

When you select this option, the Shared Cluster Directory and

the Working Directory are in the same location. As such, the

Shared Cluster Directory path will be populated to the Working

Directory Path property on the General tab. Also, the Working

Directory Location property on the General tab will be set

to Automatically Determined. See the image below.

Note

The directories you enter here must match the directory names

exactly. If the directory names do not match exactly, the process

will fail.

65Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 70: ANSYS Installation Tutorial

Since you are not using the SSH protocol, you do not need to fill anything

out on SSH tab. (The Use SSH check box is deselected by default.)

4. Click the OK button to close the Compute Server Properties dialog.

5. In the RSM tree view, expand the Compute Servers node to view the Compute

Server you added (Linux Host in this example).

Add a Queue

1. In the RSM tree view, right-click on the Queues node and select Add.

2. Under General in the Queue Properties dialog, enter a Name for this queue.

In this example, we will use Linux LSF Queue.

Note

The RSM Queue Name must match the Queue Name in LSF or

PBS.

3. The Compute Server you added previously (Linux Host in this example) ap-

pears under Assigned Servers. Select the check box next to it to assign the

server to this queue.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.66

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 71: ANSYS Installation Tutorial

4. Click the OK button to close the Queue Properties dialog.

5. In the RSM tree view, expand the Queues node to view the queue you added

(Linux LSF Queue in this example).

Starting Automatic Startup (Daemon) Services for Linux Red Hat or SuSE

To install RSM services as daemon services, run either the rsmconfig script or

the install_daemon script, as follows:

1. Log into a Linux account with administrative privileges.

2. Ensure that Ans.Rsm.* processes are not running.

3. Open a terminal window in the RSM/Config/tools/linux directory.

4. Enter the script into the terminal window.

67Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 72: ANSYS Installation Tutorial

5. Add the appropriate command line options (-mrg , -svr , or -xmlrpc ).

6. Run the command.

The two examples below show the command line used to configure the Solve

Manager and Compute Server service daemons via either the rsmconfig script

or the install_daemon script.

tools/linux#> ./rsmconfig -mgr -svr

tools/linux#> ./install_daemon -mgr -svr

Once the daemon service is installed, the RSM service will be started automatically

without rebooting. The next time when the machine is rebooted, the installed

RSM service will be started automatically.

Verifying that Daemon Services are Started

To verify that the automatic boot procedure is working correctly, reboot the

system and check to see that the services are running by typing the appropriate

ps command and looking for Ans.Rsm in the resulting display:

ps aux | grep Ans.Rsm

Add the Linux Submission Host as Solve Manager

Perform the following steps on your Windows RSM Client machine(s) to configure

the Linux submission host as the Solve Manager. This example uses the submis-

sion host of an LSF Linux cluster, so you must set your Solve Manager to the

hostname of the LSF cluster head node.

1. Verify that ANSYS 14.5 has been installed on the RSM Client machine(s).

2. Open RSM (select Start > Programs > ANSYS 14.5 > Remote Solve Manager

> RSM 14.5).

3. From the RSM menu, select Tools > Options.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.68

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 73: ANSYS Installation Tutorial

4. In the Options dialog, add the hostname of the cluster head node if it is not

already there. Type the host name into the Name field and click the Add button.

In this example, the name of the head node is lsfclusternode.

5. In the Solve Managers section, select the check box next to lsfclusternode.

6. Click the OK button.

Test the Compute Server Configuration

This step is a test to verify that RSM is working correctly. If the test fails, you

must resolve any errors before continuing with this tutorial. Administrative

privileges are required to perform these steps.

1. In the RSM tree view, expand the Compute Servers node.

2. Right-click on the newly added Compute Server (Linux Host, machine name

(lsfclusternode) and select Test Server.

69Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 74: ANSYS Installation Tutorial

3. When the test job completes, you can view job details in the RSM Progress Pane.

If the test runs successfully, continue to the next section.

4. If the test fails:

• Check to see if any firewalls are turned on and blocking the connection

between the two machines.

• Make sure you can reach the machine(s) via the network.

• Add RSM ports to the firewall as needed. If you have a local firewall turned

on (Compute Server and RSM Client machines), you will need to add the fol-

lowing two ports the Exceptions List for RSM:

– Add port 8145 to firewall exceptions for Ans.Rsm.SHHost.exe .

– Add port 9145 to firewall exceptions for Ans.Rsm.JMHost.exe .

Submit a Fluent LSF Job from RSM Client

1. Install ANSYS, Inc. products on each RSM Client machine that will be submitting

RSM jobs to the Linux cluster.

2. Open ANSYS Workbench (Start > Programs > ANSYS 14.5 > Workbench 14.5).

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.70

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 75: ANSYS Installation Tutorial

3. Open your Fluent project.

4. In the Fluent system, right-click the Setup cell and select Properties.

5. In the Setup Properties view, set properties as follows:

• Deselect Show Launcher at Setup.

• Select Run Parallel Version.

• For Number of Processors, specify the number of cores to be used.

6. Right-click the Setup cell and select Update.

7. In the Fluent system, right-click the Solution cell and select Properties.

8. In the Solution Properties view, set Solution Process properties as follows:

71Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 76: ANSYS Installation Tutorial

Set Update Option to Remote Solve Manager.•

• For Solve Manager, enter the name of the Solve Manager that will be used

(in this example, we’ll use lsfclusternode).

• For Queue, enter the name of the queue that will be used (in this example,

we’ll use lsfqueue).

• Verify that Download Progress Information is selected.

• Set Execution Mode to Parallel.

• For Number of Processes, specify the number of processes to be used.

9. Right-click the Solution cell and select Update.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.72

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 77: ANSYS Installation Tutorial

10. To monitor solution progress, right-click the Solution cell and select Show

Solution Monitoring.

Note

To use this feature, you must have Enable Solution Monitoring

option selected in the Tools > Options > Fluent dialog.

11. When the Solution Monitor workspace opens, select View > Scene to display

the Scene chart.

73Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 78: ANSYS Installation Tutorial

Submit a CFX LSF Job from RSM Client

1. Install ANSYS, Inc. products on each RSM Client machine that will be submitting

RSM jobs to the Linux cluster.

2. Open ANSYS Workbench (Start > Programs > ANSYS 14.5 > Workbench 14.5).

3. Open your CFX project.

4. In the CFX system, right-click the Solution cell and select Properties.

5. In the Solution Properties view, set Solution Process properties as follows:

• Set Update Option to Remote Solve Manager.

• For Solve Manager, enter the name of the Solve Manager that will be used

(in this example, we’ll use lsfclusternode).

• For Queue, enter the name of the queue that will be used (in this example,

we’ll use lsfqueue).

• For automatic downloading of progress information, verify that Download

Progress Information is set to Always Download.

• Set Execution Mode to Parallel.

• For Number of Processes, specify the number of processes to be used.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.74

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 79: ANSYS Installation Tutorial

6. Right-click the Solution cell and select Update.

7. To monitor solution progress, right-click the Solution cell and select Display

Monitors.

75Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 80: ANSYS Installation Tutorial

In the CFX-Solver Manager window that opens, both the chart and solution

information are displayed by default.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.76

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 81: ANSYS Installation Tutorial

Submit a Mechanical LSF Job from RSM Client

1. Install ANSYS, Inc. products on each RSM Client machine that will be submitting

RSM jobs to the Linux cluster.

2. Open ANSYS Workbench (Start > Programs > ANSYS 14.5 > Workbench 14.5).

3. Add a Mechanical system and assign a geometry, establish all necessary loads,

etc. See the Workbench User’s Guide for more information.

4. On the analysis system on the Project Schematic, double-click either the Model

or the Setup cell to launch Mechanical.

5. In the Mechanical window, select Tools > Solve Process Settings from the

main menu.

77Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 82: ANSYS Installation Tutorial

6. On the Solve Process Settings dialog, click the Add Remote button.

7. On the Rename Solve Process Settings dialog that opens:

• Enter a Solve Process Setting Name. This can be any name of your choosing.

This example will use Linux Cluster.

• Click the OK button to close the Rename Solve Process Settings dialog.

8. Back on the Solve Process Settings dialog:

• Select the solve process setting you just specified from the list on the left.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.78

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 83: ANSYS Installation Tutorial

• Under Computer Settings, enter the machine name of the head node (ls-fclusternode in this example) as the Solve Manager.

• Select the queue from the Queue drop-down list (earlier in this example, we

created the Linux Queue in the Add a Queue (p. 66)section).

• Click the Advanced button.

9. On the Advanced Properties dialog:

• Select the Distribute Solution (if possible) option.

• Specify the number of processors.

• Click the OK button to close the Advanced Properties dialog.

79Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 84: ANSYS Installation Tutorial

10. Back on the Solve Process Settings dialog, click the OK button to close the

dialog and complete the solve process setup.

11. In Mechanical, finish setting up your analysis. When the model is set up and

ready to solve, open/launch Mechanical and select the Solve toolbar button

drop-down arrow. You will see the solve process name you just defined (in this

example, Linux Cluster). Select that process.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.80

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 85: ANSYS Installation Tutorial

12. The solve will commence. When the solution has completed, the Solution branch

and the items underneath it in the project tree will each have a down-arrow

next to them.

13. Right-click on Solution and select Get Results to bring the solution items down

to the local machine.

81Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 86: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.82

Configuring Native RSM to Integrate a Windows Client with Linux

LSF or PBS Cluster and Running via FLUENT, CFX, or Mechanical

Page 87: ANSYS Installation Tutorial

Configuring Remote Solve Manager to Use Microsoft

HPC and Running via Mechanical and/or Mechanical

APDL

Introduction

This tutorial walks you through the process of configuring Remote Solve Manager

(RSM) to use a Windows-based Microsoft HPC (High-Performance Computing)

cluster as the compute server for a Mechanical or Mechanical APDL remote

solution.

If this scenario does not suit your needs, please see the other tutorials available

on the Downloads page of the ANSYS Customer Portal.

You can follow this tutorial while actually configuring RSM. To do so, use the

selections that are pertinent to you or insert your specific information where

noted.

Note

The recommended method of configuring RSM is using the ANSYS

Remove Solve Manager Setup Wizard, a utility that guides you

through the process of setting up and configuring RSM.

• To access the wizard, select Start > Programs > ANSYS 14.5 > Remote

Solve Manager > RSM Setup Wizard 14.5.

• For a quick-start guide on using the wizard, select Start > Programs >

ANSYS 14.5 > Remote Solve Manager > Readme - RSM Setup Wizard

14.5.

Before You Begin

These instructions assume the following:

83Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 88: ANSYS Installation Tutorial

• You have established and configured a Microsoft HPC cluster. If Microsoft HPC is

not configured properly, contact Microsoft for support before you attempt to install

ANSYS. You can also download Getting Started Guide for Windows HPC Server 2008

at http://technet.microsoft.com/en-us/library/cc793950.apsx. This guide is also

available with the installation files for Microsoft HPC Pack 2008 (HPGettingStar-ted.rtf , in the root folder.)

• You have Administrative privileges on the head node of the HPC cluster you are

configuring.

• You have the machine name of the HPC head node.

• You have the machine name of the head node on the Microsoft HPC cluster.

• You have already configured and verified communications between RSM and the

HPC head node. See the HPC installation tutorials on the Downloads page of the

ANSYS Customer Portal.

• RSM is installed on the HPC head node. This allows you to use both the Solve

Manager and Compute Server (also known as ScriptHost) services, or just use the

Compute Server service. If you choose the latter, the Solve Manager runs on the

RSM Client machine, or on a central, dedicated Solve Manager machine.

• You are able to install and run ANSYS, Inc. products, including Licensing on the

Windows machines. For information on ANSYS product and licensing installations,

see the RSM tutorials on the Downloads page of the ANSYS Customer Portal.

If you have any problems with or questions about the installation process, go

to the Support page of the ANSYS Customer Portal and submit an online support

request.

This tutorial is divided into five sets of instructions:

1. Set Up the HPC Head Node to Communicate with RSM and Test

2. Configure RSM on the Microsoft HPC Head Node

3. Configure Multiple Network Cards

4. Configure RSM on the RSM Client

5. Submit an RSM Job from an RSM Client

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.84

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 89: ANSYS Installation Tutorial

Set Up the HPC Head Node to Communicate with RSM and Test

Run the following steps on the head node of the Microsoft HPC cluster to con-

figure the head node to communicate with the slave nodes. The last step is a

test to verify that communications between the head node and the slave nodes

are working correctly. If the test fails, you must resolve any errors before continu-

ing with this tutorial.

1. Install ANSYS, Inc. products on the head node of the Microsoft HPC cluster. This

machine will act as the RSM Manager and the Compute Server. See the tutorials

on the Downloads page of the ANSYS Customer Portal.

2. Double-click C:\Program Files\ANSYS Inc\v145\common-files\MPI\MicrosoftHPC2008\Config_ANSYSMech.bat on the head

node to configure all compute nodes.

3. Run the following from a command prompt on the Microsoft HPC head node:

clusrun mkdir C:\Temp\%USERNAME%\Work

This step creates the necessary working directory on all nodes.

Copy the RUNANSYS.xml, runansys.bat , spar.inp , and pcg.inpfiles to C:\TEMP\%USERNAME% on the head node. These files will allow

you to run the test in the next step. These files are located in the C:\Pro-gram Files\ANSYS Inc\v145\commonfiles\MPI\MicrosoftH-PC2008 directory by default.

4. Test the connections from the head node to the compute nodes:

1. Open the HPC Cluster Manager. Select Job Management from the menu

on the left side of the screen.

85Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 90: ANSYS Installation Tutorial

2. Select Actions>Create New Job from Description File... from the menu

side on the right side of the screen.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.86

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 91: ANSYS Installation Tutorial

3. Navigate to C:\TEMP\%USERNAME%\RUNANSYS.xml and click Submit.

The job submitted by RUNANSYS.xml will run for several minutes. If

it quits immediately, the job failed. Please check the

C:\TEMP\TaskStdOut.txt for errors.

87Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 92: ANSYS Installation Tutorial

4. Close the HPC Cluster Manager.

5. If the test in the previous step runs successfully, continue to the next section.

Configure RSM on the Microsoft HPC Head Node

Run the following steps on the head node of the Microsoft HPC cluster to con-

figure RSM. The last step is a test to verify that RSM is working correctly on the

head node. If the test fails, you must resolve any errors before continuing with

this tutorial.

1. Navigate to the \RSM\bin directory and run the following from a command

prompt to configure and start the RSM services on the head node:

AnsConfigRSM.exe -mgr -svr

By default, AnsConfigRSM.exe is found in C:\Program Files\ANSYSInc\v145\RSM\bin .

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.88

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 93: ANSYS Installation Tutorial

2. Set your RSM password. This is the password RSM will use to run jobs on the

Compute Server. Note that you need to update your RSM password when you

update your password on the RSM client machine.

• Open RSM (Start > Programs > ANSYS 14.5 > Remote Solve Manager >

RSM 14.5).

• Right-click on My Computer [Set Password] in the RSM tree and select Set

Password to set the password for the user you specified in the previous step.

A command prompt will open prompting for the user’s password.

3. Add the Microsoft HPC head node as a Compute Server:

• Right-click on Compute Servers in the RSM tree and select Add.

• In the Compute Server Properties window, enter the following information

under the General Tab:

– Enter a Display Name for the server; this name can be any name that makes

sense for you. This example will use MS Compute Cluster.

– Enter the Machine Name. This name must be the actual computer name

of the head node. This example will use dellwinhpc.

– Set the Working Directory Location to Automatically Determined.

89Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 94: ANSYS Installation Tutorial

• Enter the following information under the Cluster tab:

– Set the Cluster Type to Windows HPC.

– Set the Shared Cluster Directory to the directory that is shared out to all

the cluster nodes from the head node. In this example, we will used the

shared \\dellwinhpc\temp directory \\dellwinhpc\temp.

– Set the File Management to Reuse Shared Cluster Directory.

(This means that the Shared Cluster Directory path will be populated back

to the Working Directory field on the General tab.)

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.90

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 95: ANSYS Installation Tutorial

• Click OK to close the Compute Server Properties window.

4. Add a queue:

• Right-click on Queues in the RSM tree and select Add.

• In the Queue Properties window, under General, enter a name for this queue.

In this example, we will use the machine dellwinhpc.

• The Compute Server you added previously (in this example, MS ComputeCluster) appears under Assigned Servers. Select the check box next to it.

91Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 96: ANSYS Installation Tutorial

• Click OK on the Queue Properties window.

• In the RSM tree, expand the Compute Servers item to see the Compute

Server you added (in this example, dellwinhpc).

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.92

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 97: ANSYS Installation Tutorial

• Right-click Compute Servers > dellwinhpc and select Test Server to test the

connection and view a report of any problems.

• If the test in the previous step runs successfully, continue to the next section.

93Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 98: ANSYS Installation Tutorial

Configure RSM on the RSM Client Machine

Run the following steps from each RSM client (end user) machine that will be

submitting RSM jobs to the Microsoft HPC cluster. The last step is a test to verify

that communication between the head node and the client machine is working

correctly. If the test fails, you must resolve any errors before continuing with this

tutorial.

1. Install ANSYS, Inc. products on each client machine that will be submitting RSM

jobs to the Microsoft HPC cluster. When installing, be sure to choose a product

that includes ANSYS Workbench. For detailed instructions on installing ANSYS,

Inc. products, see the tutorials on the Downloads page of the ANSYS Customer

Portal.

2. Open RSM (Start > Programs > ANSYS 14.5 > Remote Solve Manager > RSM

14.5).

3. Right-click on My Computer [Set Password] in the RSM tree on the client ma-

chine and select Set Password to set the password for the client machine. A

command prompt will open prompting for the user’s password.

4. Select Tools> Options. In the Name field, add the name of the head node

(dellwinhpc from Step 3, substep 2 of Configure RSM on the Microsoft HPC

Head Node, above). Click Add, then click OK.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.94

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 99: ANSYS Installation Tutorial

Note

Users do not need to add compute machines or queues; RSM

will pick up that information automatically from the head node.

If the head node appears in red in the tree with a red X next to

it, there is a connection problem.

5. Right-click on the head node listed in the RSM tree view (dellwinhpc in this

example) and select Set Password to set the password for the client on the head

node. A command prompt will open prompting for the user’s password.

6. Test the client-server connection by selecting dellwinhpc > Compute Servers

> dellwinhpc > Test Server in the RSM tree on the client machine.

95Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 100: ANSYS Installation Tutorial

7. If the test in the previous step runs successfully, continue to the next section.

Configure Multiple Network Interface Cards (NIC)

If your Microsoft HPC Cluster is configured using multiple network cards where

there is more than one network defined, you must edit some configuration files

on the head node to explicitly define the IP address of the head node.

1. On the client machine, ping the head node using the Fully Qualified Domain

Name (FQDN):

C:\>ping headnode.domain.com

The ping command should return a statement similar to the following:

Pinging multiNICmachine.domain.com [10.2.10.32] with 32 bytes of data:Reply from 10.2.10.32: bytes=32 time=56ms TTL=61

Note the IP address (10.2.10.32 in the above example). You will need

this address in the following steps.

2. Navigate on the head node to C:\Program Files\ANSYSInc\v145\RSM\bin and locate the Ans.Rsm.JMHost.exe.config (Solve

Manager) and Ans.Rsm.SHHost.exe.config (Compute Server) configuration

files.

3. Open both files in a text editor.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.96

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 101: ANSYS Installation Tutorial

4. Add the IP address from step 1 to the TCP channel configuration. To do this, add

the following line into the *.config files:

machineName="ip_address"

Once the line has been added to the configuration file, it will look like the

example below:

...<channels> <channel ref="tcp" port="9145" secure="false" machineName="ip_address"> <serverProviders> <formatter ref="binary" typeFilterLevel="Full"/> </serverProviders> </channel></channels>...

5. Save and close both files.

6. Restart ANSYS JobManager Service V14.5 and ANSYS ScriptHostService V14.5 services as follows:

• On your Administrative Tools or Administrative Services page, open the

Services dialog.

• Restart the services by right-clicking on the service and selecting Restart.

For more detailed instructions on working with multi-NIC configurations,

see Configuring Computers with Multiple Network Interface Cards (NIC) in

the Remote Solve Manager User’s Guide.

Submit an RSM Job from an RSM Client

1. Install ANSYS, Inc. products on each client machine that will be submitting RSM

jobs to the HPC cluster. When installing, be sure to choose a product that includes

ANSYS Workbench.

2. Open ANSYS Workbench (Start > Programs > ANSYS 14.5 > Workbench 14.5).

Add a Mechanical system and assign a geometry, establish all necessary loads,

etc. See the Workbench User Guide or the Mechanical User Guide for more inform-

ation on setting up a Mechanical analysis in ANSYS Workbench.

3. Double-click the Model or Setup cell to launch Mechanical.

4. In the Mechanical window, select Tools> Solve Process Settings.

97Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 102: ANSYS Installation Tutorial

5. On the Solve Process Settings dialog, click Add Remote.

6. Enter a Solve Process Setting Name. This name can be any name of your

choosing. This example will use dellwinhpc.

7. Click OK.

8. Select the Solve Process Setting name you just specified from the list on the

left.

9. Under Computer Settings, enter the machine name of the head node (dell-winhpc in this example) as the Solve Manager.

10. Select the queue from the Queue drop-down list (in this example we created

the MS Compute Cluster in the RSM configuration step).

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.98

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 103: ANSYS Installation Tutorial

11. Click Advanced.

12. On the Advanced dialog, click Distribute Solution (if possible) and specify

the number of processors. Click OK to close the Advanced dialog.

99Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 104: ANSYS Installation Tutorial

13. Click OK to complete the Solve Process setup.

14. Finish setting up your analysis. When the model is set up and ready to solve,

open/launch Mechanical and select the Solve toolbar button drop-down arrow.

You will see your solve process name. Select that process.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.100

Configuring Remote Solve Manager to Use Microsoft HPC and

Running via Mechanical and/or Mechanical APDL

Page 105: ANSYS Installation Tutorial

15. The solve will commence. When the solution has completed, the Solution items

in the project tree will have a down arrow next to them.

16. Right-click on the Solution branch and select Get Results to bring the solution

items down to the local machine.

101Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 106: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.102

Page 107: ANSYS Installation Tutorial

Using the Remote Solve Manager Setup Wizard to

Configure ANSYS® CFX® and Workbench to Submit

Solve Jobs to HPC Cluster

Introduction

This tutorial walks you through the process of using the ANSYS Remote Solve

Manager Setup Wizard to configure ANSYS CFX, Workbench, and Remote Solve

Manager (RSM) to submit solve jobs to a Microsoft HPC 2008 Server Cluster via

RSM.

Assumptions

This document assumes the following:

• That you have installed and configured Microsoft HPC properly and that the com-

pute nodes can access the head node. If Microsoft HPC is not configured properly

contact Microsoft for support before you attempt to install CFX or FLUENT. You

can also download the Getting Started Guide for Windows HPC Server 2008 at http://

technet.microsoft.com/en-us/library/cc793950.aspx. This guide is also available with

the installation files for Microsoft® HPC Pack 2008 HPCGettingStar-ted.rtf , in the root folder).

• That you are local administrator of the cluster and know how to share directories

and map network drives. If you do not know how to do these tasks, please contact

your Systems Administrator for assistance. You can also go to Help and Support

from the Start menu on your desktop.

• That you have the machine name of the head node on the Microsoft HPC cluster.

• That you are able to install and run ANSYS, Inc. products, including licensing, on

Windows systems. Please see the tutorials on the Downloads page of the Customer

Portal to install ANSYS, Inc. product and licensing installation.

103Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 108: ANSYS Installation Tutorial

• If you have any problems with or questions about the installation process, please

log an online support request on the Support page of the ANSYS Customer Portal.

A Systems Support Specialist will respond to assist you.

Install CFX on the Head Node

Important

If you run the ANSYS Remote Solve Manager Setup Wizard, this step

is not required; the wizard will run through this configuration as noted

in the sample batch file.

Workbench and RSM will automatically get installed

1. Install CFX 14.5 on the head node on the Microsoft Windows Cluster. By default

it will be installed in C:\Program Files\ANSYS Inc\v145\CFX .

2. Ensure that the Microsoft HPC user account has Read & Execute permission for

this directory. Typically, adding DOMAIN USERS to the list of users that have

access to submit jobs to the compute cluster is sufficient.

3. Copy and paste the following text and .bat file extension, for example,

cfx_setup.bat .

SET REVN=145SET ANSYS_SYSDIR=winx64net share “Ansys Inc”="C:\Program Files\Ansys Inc\v145\fluent" /grant:everyone,fullcall clusrun /env:SEE_MASK_NOZONECHECKS=1 "\\%CCP_SCHEDULER%\AnsysInc\v%REVN%\commonfiles\tools\%ANSYS_SYSDIR%\ProductConfig.exe" -silent -prereqs -configmkdir C:\Tempnet share Temp=C:\Temp /grant:everyone,fullcall clusrun mkdir C:\Tempcall clusrun set awpcall clusrun set ansys

4. Double-click the cfx_setup.bat file.

5. Verify that the Ansys Inc directory has been shared and that Everyone has

Full Control.

Run CasPol on the Head Node

If RSM will be used to solve local or remote jobs on mapped network drives, you

may need to modify security settings to allow code to execute from those drives

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.104

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 109: ANSYS Installation Tutorial

because code libraries may be copied to working directories within the project.

By default, the .NET 3.5 Framework prevents applications from being run over a

network. You can allow network execution by running the Microsoft CasPol

utility from the command line. The CasPol utility is located under the .NET

Framework installation, as follows: C:\Windows\Microsoft.NET\Frame-work64\v2.0.50727

On the head node, open up a Command Prompt and type the following:

clusrun C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CasPol.exe -q -machine -ag 1 -url"file://headnode/sharename/*"FullTrust -name "Shared Drive Work Dir"

Configuring RSM on the Head Node (Using the RSM Setup Wizard)

RSM Services are required if the computer will be accessed by remote RSM Clients

(Solve Manager Service required) or a remote Solve Manager (Compute Server

service required [aka ScriptHost ]). Use the following steps to install the Solve

Manager and Compute Server services as required. Administrative privileges are

required to perform these steps.

1. Before starting the configuration, verify that no Ans.Rsm.* processes are run-

ning in Task Manager.

2. Open up Task Manager, select the Processes tab and look for the following:

• Ans.Rsm.Admin.exe

• Ans.RSM.JMHost.exe

3. If these services are running, open up Control Panel > Administrative Tools >

Services and stop these services.

4. Go to Start > All Programs > ANSYS 14.5 > Remote Solve Manager.

5. Choose RSM Setup 14.5 Wizard.

6. Create a Shared Cluster Directory. For example, C:\Temp .

7. Share this directory giving Full Control to all users submitting jobs.

8. Follow the steps of the ANSYS Remote Solve Manager Setup Wizard.

105Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 110: ANSYS Installation Tutorial

9. Set the Cluster Type to Windows HPC and click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.106

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 111: ANSYS Installation Tutorial

10. Click Start Services.

107Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 112: ANSYS Installation Tutorial

11. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.108

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 113: ANSYS Installation Tutorial

12. Click Next.

109Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 114: ANSYS Installation Tutorial

13. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.110

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 115: ANSYS Installation Tutorial

Adding a Compute Server

1. Enter a Display Name for the server; this name can be any name that makes

sense for you. This example will use MS Compute Cluster.

2. Enter the Machine Name. This name must be the actual computer name of the

head node. This example will use HEADNODE.

111Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 116: ANSYS Installation Tutorial

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.112

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 117: ANSYS Installation Tutorial

3. Set the Shared Cluster Directory to the directory that is shared out to all the

cluster nodes from the Headnode. This example will use the shared temp direct-

ory \\Headnode\Temp . See Step 6 in Configuring RSM on the Head Node.

113Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 118: ANSYS Installation Tutorial

4. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.114

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 119: ANSYS Installation Tutorial

5. Click Next.

115Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 120: ANSYS Installation Tutorial

6. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.116

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 121: ANSYS Installation Tutorial

7. Click Next.

117Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 122: ANSYS Installation Tutorial

Adding a Queue

1. Enter a Name for this queue. In this example, we will use MS ComputeCluster.

2. The Compute Server you added previously (MS Compute Server in this ex-

ample) appears under Assigned Servers. Check the box next to it.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.118

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 123: ANSYS Installation Tutorial

3. Choose Yes and click Next.

119Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 124: ANSYS Installation Tutorial

4. This is the username and password that you use to log into your Windows ma-

chine.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.120

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 125: ANSYS Installation Tutorial

Testing the Connection

Select Start Test to test the connection and view a report of any problems. Once

the test is complete it should read Finished. If it fails, please check the steps

about to make sure you followed all of the steps correctly (especially adding

firewall ports, etc.).

121Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 126: ANSYS Installation Tutorial

Configure Multiple Network Cards (NIC)

If your Microsoft HPC Cluster head node is configured using multiple network

cards where there is more than one network defined, you must edit some con-

figuration files on the head node to explicitly define the IP address of the head

node.

On the client machine, ping the head node using the fully qualified domain

name, for example, open up a Command Prompt and type: ping headnode.do-

main.com (where headnode is the actual name of the head node).

The ping command should return a statement similar to the following:

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.122

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 127: ANSYS Installation Tutorial

Pinging headnode.domain.com [10.2.10.32] with 32 bytes of data:Reply from 10.2.10.32: bytes=32 time=56ms TTL=61

Note

The IP address (10.2.10.32 in the above example). You will need

this address in the following steps.

1. Navigate to C:\Program Files\Ansys Inc\V145\RSM\bin and locate

the Ans.Rsm.JMHost.exe.config and Ans.Rsm.SHHost.exe.configfiles.

2. Open both files in a text editor.

3. Add the following text, machineName="ip_address to the line highlighted

below under <channels> (where IP address was obtained from Step 1). In the

example above, it would look like the following:

machineName="10.2.10.32

...<channels><channel ref="tcp" port="9140" secure="false"machineName="ip_address"><serverProviders><formatter ref="binary" typeFilterLevel="Full"/></serverProviders></channel></channels>

Configuring RSM on the Client Machine (Using the RSM Setup Wizard)

Run the following steps from each RSM client (end user) machine that will be

submitting RSM jobs to the Microsoft HPC cluster. The last step is a test to verify

that communication between the head node and the client machine is working

correctly. If the test fails, you must resolve any errors before continuing with this

tutorial.

1. Install ANSYS, Inc. products on each client machine that will be submitting RSM

jobs to the Microsoft HPC cluster. When installing, be sure to choose a product

that includes ANSYS Workbench. Please see the tutorials on the Downloads page

of the Customer Portal for detailed instructions on installing ANSYS, Inc. products.

2. Open RSM by selecting Start> Programs > ANSYS 14.5 > Remote Solve Man-

ager Wizard.

123Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 128: ANSYS Installation Tutorial

3. Right-click on My Computer [Set Password] in the RSM tree on the client ma-

chine and select Set Password to set the password for the client machine. A

Command Prompt will open, prompting for the user's password.

4. Select Tools> Options. In the Name field, add the name of the head node

(Headnode) Click Add and then click OK.

Configuring CFX on the Client Machines

Before You Start

Verify that the Ansys Inc directory is shared on the HEADNODE, typically in-

stalled under C:\Program Files as Ansys Inc.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.124

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 129: ANSYS Installation Tutorial

Instructions

1. Install the Microsoft HPC 2008 Server Client Utilities on the client machines from

the head node network share called \\HEADNODE\REMINST or from the CD.

On the Client computer, select Start > Run and type \\HEADNODE\REMINST(where HEADNODE is the actually name of the head node on the cluster)

2. Double-click on the setup.exe file. The installer will prompt you to install re-

quired programs.

3. Create a working directory (the directory where your model files reside, for ex-

ample, .def ). The working directory where your models are stored can be a

local drive, a drive on the HEADNODE or network storage drive. CFX solving

does NOT do a great deal of DISK I/O so a fast SATA drive is sufficient for file

access.

4. Share the working directory and give Full Control Access to the USER.

5. Create a cfxccs_options.txt file in the \%USERPROFILE%\.cfx\ direct-

ory. You can open up Windows Explorer and in the Address Bar type: %USERPRO-FILE% to locate the .cfx directory.

Creating a cfxccs_options.txt File

1. The cxfccs_options.txt file can be created with any text editor. Add the

following KEYWORDS:

Note

The keywords in this file are case sensitive. For example, you can-

not use lowercase pathmap; it has to be uppercase PATHMAP.

Additionally, you cannot have a blank carriage return after the last

entry.

125Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 130: ANSYS Installation Tutorial

PATHMAP="C:\Program Files\Ansys Inc";\\HEADNODE\Ansys Inc (Where headnode is the actual name of the headnode)PATHMAP=C:\CFX_Working Dir;\\CLIENT_MACHINE_HOSTNAME\CFX_Working_Dir(Where C:CFX_Working_Dir is the actual location of the working directory and;\\CLIENT_MACHINE_HOSTNAME\CFX_Working_Dir is the HostName of the Clientcomputer and the "shared" name of the working directory.CLUSTERHOST=HEADNODE

Example of a cfxccs_options.txt file

PATHMAP="C:\Program Files\ANSYS Inc";"\\HEADNODE\ANSYS Inc"PATHMAP="C:\CFX_Working_Dir;\\CLIENT_MACHINE_HOSTNAME\CFX_Working_DirCLUSTERHOST=HEADNODE

Note

There are other available options you can add to the cfxccs_op-tions.txt file. Please see ANSYS Help for more information.

2. Verify that the cfxccs_options.txt file that you created does not have a

hidden file extension, for example, cfxccs_options.txt.txt You can verify

this by going to Windows Explorer > Tools > Folder Options. Uncheck Hide

File Extensions for Known File Types. You will then be able to verify if there is

an additional extension. If it does have a hidden extension, you must remove the

additional .txt extension.

Submitting CFX Jobs through Workbench

1. Open Workbench.

2. Set up your model.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.126

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 131: ANSYS Installation Tutorial

3. Choose the View > Properties (to view Solution Properties)

4. Select Solution.

5. Choose the following options for Job Submission via RSM:

• Update Option: Submit to Remote Solve Manager

• Solve Manager: Headnode (Microsoft HPC Compute Cluster Headnode name)

• Queue: Headnode (Microsoft HPC Compute Cluster Headnode name or another

Queue you have defined)

• Execution Mode: Parallel

• Number of Processors: Number of cores you wish to run on (depends on li-

cense availability)

Configuring RSM Manually

1. Open up ANSYS 14.5 Help.

2. Search for // Remote Solve Manager (RSM).

127Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 132: ANSYS Installation Tutorial

Troubleshooting

Exception from TaskHost: A required privilege is not held by

the client

Problem:

Compute Server running as: DOMAIN\usernameLogged on user DOMAIN\usernameException from TaskHost: A required privilege is not held by the client"C:\Program Files\ANSYS Inc\v145\RSM\bin\Ans.Rsm.TaskHost.exe"]Caught exception from script: [0x80004005] A required privilege is notheld by the client ["C:\Program Files\ANSYS Inc\v145\RSM\bin\Ans.Rsm.TaskHost.exe"].

Explanation: You have multiple users trying to use RSM, and it has not been

configured to do this. On Windows, you can see this by (on the machine where

RSM is running) by looking at Task Manager > Processes. RSM has been setup

as the user and not SYSTEM. This is incorrect. For a multi-user environment, they

should be running as SYSTEM.

Resolution: Install RSM as a Service (Windows) or as a Daemon (Linux).

Caught exception at user logon; logon failure: unknown user

name or bad password

Problem: You get the following error in the RSM log file:

Compute Server running as: DOMAIN\usernameCaught exception at user logon: A required privilege is not held by the client.

Resolution: If you see this (on your machine in the example above, but could

be any RSM Manager) you need to right-click on it and select Set Password as

your password is not set.

For a password dialogue (below), if your domain and name match the one

showing, press Enter. If not, an alternate will be created and given the name

you provide at this point. Put in your password (in most cases your domain

password) when prompted.

To do this with a remote RSM Solve Manager you must add it to your local RSM

Solve Manager to be able to view it:

1. Click on the Tools menu in the local RSM Solve Manager.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.128

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 133: ANSYS Installation Tutorial

2. Then click on Options. You should then see the below screen:

3. To add another RSM Manager:

• Click on the Name bar and enter the name of the remote machine.

• Click the Add button.

• You should now see its name under Solve Managers.

• Going back to the main window, you should see it under the tree view.

• You can now right-click on the remote computer name and use Set Pass-

word to set the password.

If you are still getting this error after you have set the password, right-

click on the RSM Solve Manager machine name and select Accounts. If

you right-click on the account name, delete the account, and then close

the dialogue, you will then need to set your password again. This should

rectify the problem.

That assembly does not allow partially trusted callers.

Problem: In the RSM log you may see the following:

Exception from Script: That assembly does not allow partially trusted callers. Exception from TaskHost: That assembly does not allow partially trusted callers. Caught exception from script: That assembly does not allow partially trusted callers.

Explanation: RSM is written using .NET, and .NET cannot be run from a network

share without first allowing permissions through Caspol. See the section above,

Run CasPol on the Head Node.

Command Exit Code: -1

Problem:

/home/rsm/koyym29o.fqs/stdout.out doesn't exist/home/rsm/koyym29o.fqs/stderr.out doesn't existTask completed.Job script Run completed...Job failed

Resolution: In the Remote Solve Manager console, right-click on the Compute

Server and select Properties. On the Compute Server Dialog, set File Manage-

ment to one of the following:

129Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 134: ANSYS Installation Tutorial

• Reuse Shared Cluster Directory

• Use Execution Node Local Disk. In this case, the Working Directory from

the General tab can be set to be either Automatically Determined, or any

different working directory from the Shared Cluster Directory, if set to User

Specified.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.130

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® CFX® and Workbench to Submit Solve Jobs to HPC Cluster

Page 135: ANSYS Installation Tutorial

Using the Remote Solve Manager Setup Wizard to

Configure ANSYS® FLUENT® and Workbench to

Submit Solve Jobs to HPC Cluster

Assumptions

This document assumes the following:

1. That you have installed and configured Microsoft HPC properly and that the

compute nodes can access the head node. If Microsoft HPC is not configured

properly contact Microsoft for support before you attempt to install CFX or ANSYS®

FLUENT®. You can also download the Getting Started Guide for Windows HPC

Server 2008 at http://technet.microsoft.com/en-us/library/cc793950.aspx. This

guide is also available with the installation files for Microsoft® HPC Pack 2008

(HPCGettingStarted.rtf , in the root folder).

2. That you are local administrator of the cluster and know how to share directories

and map network drives. If you do not know how to do these tasks please contact

your Systems Administrator for assistance. You can also go to Help and Sup-

port from the Start Menu on your desktop.

3. You will need the machine name of the head node on the Microsoft HPC cluster.

4. You must be able to install and run ANSYS, Inc. products, including licensing, on

Windows systems. Please see the tutorials on the Download Center at https://

www1.ansys.com/customer/ to install ANSYS, Inc. product and licensing installation.

5. If you have any problems with or questions about the installation process, please

log a Service Request on the ANSYS Customer Portal. A Systems Support Specialist

will respond to assist you.

131Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 136: ANSYS Installation Tutorial

Install FLUENT on the Head Node on the Microsoft Windows Cluster

Important

If you run the ANSYS Remote Solve Manager Setup Wizard, this step

is not required; the wizard will run through this configuration as noted

in the sample batch file. You will, however, need to share the fluentdirectory and give Full Control to all users.

Workbench and RSM will be installed automatically.

1. Install FLUENT (it is only necessary to install FLUENT on the Head node). By default

it will be installed in C:\Program Files\ANSYS Inc\v145\fluent .

2. Ensure that the Microsoft HPC user account has Read and Execute permission

for this directory. Typically, adding DOMAIN USERS to the list of users that have

access to submit jobs to the compute cluster is sufficient.

3. Copy and paste the following text and .bat file extension (for example,

fluent_setup.bat , assuming that you will be using C:\Temp as the

share name. Change that to the actual share name)

SET REVN=145SET ANSYS_SYSDIR=winx64net share fluent="C:\Program Files\AnsysInc\v145\fluent" /grant:everyone,fullcall clusrun /env:SEE_MASK_NOZONECHECKS=1 "\\%CCP_SCHEDULER%\AnsysInc\v%REVN%\commonfiles\tools\%ANSYS_SYSDIR%\ProductConfig.exe" -silent-prereqs-configmkdir C:\Tempnet share Temp=C:\Temp/grant:everyone,fullcall clusrun mkdir C:\Tempcall clusrun set awpcall clusrun set ansys

4. Double-click the fluent_setup.bat file.

5. Verify that the fluent directory has been shared and that Everyone has Full

Control.

Run Caspol on the Head Node

If RSM will be used to solve local or remote jobs on mapped network drives, you

may need to modify security settings to allow code to execute from those drives

because code libraries may be copied to working directories within the project.

By default, the .NET 3.5 Framework prevents applications from being run over a

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.132

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 137: ANSYS Installation Tutorial

network. You can allow network execution by running the Microsoft CasPol

utility from the command line. The CasPol utility is located under the .NET

Framework installation, as C:\Windows\Microsoft.NET\Frame-work64\v2.0.50727 .

On the Head Node open up a Command Prompt and type the following (all on

one line):

clusrun C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CasPol.exe -q -machine -ag 1 -url "file://headnode/sharename/*" FullTrust -name "Shared Drive Work Dir"

Configure RSM on the Head Node Using the RSM Wizard

RSM Services are required if the computer will be accessed by remote Clients

(Manager Service required) or a remote Manager (Compute Server service required

[aka ScriptHost]). Use the following steps to install the Manager and Compute

Server services as required. Administrative privileges are required to perform

these steps.

1. Before starting the configuration, verify that no Ans.Rsm.* processes are running

in Task Manager.

2. Open up Task Manager, Choose the Processes tab and look for the following:

a. Ans.Rsm.Admin.exe

b. Ans.RSM.JMHost.exe

3. If these services are running open up Control Panel, Administrative

Tools, Services and stop these services.

4. Go to Start > All Programs > ANSYS 14.5 > Remote Solve Manager.

5. Choose RSM Setup 14.5 Wizard.

6. Create a Shared Cluster Directory; for example,C:\Temp .

7. Share this directory giving Full Control to all users submitting jobs.

8. Follow the steps of the RSM Setup Wizard.

133Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 138: ANSYS Installation Tutorial

9. Set the Cluster Type to Windows HPC. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.134

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 139: ANSYS Installation Tutorial

10. Click Start Services.

135Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 140: ANSYS Installation Tutorial

11. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.136

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 141: ANSYS Installation Tutorial

12. Click Next.

137Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 142: ANSYS Installation Tutorial

13. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.138

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 143: ANSYS Installation Tutorial

14. Enter a Display Name for the server; this name can be any name that makes

sense for you. This example will use MS Compute Cluster.

15. Enter the Machine Name. This name must be the actual computer name of the

head node. This example will use HEADNODE.

139Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 144: ANSYS Installation Tutorial

16. Choose Network Share and click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.140

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 145: ANSYS Installation Tutorial

17. Set the Shared Cluster Directory to the directory that is shared out to all the

cluster nodes from the Head node. This example will use the shared temp direct-

ory \\Headnode\Temp . This is the directory you created in Step 6. Then click

Next.

141Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 146: ANSYS Installation Tutorial

18. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.142

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 147: ANSYS Installation Tutorial

19. Click Next.

143Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 148: ANSYS Installation Tutorial

20. Click Next.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.144

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 149: ANSYS Installation Tutorial

21. Click Next.

145Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 150: ANSYS Installation Tutorial

22. Enter a name for this queue. In this example, we will use MS Compute Cluster.

23. The Compute Server you added previously (MS Compute Cluster in this example)

appears in the Select Compute Servers to assign to this Queue window. Check

the box next to it.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.146

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 151: ANSYS Installation Tutorial

24. Choose Yes and Click Next.

147Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 152: ANSYS Installation Tutorial

25. Enter the username and password that you use to log into your Windows ma-

chine.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.148

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 153: ANSYS Installation Tutorial

26. Select Start Test to test the connection and view a report of any problems. Once

the test is complete it should read Finished. If it fails, please check the steps

above to make sure you followed all of the steps correctly, especially when

adding firewall ports, etc.

149Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 154: ANSYS Installation Tutorial

Configure Multiple Network Cards

If your Microsoft HPC Cluster head node is configured using multiple network

cards where there is more than one network defined, you must edit some con-

figuration files on the headnode to explicitly define the IP address of the head

node.

On the client machine, ping the head node using the fully qualified domain

name, for example, open up a Command Prompt and type:

C:\>ping headnode.domain.com

where headnode is the actual name of the head node)

The ping command should return a statement similar to the following:

Pinging headnode.domain.com [10.2.10.32] with 32 bytes of data:Reply from 10.2.10.32: bytes=32 time=56ms TTL=61

Note the IP address (10.2.10.32 in the above example). You will need this

address in the following steps.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.150

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 155: ANSYS Installation Tutorial

1. Navigate to C:\Program Files\Ansys Inc\V145\RSM\bin and locate

the Ans.Rsm.JMHost.exe.config and Ans.Rsm.SHHost.exe.con-fig files.

2. Open both files in a text editor.

3. Add the following text, machineName="ip_address” to the line highlighted

below under <channels> (Where IP address was obtained from Step 1. In the

example above it would look like the example below:

...<channels> <channel ref="tcp" port="9140" secure="false" machineName="ip_address"> <serverProviders> <formatter ref="binary" typeFilterLevel="Full"/> </serverProviders> </channel></channels>...

Run the following steps from each RSM client (end user) machine that will be

submitting RSM jobs to the Microsoft HPC cluster. The last step is a test to verify

that communication between the head node and the client machine is working

correctly. If the test fails, you must resolve any errors before continuing with this

tutorial.

1. Install ANSYS, Inc. products on each client machine that will be submitting RSM

jobs to the Microsoft HPC cluster. When installing, be sure to choose a product

that includes ANSYS Workbench. See the tutorials on the Downloads page of

the ANSYS Customer Portal.

2. Open RSM (Start > Programs > ANSYS 14.5 > Remote Solve Manager Wizard.

3. Right-click My Computer [Set Password] in the RSM tree on the client machine

and select Set Password to set the password for the client machine. A command

prompt will open, prompting for the user's password.

4. Select Tools > Options.

5. In the Name field, add the name of the head node (Headnode in this example).

6. Click Add, then click OK.

151Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 156: ANSYS Installation Tutorial

Configure FLUENT on the Client Machine

1. Client machines must be running Microsoft Windows XP 64-bit, Windows Vista

64-bit, Windows 7 64-bit or Microsoft HPC 2008 Server 64-bit.

2. Client machines must have the Microsoft HPC 2008 Server Client Utilities installed.

3. Client machines must have a have a high-end graphics card with the latest

graphics driver from the vendor installed. Contact ANSYS for recommendations.

4. All pre/post processing will be done on the client machines. Only the FLUENT

solve jobs will be submitted to the cluster.

Configure FLUENT

1. Install the Microsoft HPC 2008 Server Client Utilities on the client machines from

the head node network share called \\HEADNODE\REMINST or from the CD.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.152

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 157: ANSYS Installation Tutorial

On the client computer choose Start > Run and enter \\HEADNODE\RE-MINST (where HEADNODE is the actual name of the Head Node on the cluster).

2. Double-click on the setup.exe file. The installer will prompt you to install re-

quired programs.

3. Create a working directory (A working directory is the directory where your case

and data files reside). The working directory should not contain spaces in the

directory name.

4. Share the working directory and give Full Control Access

5. Map a Network drive to the Shared Working Directory. (This is required if you

will be compiling and loading UDFs)

Submit FLUENT jobs through Workbench

1. Open Workbench.

2. Open your FLUENT project.

3. Right-click on Setup cell>Import Case.

Note

Before you can submit a job to the Microsoft Compute Cluster

through Workbench you Must change the FLUENT Root Path in

the FLUENT Launcher to a UNC path (\\HEADNODE\fluent )

and by launching FLUENT once this change has been made. Once

FLUENT has launched using the UNC in the FLUENT Root Path,

FLUENT will save the settings for future runs and this step will

no longer be required.

4. Right-click the Setup cell and choose Edit.

153Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 158: ANSYS Installation Tutorial

5. Start the FLUENT Launcher and change the FLUENT Root Path to a UNC Path

pointing to the HEADNODE on the MS HPC Cluster and the Shared Fluent direct-

ory name.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.154

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 159: ANSYS Installation Tutorial

6. After the run is completed, right-click the Solution cell.

7. Check the following under the Solution Process:

• Update Option: Submit to Remote Solve manager.

• Solve Manager: Type in the name of the Head Node on the Compute Cluster.

155Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 160: ANSYS Installation Tutorial

• Queue: Choose the MS Cluster Queue.

• Execution Mode: Parallel.

• Number of Processors: Enter the number of cores you want to run on.

Configure RSM Manually

Open up ANSYS 14.5 Help and search for : // Remote Solve Manager (RSM).

Troubleshooting

Exception from TaskHost: A required privilege is not held by the client

Problem:

Compute Server running as: DOMAIN\username

Logged on user DOMAIN\username

Exception from TaskHost: A required privilege is not held by the client ["C:\Program Files\ANSYS Inc\v145\RSM\bin\Ans.Rsm.TaskHost.exe"]Caught exception from script: [0x80004005] A required privilege is not held by the client ["C:\Program Files\ANSYS Inc\v145\RSM\bin\Ans.Rsm.TaskHost.exe"].

Explanation

You have multiple users trying to use RSM and it has not been configured to do

this.

On Windows, you can see this on the machine where RSM is running by looking

at Task Manager > Processes. RSM has been set up as the user instead of SYS-

TEM. This is incorrect. For a multi-user environment the user should be running

as SYSTEM.

Resolution

To fix this you need to install RSM as a Service (Windows) or as a Daemon (Linux).

Caught exception at user logon; logon failure: unknown user name or bad

password

Problem

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.156

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster

Page 161: ANSYS Installation Tutorial

You get the following error in the RSM log file:

Compute Server running as: DOMAIN\ username

Caught exception at user logon: A required privilege is not held by the client.

Resolution

If you see this (on your machine in the example above, but it could be any RSM

Manager), you need to right click on it and press set password, as your password

is not set.

For the password dialog, if your domain and name match the one shown, press

Enter. If not, an alternate will be created given the name you provide at this

point. Then put in your password (in most cases your domain password) when

prompted.

To do this with a remote RSM Manager you must add it to your local RSM Man-

ager to be able to view it:

1. Click on the Tools menu in the local RSM Manager.

2. Click on Options.

3. To add another RSM Manager:

a. Click on the Name bar and enter the name of the remote machine.

b. Click the Add button.

You should now see its name under Solve Managers.

c. Go back to the Main Window. The remote machine name should be visible

under the tree view.

d. Right-click on the remote computer name and use Set Password to set the

password.

If you still get this error after setting the password, right-click on the RSM

Manager Machine and select Accounts.

Right click on the account name and delete it. Then close the dialog and

set your password again. This should correct the problem.

157Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,

Inc. and its subsidiaries and affiliates.

Page 162: ANSYS Installation Tutorial

That assembly does not allow partially trusted callers

Problem

In the RSM log you may see the following:

Exception from Script: That assembly does not allow partially trusted callers. Exception from TaskHost: That assembly does not allow partially trusted callers. Caught exception from script: That assembly does not allow partially trusted callers.

Explanation

RSM is written using .NET. and .NET cannot be run from a network share without

first allowing permissions through Caspol. See the earlier section about Running

Caspol on the Head Node.

Command Exit Code: -1

/home/rsm/koyym29o.fqs/stdout.out doesn't exist/home/rsm/koyym29o.fqs/stderr.out doesn't existTask completed.Job script Run completed...Job failed

Resolution

In the Remote Solve Manager console, right click on Compute Server. From the

Compute Server dialog, choose File Management to be either:

• Reuse Shared Cluster Directory, or

• Use Execution Node Local Disk and set the Working Directory from the

General tab to be either Automatically Determined or, if User Specified is

selected, any different working directory from shared cluster directory.

Release 14.5 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information of ANSYS,Inc. and its subsidiaries and affiliates.158

Using the Remote Solve Manager Setup Wizard to Configure AN-

SYS® FLUENT® and Workbench to Submit Solve Jobs to HPC Cluster