AnsysEMInstallGuide Linux PDF
AnsysEMInstallGuide Linux PDF
0
Unix/Linux Installation Guide
© 2014 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.
ANSYS, HFSS, Maxwell, Q3D, Simplorer, SIwave, and Optimetrics 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 subsidiaries in the United States or other countries. 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, compliance with exporting laws, warranties,
disclaimers, limitations of liability, and remedies, and other provisions. The software products and
documentation may be used, disclosed, transferred, or copied only in accordance with the terms
and conditions of that software license agreement.
For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license
agreement, the use, duplication, or disclosure by the United States Government is subject to
restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non-DOD
licenses).
Third-Party Software
See the legal information in the product help files for the complete Legal Notice for ANSYS
proprietary software and third-party software. If you are unable to access the Legal Notice,
please contact ANSYS, Inc.
Contents-1
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electromagnetics Unix/Linux Installation Guide
Contents-2
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
1
Getting Started
Installation Prerequisites
Before installing ANSYS Electromagnetics Suite software,
you need the following:
• The ANSYS Electromagnetics product CD or product down-
load (see "Additional Resources" on page 1-9 for down-
load information).
• A license file based on the ansoftd vendor daemon.
• The ANSYS License Manager software download.
• A computer with TCP/IP installed, for counted evalua-
tion and purchased licenses.
• A computer that meets the minimum or recommended sys-
tem requirements, which depends on the specific ANSYS
Electromagnetics products you plan to run (see product
release notes for specifications).
ANSYS Electromagnetics Suite Software
The ANSYS Electromagnetics product or equivalent download
contains:
• The ANSYS Electromagnetics Suite software and project
examples.
• Third-party software, when necessary, for viewing
online documentation (for example, HTML Help or Adobe
Acrobat Reader).
• Documentation files.
License File
Most ANSYS Electromagnetics products require a license,
which is sent as an e-mail attachment. After you receive a
license file, save it to a temporary location.
The license file requires a license hostid, which is a
hardware device used to validate the license. A list of
supported hostids, and a general explanation of hostids,
is available in Appendix B, "License hostid."
If you do not have a license file for the ANSYS Electro-
magnetics software you are about to install, please con-
tact your ANSYS sales representative.
License Server
Once you have purchased the software, you must designate
a machine on your network to act as a license server. The
ANSYS License Manager must be installed in one of the fol-
lowing two locations:
• On the computer where the software will be installed.
• On another machine accessible over the network.
• You can install the ANSYS License Manager before or
after you install the ANSYS Electromagnetics software
• libjpeg.i686
• zlib.i686
libXft.i686: Also includes required dependencies:
• fontconfig.i686
• freetype.i686
• libXrender.i686
libXxf86vm.i686
Additional Graphics Libraries
ANSYS Electromagnetics applications make use of OpenGL
libraries. If you experience sluggishness when inter-
acting with the UI, or if you see any of the following
errors, you will need to install OpenGL libraries.
• Unable to resolve function glXQueryExtension
• Failed to initialize an OpenGL view
ANSYS recommends the use of OpenGL libraries provided
by the manufacturer for the graphics card in your
machine. Alternately, you may consider installing the
Mesa OpenGL RPM package mesa-libGL.i686 and its depen-
dencies.
License Server
Required Libraries to Install License Server
The following minimal set of 32-bit libraries and
their dependencies are required to install applica-
tions. Note that these are the minimum versions
required; you may use newer versions.
glibc.i686
compat-libstdc++-33.i686
Required Libraries to Run License Server
The following minimal set of 32-bit libraries and
their dependencies are required to run applications.
Note that these are the minimum versions required; you
may use newer versions.
glibc.i686
glib2.i686
bzip2-libs.i686
compat-expat1.i686
compat-libstdc++-33.i686
libpng.el6.i686
libtiff.i686: Also includes required dependencies:
• libjpeg.i686
• zlib.i686
libXft.i686: Also includes required dependencies:
• fontconfig.i686
• freetype.i686
• libXrender.i686
libXxf86vm.i686
Additional Prerequisites
Red Hat Enterprise Linux 6.1 introduces biosdevname,
an optional convention for naming network interfaces.
biosdevname assigns names to network interfaces based
on their physical location. Note, however that bios-
devname is disabled by default, except for a limited
set of Dell systems. The FLEX license manager requires
a network device that is named ethX, where X is the
lowest numbered eth device (e.g.: eth0, or eth1).
Licensing does not work when the device has any other
name. To resolve this, you will need to change the name
of the device to match the Linux standard convention.
There are four options you can use to enable the stan-
dard ethernet names:
1. If you do not need to use the Consistent Network
Device Naming package, you can remove the bios-
devname package from your installation by running
the following command in a terminal as root:
yum remove biosdevname
This removes the package and on reboot will restore
the traditional naming scheme.
2. You can update the name in the /etc/sysconfig/net-
work-scripts/ifcfg-* file:
There should be a file in /etc/sysconfig/network-
scripts that is named "ifcfg-" and the name of your
network device. To restore the name, you can rename
this file to "ifcfg-eth0" and rename the device
name from the current name to eth0 in the contents
of the file. Once updated, restarting networking
services or rebooting should enable the change.
3. You can write rules in /etc/udev/rules.d/70-per-
Getting Started 1-7
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.
ANSYS Electromagnetics Unix/Linux Installation Guide
Additional Resources
General: The ANSYS web site: http://www.ansys.com.
Downloads: Software downloads (including FLEXlm for
Ansoft) and installation-related documentation
are available at the ANSYS customer portal,
http://www.ansys.com/customer/default.asp
Online Available through the ANSYS customer portal:
Technical http://www.ansys.com/customer/default.asp
Support: Under Online Support, choose ANSYS
Electromagnetics Customer Support.
ANSYS Electromagnetics’s technical support
site provides access to frequently asked
questions, application notes, presentations,
and example scripts.
Product Release During installation, read the release notes.
Notes: In the initial setup window, click View Release
Notes to see any important, late-breaking
information that was not included in the ANSYS
Electromagnetics Installation Guide. After
installation, the release notes are available
in the readme file located in the product
directory.
Product Getting Started Guides and other printed
Documentation: documentation may be available at the
following locations:
• In the product package.
• On the product CD in the
Documentation directory, depending on
the product (in Portable Document
Format [PDF]).
Online help files are accessible from the Help
menu of each application installed, and they
are located in the Help subdirectory of each
product directory. The online help system is in
one of two formats: Microsoft HTML Help or pdf.
7. Click Next.
Depending on the software and version being installed,
one or both of the following screens may appear before
the Select License Information screen: the Choose Tem-
porary Directory Location screen and/or the Select
Library Option screen.
8. If the Temporary Directory Location screen appears,
select a default location for all simulations (includ-
ing local) to use as a temporary work space.
• If desired, change the temporary directory assign-
ment. You can edit the field directly or use the
Browse button to display file browser to let you
navigate the directories on your machine and net-
work.
• If desired, check the option to add read/write per-
missions for all users. If the installation will be
used for remote simulation by multiple users, all
users must have permissions on the temporary direc-
tory.
9. If the Choose Library Option screen appears, do one of
the following to specify the location of ANSYS Elec-
tromagnetics libraries:
Note ANSYS Electromagnetics libraries are large
databases of electronic components, developed by
ANSYS and various manufacturers.
• Click This local installation to copy and install
the default ANSYS Electromagnetics component
libraries, and then click Next.
• Click The following common location to use librar-
ies that are already installed (locally or on the
network). Click Browse, select the appropriate
path, and click OK. Click Next.
10.Click Next.
The License Information screen appears.
Remote Simulations
Most ANSYS Electromagnetics products offer remote simula-
tion capabilities, where you can run a simulation on a
different machine from the one on which the ANSYS Elec-
tromagnetics software was started. This is particularly
useful if you want to take advantage of a more powerful
machine but it is not convenient to directly access that
machine. This can also be extended into distributed anal-
ysis, where a specified analysis, if supported, is con-
currently solved on multiple processors and/or multiple
nodes.
ANSYS Electromagnetics supports its own Remote Simulation
Management (RSM) software, as well as a number of High
Performance Computing (HPC) software management programs
(see "High Performance Computing (HPC) Integration" on
page 3-9).
Installation/Configuration Overview
Both RSM and ANSYS Electromagnetics applications can be
installed in one central location. You do not have to
install the application on each machine/node. We recom-
mend using the network-based directions below.
Network Installation: Overview
1. Install all ANSYS Electromagnetics products in a net-
work location accessible from all machines. See
"Installing the Software" on page 2-3 for details on
installing an ANSYS Electromagnetics product.
2. Install RSM in a network location accessible from all
machines.
3. On every machine, configure and start RSM.
4. On one machine, register ANSYS Electromagnetics prod-
uct installations with RSM.
Non-Network Installation: Overview
1. Install ANSYS Electromagnetics products on every
machine. See "Installing the Software" on page 2-3 for
details on installing an ANSYS Electromagnetics prod-
uct.
2. Install RSM on every machine.
3. On every machine, configure and start RSM.
4. On every machine, register ANSYS Electromagnetics
product installations with RSM.
Installing RSM
To install ANSYS Electromagnetics RSM software:
1. If you have received a CD or DVD for the ANSYS Electro-
magnetics product you wish to install, insert it into
the CD-ROM drive and run install from the top-level
directory of the CD-ROM.
If you downloaded the ANSYS Electromagnetics product
from ANSYS Electromagnetics software downloads website
(see "Additional Resources" on page 1-9), unzip the
download, and run the install file in the newly cre-
ated directory.
An initial Installation Shell screen automatically appears.
2. Click Install RSM for the product you want to install.
A Welcome screen appears.
Configuring RSM
General RSM syntax
RSM's command-line interface uses an LSB-compliant syn-
tax:
<path to RSM installation>/rsm/ansoftrsmservice command,
where command includes:
• help : Show full details of all RSM command options
User running
User who owns/launches solver processes
RSM
Non-root user User running RSM
root User who requests to solve, or if that
user does not exist on this machine, the
user who is running RSM
needed.
• If the first machine in the distributed machine
list is not the local machine and you are not run-
ning through a scheduler, then RSM must be used.
RSM needs to be installed and running on the remote
machine that will host the simulation, and the
ANSYS Electromagnetics Suite installation must be
registered with RSM on that machine (see the Remote
Analysis topic in the online help for details).
3. Configure MPI.
General Notes
If using a scheduler (for example, SGE or LSF) with a net-
work installation, the installation, setup and execution
are the same as for previous releases. If there are any
questions, refer to the online help for more information.
If you are interested in controlling which MPI Vendor to
use with Batchoptions, the option for setting this is:
'HFSS/MPIVendor'=Platform Computing
'HFSS-IE/MPIVendor'=Platform Computing
'Q3D Extractor/MPIVendor'=Platform Computing
or
'HFSS/MPIVendor'=Intel
'HFSS-IE/MPIVendor'=Intel
'Q3D Extractor/MPIVendor'=Intel
You can only change values to the right of the "=" sign.
Response File
The response file contains values you specified when
recording it. It can be used to configure the silent
installation with the options you prefer.
Following is an example of a typical response file:
#########################################################
############
# InstallShield Options File
#
# Wizard name: Install
# Wizard source: setup.jar
# Created on: Wed Sep 17 14:32:59 EDT 2003
# Created by: InstallShield Options File Generator
#
# This file contains values that were specified during a
recent execution of
# Install. It can be used to configure Install with the
options specified below
# when the wizard is run with the "-options" command line
option. Read each
# setting's documentation for information on how to
change its value.
#
# A common use of an options file is to run the wizard in
silent mode. This lets
# the options file author specify wizard settings without
having to run the
# wizard in graphical or console mode. To use this options
file for silent mode
# execution, use the following command line arguments
when running the wizard:
#
# -options "settings.txt" -silent
#
#########################################################
###########
#########################################################
###########
#
# License Agreement State
#
# The initial state of the License Agreement panel. Legal
values are:
#
# 0 - Nothing will be selected
# 1 - "I &accept the terms of the license agreement."
will be selected
# 2 - "I &do not accept the terms of the license agree-
ment." will be selected
#
# For example, to configure the panel to initially dis-
play "I &do not accept the
# terms of the license agreement.", use
#
# -W Agree.selection=2
#
-W Agree.selection=1
#########################################################
###########
#
# User Input Field - groupID
#
#
-W GroupPanel.groupID=""
#########################################################
###########
#
# Install Location
#
Silent Installation A-5
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential information
ANSYS Electromagnetics Unix/Linux Installation
-P installLocation="/usr/ansoft"
...
...
<remainder of file deleted>
http://www.ansys.com/Support/Licensing/Cap-
ture+License+Server+Information
Linux
To obtain an ethernet address as a valid license hostid
when running Red Hat Enterprise Linux:
1. If you are using a laptop, disconnect the laptop from
the docking station if docked.
2. Start a terminal session.
3. Type ip addr (normally located in the /sbin directory)
to see a listing of all active network devices.
4. Devices with an ethernet address show a Link encap
value of Ethernet. The ethernet address for each
device is the value in the HWaddr field, without
colons.
Hardware Key
Installing a Hardware Key on a USB Port
Only a single device can be installed on each USB port.
Flexera FLEXid hardware key for a USB Port
To install the hardware key on a USB
port:
1. Attach the hardware key to
the USB port.
2. If a prompt appears asking
you to install or
specify a driver, choose
Cancel.
See the ANSYS License Manager
documentation for instructions on
using USB dongles.
Machine hostid
A machine hostid is present on most Unix machines,
including Sun machines. To determine the hostid for a
supported Unix machine, enter the following command:
6. Click Next.
The Print Command dialog appears.
A I
ANSYS Electromagnetics software installing
installing 2-3 Common Libraries 4-1
updating 5-2 silent installation A-1
ANSYS License Manager 1-2 installing ANSYS Electromagnet-
ANSYS software ics software 2-3
silent installation A-1
ANSYS Web site 1-9
L
libraries
C installation 4-1
changing license servers 5-4 license server 1-2
Common Libraries 4-1 Linux
computer system requirements 1-2 setting up a printer C-1
contents of product package 1-1
M
D Message Passing Interface (MPI)
disk space 6-1
verifying amount 2-2 MPI installation 6-1
documentation
about ANSYS products 1-9
about installation and con- O
figuration 1-9 online help 1-9
on ANSYS Web site 1-9 operating system 1-2
Index-1
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential information
ANSYS Electromagnetics Unix/Linux Installation
R
reinstalling ANSYS Electromag-
netics software 5-2
requirements
operating system 1-2
S
silent installation A-1
software
installing 2-3
silent installation A-1
updating 5-2
Solaris
setting up a printer C-1
system requirements 1-2
disk space 2-2
processor 1-2
U
updating a software license 5-4
updating ANSYS Electromagnetics
software 5-2
V
verifying
disk space available 2-2
Index-2
ANSYS Electromagnetics Suite 16.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary
and confidential information