Transcript

© 2010 Autodesk

Autodesk Moldflow 2012

Installation Licensing and Troubleshooting for

LINUX

© 2010 Autodesk

Content

Installation

Text based installation script

Troubleshoot

Installation and licensing issues

Useful commands

Linux

Autodesk Moldflow

* All pictures done on a Suse System

© 2010 Autodesk

INSTALLATION

© 2010 Autodesk

Attention

Read the installation guide before beginning the installation

process

Small changes to previous installation!

© 2010 Autodesk

Installation

No license server on Linux, only license client

No need for serial number or product key :

AMI advanced is installed

When installing, enter license server name using ip address or

with full hostname including domain

© 2010 Autodesk

Installation

File

DVD

Media

© 2010 Autodesk

Installation

susie:/opt # cd Autodesk/moldflow/install

susie:/opt/Autodesk/moldflow/install # tar xvof amilx26ol.tar setup.exe setup.inf

setup.exe

setup.inf

susie:/opt/Autodesk/moldflow/install # ./setup.exe

------------------------------------------------------------------

Autodesk Setup Procedure - Version 5.0

------------------------------------------------------------------

Autodesk Setup Installation Menu

-----------------------------------

Autodesk Moldflow Insight - Release 2012

1. SELECT ALL PRODUCTS

NOT SELECTED 2. Autodesk Moldflow Insight

3. SHOW PRODUCT DESCRIPTIONS

4. INSTALL SELECTED PRODUCTS

0. EXIT MENU

Enter selection or list (0 - 4) [4] : 2

Example: file Create directory and copy tar file to this location

Extract 2 files

© 2010 Autodesk

Installation Example: file Autodesk Setup Installation Menu

-----------------------------------

Autodesk Moldflow Insight - Release 2012

1. SELECT ALL PRODUCTS

SELECTED 2. Autodesk Moldflow Insight

3. SHOW PRODUCT DESCRIPTIONS

4. INSTALL SELECTED PRODUCTS

0. EXIT MENU

Enter selection or list (0 - 4) [4] : 4

Are you installing directly from a CD-ROM? (y/n): n

Please enter the tar file name : /opt/Autodesk/moldflow/install/amilx26ol.tar

This command will use the tar file

© 2010 Autodesk

Loading product files from file:

Progress: [##################################################] 100%...

Extracting 167139 Kb from product files (261342700 Kb free):

Progress: [##################################################] 100%...

Installing Release 2012:

Progress: [##################################################] 100%...

Autodesk Client Machine setup:

This performs the tasks remaining to allow users to run the software

'Autodesk Moldflow Insight Release 2012' on host 'susie'

Do you wish to proceed with the Autodesk Client Machine setup? (y/n) [yes]:

Checking for required operating system components...

All operating system component checks OK

System tests completed OK.

Installation Example: file

Need to change to YES manually.

Client setup needs to be done!

© 2010 Autodesk

Adding /opt/Autodesk/moldflow/ami2012

to list of installed Moldflow Software... Done.

Creating ADLM client shared library symbolic links.

Creating ADLM PIT installation shared library symbolic links.

Creating ADLM utilites shared library symbolic links.

Installing ADLM client adlmapps4-4.0.35-0.x86_64.rpm.

Installed ADLM client adlmapps4-4.0.35-0.x86_64.rpm.

Installing ADLM PIT tables.

There is no ADSKFLEX License Server set.

Do you wish to set a ADSKFLEX License Server now (y/n) [yes]:

Enter the hostname of the ADSKFLEX License Server : cgn6pmhsj

The ADSKFLEX License Server will be set to "cgn6pmhsj".

Is this correct, if not it will be left unchanged (y/n) [yes]:

Setting ADSKFLEX License Server ... Done.

Autodesk Moldflow Insight 2012 Job Manager Settings

The Job Manager will write temporary files to /tmp

/tmp has 261008280 Kb free

Use this location for temporary files? (y/n) [no]: y

Installing Autodesk Moldflow Insight 2012 Job Manager daemon

Starting Autodesk Moldflow Insight 2012 Job Manager

/usr/bin/nohup: redirecting stderr to stdout

Autodesk Moldflow Insight 2012 Job Manager Installed

Autodesk Client Machine setup is complete.

Installation Example: file

This will setup the license server and

create the entry into the licpath.lic file.

This will setup the tmp location.

© 2010 Autodesk

You must now modify each Autodesk user's .cshrc or .profile files.

(See section: Setting up a Users Environment in the Installation Guide)

Users can then run Autodesk software on host 'susie'.

NOTE: C shell users must add:

"source /opt/Autodesk/moldflow/ami2012/data/MFENV.csh"

to their $HOME/.cshrc file in order to run the software

NOTE: Korn shell users must add:

". /opt/Autodesk/moldflow/ami2012/data/MFENV.sh"

to their $HOME/.profile file in order to run the software

Autodesk Moldflow Insight Release 2012 installation completed.

Cleaning up files:

Progress: [##################################################] 100%...

Done.

susie:/opt/Autodesk/moldflow/install #

Installation Example: file

Which shell is in use?

add

User home

MFENV contains all environment variables

.profile

© 2010 Autodesk

Installation MFENV

MFENV contains all environment variables

For: Korn shell For: C shell

© 2010 Autodesk

TROUBLESHOOT

© 2010 Autodesk

Installation

Supported system

Troubleshoot

red hat EL 5.4:

not supported; will not work.

Analysis may start but will then fail

openSuSE 11.1:

not supported; will normally work

© 2010 Autodesk

Installation

Check installed Releases

Troubleshoot

© 2010 Autodesk

License

For license issues use the checklist

Troubleshoot

© 2010 Autodesk

License Troubleshoot

Error message ?

Describe: How is the analysis started via job manager from a PC or on linux direct via command line and runstudy?

© 2010 Autodesk

License Troubleshoot

PC Is the license working on Client PC?

© 2010 Autodesk

License Troubleshoot

On Linux Do ALL file exist under /opt/Autodesk/Adlm

Available?

Client installation

*[2011 was [/var/adm/moldflow]

© 2010 Autodesk

License Troubleshoot

Ports Open: 2080, 27000 and 20323; if firewall exist

© 2010 Autodesk

License Troubleshoot

On PC License Server Check if the linux machine ask for a license:

© 2010 Autodesk

License Troubleshoot

On linux /var/adm/moldflow/ check MFAA2012.log file

o.k.

© 2010 Autodesk

License Troubleshoot example

Error message

Log in Synergy on PC

** WARNING 99997 ** Required license for fiber is not available, or all licenses

are currently in use.

Continuing analysis without feature. ** ERROR 99998 ** Required license for AMI_BASIC is not available, or all licenses are

currently in use or the product you have installed is not licensed to

run this feature.

Error message

MFAA2012.log

30282 2011/06/16 14:47:45 Reason=Fatal error

30282 2011/06/16 14:47:45 ComputerName=linuxhostname

30282 2011/06/16 14:47:45 OS=2.6.27.7-9-default

30282 2011/06/16 14:47:45 File=AdlmIntLicenseMgr.cpp,Line=309

30282 2011/06/16 14:47:45 AdlmIntError=34 [The locale supplied is invalid, using the system locale]

30282 2011/06/16 14:47:45 Reason=Fatal error

30282 2011/06/16 14:47:45 ComputerName=linuxhostname

30282 2011/06/16 14:47:45 OS=2.6.27.7-9-default

30282 2011/06/16 14:47:45 File=AdlmIntLicenseMgr.cpp,Line=1718

30282 2011/06/16 14:47:45 AdlmIntError=30 [Error loading the resource table]

Problem Unsupported language setting example LANG=C

Solved by changing the lang

variable in job manager

perhosts file

LANG=de_DE.UTF-8

export LANG

© 2010 Autodesk

License Troubleshoot

Licpath.lic Check the file licpath.lic

Check if the linux can ping the linuxhostname

What is the content of $ BASEDIR/licpath.lic as only this file is relevant for resolving the license

server host name (and communication port).

Note if a different communication port is used: (not 27000, e.g. using redundant servers through

port 27005) the first line of this file should be edited and the communication port appended as the

4th word (after 000000000000)

© 2010 Autodesk

License Troubleshoot

If available Check content of adskflex.opt (on license server)

© 2010 Autodesk

License Troubleshoot Create a log: ami2012jm_perhost_vars.ksh in /var/adm/moldflow

add into the file which is marked in green

FLEXLM_DIAGNOSTICS=3

export FLEXLM_DIAGNOSTICS

Job manager to stop and restart

Then start the calculation from the PC via the Job Manager

on the Linux and I then check the screen output.

It should look like this one:

(C)2009 2010 2011

Portions of this software are covered by U.S. Patent Numbers 5,287,408 and

6,096,088.

Flow Analysis

Version: ami2012-barium_main (Build 11117-001)

64-bit build

Analysis commenced at Thu Jun 16 11:57:30 2011

Analysis running on host: susie

Operating System: Linux 2.6.32.12-0.7-default

Processor type: Quad-Core AMD Opteron(tm) Processor 2354 2200 MHz 1700 MHz

1100 MHz

Number of Processors: 4

Total Physical Memory: 16014 MBytes

Analysis has detected a mesh change since initial mesh

generation ... recalculating mesh match and thickness information

Processing Dual Domain mesh...

Computing match using the maximal-sphere algorithm

... finished processing Dual Domain mesh

No mesh for the cores was found.

Core shift analysis switched OFF

FLEXnet Licensing checkout error: No such feature exists.

Feature: 85825MFIB_2012_0F

License path: /opt/Autodesk/moldflow/ami2012/licpath.lic:

FLEXnet Licensing error:-5,412

For further information, refer to the FLEXnet Licensing documentation,

available at "www.flexerasoftware.com".

license file(s): /opt/Autodesk/moldflow/ami2012/licpath.lic

FLEXnet Licensing checkout error: No such feature exists.

Feature: 85824MFIP_2012_0F

License path: /opt/Autodesk/moldflow/ami2012/licpath.lic:

FLEXnet Licensing error:-5,412

For further information, refer to the FLEXnet Licensing documentation,

available at "www.flexerasoftware.com".

license file(s): /opt/Autodesk/moldflow/ami2012/licpath.lic

Checkout succeeded: 85823MFIA_2012_0F/143B 57AA A940 50E0

License file: /opt/Autodesk/moldflow/ami2012/licpath.lic

License Server: @mucczx111g7

© 2010 Autodesk

License Troubleshoot

protocol Check which once is used IPV 4 and or IPV6. If IPV 6 only that is not supported

(/sbin/ifconfig )

© 2010 Autodesk

COMMANDS

© 2010 Autodesk

Linux Useful commands

“ps –e pipe grep jm” ps –e | grep jm

ps - report process status

ps -e select all processes

Is the Jobmanager running?

© 2010 Autodesk

Linux Useful commands

env

env –e | grep LANG

Capital letters

© 2010 Autodesk

Linux Useful commands

su

su - username

Pure su command: change to root (THE ADMINISTRATOR

on Linux/Unix systems)

© 2010 Autodesk

Linux Useful commands

ls

ls – la

© 2010 Autodesk

Linux Useful commands

ls – la

chmod

chown

chgrp

Change rights

Change owner

Change group

rights owner group

Example change rights to all

© 2010 Autodesk

Linux Useful commands

mount mount - mount a file system

All files accessible in a Unix system are arranged in one big tree,

the file hierarchy, rooted at /. These files can be spread out over

several devices. The mount command serves to attach the file

system found on some device to the big file tree. The standard

form of the mount command, is

mount -t type device dir

© 2010 Autodesk

Linux Useful commands

cd ..

cd /opt/Autodesk

Use “/” at the beginning

© 2010 Autodesk

Linux Special Autodesk Moldflow commands

runstudy studyname.sdy

start

end

© 2010 Autodesk

Linux Special Autodesk Moldflow commands

./ami2012jmrc Starts and stops the Moldflow Job Manager

© 2010 Autodesk


Recommended