Installation and Licensing Guide
-
Upload
dhaneshkumar -
Category
Documents
-
view
209 -
download
3
description
Transcript of Installation and Licensing Guide
1
Installation Guide
Setup of Dynardo Products
Dynardo products are available for Windows and Linux Systems. optiSLang can be installed asa single user or system wide software application. Depending on the installation directory rootprivileges might be required. The installation of optiSLang inside ANSYS requires root privileges.The particular installation source includes the application and the documentation. When startingthe installation executable the setup wizard will guide through the installation of the desiredproduct.
Windows Installation
• optiSLang
Start the installation wizard and follow the instructions. After clicking "Next" choose user orsystem wide installation. The installation for all users will require admin privileges.
The next form will set the installation directory. Standard settings are:
• suggested location for all users: "Program Files"
• suggested location for current user: %LOCALAPPDATA%
Select additional tasks as creating a desktop icon.
Installation Guide
2
Finish the installation after checking your setting by clicking "Install". "Cancel" will abort theinstallation.
• optiSLang inside ANSYS Workbench
Start the installation wizard and follow the instructions. After clicking "Next" select thedestination location.
The suggested installation directory is:
%Program Files%\Dynardo\optiSLang inside ANSYS Workbench\4.0.6
Installation Guide
3
The executable "optiSLangAddin.exe" and the documentation will be installed into thisdirectory. Depending libraries and the SLang executable are stored in the Addin directory ofthe ANSYS Workbench installation.
Select all optiSLang tools that are supposed to be installed according to your ANSYSWorkbench version. Finish the installation after checking your setting by clicking "Install"."Cancel" will abort the installation.
Linux Installation
optiSLang
Unpack the tarball optiSLang_version.tar.bz2 using the following steps.
1. Copy optiSLang_version.tar.bz2 into the desired installation directory.
2. Extract the archive: tar -xjf optiSLang_version.tar.bz2
Or extract the tarball directly to the desired installation directory:
> tar -xjf optiSLang_version.tar.bz2 -C [installation path]
A new folder optiSLang_4.0.6 was created. This folder contains the executable, examples,tutorials, documentation and depending libraries.
For communication of optiSLang and optiSLang Inside ANSYS it's necessary to open the port-range 49690-49700 on for incoming and outgoing UDP and TCP connections.
Installation Guide
4
optiSLang inside ANSYS Workbench
To install optiSLang inside ANSYS on a linux system you have to define the installation path ofyour ANSYS Workbench as variable AWP_ROOT{version}. Where {version} is the 3 digit versionspecifier of your ANSYS Workbench version, e.g. 140 for ANSYS 14.0 or 145 for ANSYS 14.5
First define the AWP_ROOT variable in a terminal:
> export AWP_ROOT145=/opt/ansys_inc/v145
Now please run the installation script"optiSLangInsideAnsysWorkbench_x86_64_revision.run" in this terminal. Depending on yourANSYS Workbench installation you might have root privileges.
Alternative startup:
> ./optiSLangInsideAnsysWorkbench_x86_64_revision.run AWP_ROOT140=/opt/ansys_inc/v140 AWP_ROOT145=/opt/ansys_inc/v145
For a detailed help see also
> ./optiSLangInsideAnsysWorkbench_x86_64_revision.run help
and for help concerning silent installation see
> ./optiSLangInsideAnsysWorkbench_x86_64_revision.run help silent
The installation shell script guides through different pages.
• 1st page: Select the optiSLang inside ANSYS Workbench version using "Space" key and applywith "Enter".
• 2nd page: Then select the optiPlug version the same way and confirm the installation with"Enter". If you want to cancel the installation go with "Tab" key to button "Cancel" and applywith "Enter".
A new folder "optiSLang" was created within the Addins directory of the ANSYS Workbenchinstallation.
Installation Guide
5
Application Start
For installing the license and the licensing tools please read the Dynardo License Guide .
Now the installation is finished and the new programs can be started. To get a first impressionexample projects and tutorials can be used. These can be opened via start menu. Click "start menu"→ "Dynardo" → "optiSLang (inside ANSYS Workbench)" → "4.0.6" → "Examples/Tutorials" .
optiSLang
• Windows
clicking on the optiSLang icon on your desktop (if checked on the "Additional Tasks" installerpage),
selecting optiSLang in the startmenu ("Dynardo" → "optiSLang" → "4.0.6" → "optiSLang 4.0.6")
starting optiSLang in command line [batch mode]: [installation path]\optislang
Find the folders "examples" and "tutorials" in the following directories. For furtherinformations please read the example documentations "*.pdf" located at the same directory.
• Windows 7:
C:\Users\Public\Documents\Dynardo\optiSLang\4.0.6
• Windows XP:
C:\Documents and Settings\All Users\Documents\Dynardo\optiSLang\4.0.6
• Linux
starting optiSLang in command line [batch mode]: [installation path]/optiSLang/optislang
The examples and tutorials folder are located in the "optiSLang installation path".
Note: For Linux the installation of the graphviz package (dot, dotty) is necessary to enable goodgraphical representation.
optiSLang inside ANSYS Workbench
optiSLang inside ANSYS Workbench is integrated in the toolbox of your ANSYS Workbenchapplication.
Installation Guide
6
Examples and tutorials can be found at the following places.
• Windows 7:
C:\Users\Public\Documents\Dynardo\optiSLang inside ANSYS Workbench\4.0.6
• Windows XP:
C:\Documents and Settings\All Users\Documents\Dynardo\optiSLang inside ANSYSWorkbench\4.0.6
• Linux:
"ANSYS Workbench installation path"/Addins/optiSLang
Installation Guide
7
Deinstallation
Windows
• Open the overview of currently installed programs in the system control
• Windows 7: system control → Programs and Features
• Windows XP: system control → Software
• Select optiSLang or optiSLang inside ANSYS
• Run uninstall
The optiSLang folder and all other installed files will be removed from the installation directory.
Linux
• optiSLang
• Remove the [installation path]/optiSLang directory:
> rm -rf [installation path]/optiSLang
• optiSLang inside ANSYS Workbench
• Remove the optiSLang directory in the Addins directory of the ANSYS Workbench installation:
> rm -rf [ANSYS installation path]/v145(v140)/Addins/optiSLang
• Remove the optiSLang configuration file in the Configuration directory of the ANSYSWorkbench installation:
> rm [ANSYS installation path]/v145(v140)/Addins/Configuration/optiSLang.xml
Installation Guide
8
System Requirements
• Windows XP / 7 - 32,64 bit
• Linux RedHat® 5.8 and higher
• optiSLang and optiSLang inside ANSYS are not able to run using temporary profiles on windowssystems.
Those profiles arise when a user profile was created and then accessed only via remote desktopprotocol (RDP). To solve this problem, the user must log on the local systems once. After thatordinary logon some new user infos where set and optiSLang and optiSLang inside ANSYS areable to start on a remote desktop.
Remarks:
• Deactivate "Automatic Updates" to prevent the system from automatic rebootes (in order to runlong analysis)
Installation Guide
9
Dynardo Licensing Guide
How to get the installation package?
• The installation package for setting up the license server for Dynardo products can bedownloaded from:
http://download.dynardo.de/licensing/Dynardo_Licensing.zip
• The zip-archive contains subdirectories for Windows 32 and 64-bit plattforms as well as forLinux 64-bit with the DYNARDO and sc_ag vendor daemons and - for convenience - theflexLM license manager lmgrd and utility executable lmutil in version 11.8. For the Windowsplattforms also the lmtools executable for setting up a system service is included.
• Please download the flexLM licensing tools directly from Flexera:
http://www.globes.com/support/fnp_utilities_download.htm#downloads
• There the installer packages for lmadmin are available, which is the preferred way of settingup server based licensing services. The Dynardo licensing zip-archives contains also documentshow to migrate from lmgrd to lmadmin and the general licensing administration guide fromFlexera. Please refer to these documents if you want to install and use the lmadmin utility.
How to get the license file?
• Please unpack the above mentioned zip-archive on your license server. Go to the matchingplatform directory and run the script lic_info.bat or lic_info.sh which will create afile serverinfo.txt. Please send this file to <[email protected]>, together with yourorder information. Dynardo will send the license files to your e-mail address.
Client (product installation)
• Copy the <product>_client.lic to one of the following directories.
The mentioned directories are listed in descending priority.
• environment variable: DYNARDO_LICENSE_FILE (ineffective for optiSLang v3 licensing)
• environment variable: LM_LICENSE_FILE (ineffective for optiSLang v3 licensing)
• The current working directory
• Home directory of the current user
• Common directory of current user (e.g. %LOCALAPPDATA%\Programs\Dynardo\Common)
• Global Common directory (e.g. %Program Files%\Dynardo\Common)
• Location of the applications executable (e.g. subdirectory bin/platform)
• Application top installation directory
with possible values according to the Flexera licensing guide can be set. On Windows systems itis also possible to create registry entries.
Installation Guide
10
Server (flexLM service)
• For setting up the license server please follow one of the following instructions using the<product>_server_DATE.lic
• On Windows with lmtools
• On Windows with lmadmin
• On Linux with lmgrd
On Windows with lmtools
• The easiest way to set up a license server on Windows systems is to configure a system servicewith the help of the lmtools.exe utility. In general there are only a few steps to go.
Start the lmtools.exe in the according directory, switch to the Config services tab andfill in the fields as shown below:
Then click on the Save Service Button. In order to start the service immediately switchto the Start/Stop/Reread tab, choose the newly created service and click on StartServer. The current state can be checked by switching to the Server Status tab andclicking on Perform Status Enquiry.
On Windows with lmadmin
• Please refer the Flexnet Publisher manual for installation and configuration of lmadmin. If theservice is already running on your system, one can simply import an additional server licensefile. The vendor daemon executables should be located in the Flexnet Publishers installationdirectory first, although their location can be configured on the administration page of theaccording vendor daemon later on. The following screenshots illustrate the import of thelicense file
Installation Guide
11
After importing the license the vendor daemon properties - like location of executables orport usage - can be configured.
If everything was successfully configured the vendor daemons should be in state Up. Thesc_ag daemon is only needed for optiSLang 3.2.1, the DYNARDO daemon for all other productsfrom Dynardo.
Installation Guide
12
On Linux with lmgrd
• On Linux servers just run the lmadmin tool or execute
lmgrd -c <product>_server_DATE.lic -l PRODUCT.log &
in a terminal. Please see the Flexnet manual for the full list of options available for lmgrd andlmutil.
• Static vendor daemon port specification
In case you want to configure the ports of the client-server communication for some reason(another flexLM license server, firewall, ...) you can add these information to the existing licensefiles:
SERVER hostname [flexid] port1VENDOR DYNARDO port=port2
where port1 and port2 are the values of the ports you want to use.