Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


wir2xnf gives error 4 when using Powerview 6.0 (iwinit failure), need lsclient daemon


Record #1075

Product Family:  Software

Product Line:  ViewLogic

Problem Title:
wir2xnf gives error 4 when using Powerview 6.0 (iwinit failure), need
lsclient daemon



Problem Description:
Customers upgrading to Powerview 6.0 with the flexlm security may get an
ERROR 4 when running wir2xnf and xnf2wir.

The error message looks similar to the following:

WIR2XNF Version 5.2.0
(c) Copyright 1988-1995 Xilinx Inc.  All rights reserved.

Input project	  : pscan
Output XNF file   : pscan.xnf
Output CRS file   : pscan.crs
Output error file : pscan.err
B option	  : OFF
Parttype	  : Unspecified on command line
Sub directory	  : Unspecified on command line
SEC: No valid license found
In file: <path>/powerview6.0/standard/license.wv
For product: Generic
pscan.xnf:WIR2XNF ERROR 4: Internal initialization failure : IWINIT FAILURE
1 Errors and 0 Warnings occurred during processing.
Sorry, errors found, could not create output file
Errors and Warnings stored in file pscan.err

WIR2XNF is linked with version 4.1 of Viewbase. The problem is
it cannot get a license under the 6.0 flexlm licensing scheme.


Solution 1:

The lsclient daemon has been developed to allow applications, which have not
been modified to use Viewlogic FLEXlm security, to use FLEXlm licenses.

The lsclient daemon should be able to run on the same server as the
Powerview 6.0 FLEXlm license server.  lsclient acts as the Viewlogic License
Server for WIR2XNF and XNF2WIR.  When a license is requested by WIR2XNF or
XNF2WIR, lsclient checks out the "Generic" license from the Powerview 6.0
FLEXlm license server.

1) Set your WDIR environment variable to point to the
<Powerview6.0>/standard directory.

2) Add the Powerview 6.0 executable directory to your user path.

3) Set the FLEXlm environment variable, LM_LICENSE_FILE, to point to the
Viewlogic FLEXlm license file.

4) Make sure that the LICENSE_SERVER variable in the powerview.ini file in
the powerview6.0/standard directory points to the server with the Powerview 6.0
license.

5) Make sure that the LICENSE_SERVER variable in the workview.ini file in
the powerview6.0/standard directory points to the machine running the
lsclient daemon.  Syntax is:

LICENSE_SERVER <lsclient_machine>

6) Make sure that the old Viewlogic License Daemon (VNSD) is not running on
the LICENSE_SERVER machine.

7) Verify that the Viewlogic License File does have a "Generic" License
available by typing "lmdiag Generic"
This command should return the following:
------------------------------------------------------------
License file: <path_to_the_license_file>
------------------------------------------------------------
"Generic" v600.000, vendor: viewlmgrd
  License servers: <License Server>
  <#> floating licenses
  starts: date, expires: date

This license can be checked out
-----------------------------------------------------


8) Invoke lsclient on the machine that you specified in step 5.

type:
lsclient

For more information on using lsclient, and the restrictions which apply to
using lscleint, refer to Powerview 6.0 FLEXlm User's Guide: Chapter 9,
License Server Client.



End of Record #1075

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals!

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents