System requirements

From current

Installation > System requirements

Contents

Supported platforms

Both the Klocwork Server package and Desktop Analysis plug-ins are supported on the following operating systems (except where noted). This means that Klocwork has performed the full test suite on these operating systems with certain hardware and will provide technical support as specified in the Klocwork support policies.

Note: It is not possible to use Klocwork tools with SELinux (Security-Enhanced Linux) enabled.

Processor Operating system
Sun SPARC Sun Solaris 10, 11
Intel and AMD
32 bit and 64 bit
Klocwork supports all Linux distributions such as Fedora, Open Suse, Red Hat Enterprise Linux, Ubuntu, CentOS and Debian running glibc 2.4 or greater (use getconf GNU_LIBC_VERSION to find out your version). If you have any questions about your distribution, please contact Customer Support.
Windows 8
Windows 7
Windows Vista
Windows XP Professional
Windows Server 2012
Windows Server 2008
Windows Server 2003
Mac OS X Lion (10.7)
Mac OS X Snow Leopard (10.6)
IBM Power5
64 bit

IBM AIX 5.3, TL 7 (Server package only), IBM AIX 6.1 TL 4 (Server package only)

Operating system patches and packages

The following patches or packages are required for running Klocwork products (either server or user installations) on certain operating systems. They are in addition to the regular maintenance patches for your operating system.

If you are installing on... you need...


Solaris 10 The zlib package (not required if you are installing only the Klocwork developer tools).
Check that the zlib package is installed. To check that the zlib package is installed, either run
$ pkginfo |grep zlib
or look for a file called libz.so under /usr/lib or /usr/local/lib.
If the zlib package is installed, you will see the package SUNWzlib, or SMCzlib, or both packages.
Linux x86, 64-bit The 32-bit compatibility libraries must be installed. Klocwork Insight works on 64-bit platforms in 32-bit emulation mode, so in order for Klocwork Insight to work on Linux 64-bit platforms, you must ensure that the 32-bit libraries are installed. The way you check and install 32-bit libraries depends on your Linux distribution.

For example, for Ubuntu 13.10 and later, run the following command to install 32-bit compatibility libraries:
$ sudo apt-get install lib32ncurses5:i386

The 32-bit version of the libncursesw:i386 library must be installed. For earlier versions of Ubuntu, consult the documentation.


  • For Fedora Core and Redhat Enterprise Linux, run these commands:
    $ sudo yum install glibc.i686
    $ sudo yum install libgcc.i686
Any Linux distribution that does not install the X11 version of X Window by default xorg-XFree86-deprecated-libs



Operating systems that support Flexera FLEXnet ID Dongles

A FLEXnet ID Dongle is a hardware key, also referred to as a dongle, used to lock software access to the machine on which it is physically installed.

You can use FLEXnet ID Dongles in situations where you:

  • cannot release any system information such as MAC addresses or IP addresses
  • cannot share a license server between multiple sites

There is more information on FLEXnet ID Dongles on the Flexera Web site.

To use Flexera FLEXnet ID Dongles, use one of the following operating systems with the appropriate FLEXnet driver, with HOSTID_FLEXid9 using FLEXnet 11.10.1.0. You can obtain the appropriate driver for your operating system from Klocwork Customer Support.

Operating system FLEXnet driver installer

Red Hat Enterprise Linux 5.x, 6.x

aksusbd-redhat-1.8.1-3.i386.rpm

Windows 8
Windows 7
Windows Vista
Windows XP
Windows Vista (32 bit and 64 bit)
Windows Server 2003

FLEXId_Dongle_Driver_Installer.exe (choose the FLEXid9 driver)

Notes:

  • You must install Flexera FLEXnet ID Dongles at the root/Administrator privilege. For Unix, use su/sudo. For Windows, use an Administrator group.
  • After installing Flexera FLEXnet ID Dongles on Windows, restart the Klocwork Servers.
  • The Linux Red Hat Package Manager (RPM) installer emits an error message about checkpc. Ignore the error message.

Disk space requirements

Disk space requirements for installation

A complete installation requires 400 to 450 Mbytes for installation. Additional disk space is required temporarily during installation.

Disk space requirements for data storage

Klocwork Insight data includes the source files, configuration files, object files, tables, and the database. The total disk space needed for a single integration-build analysis will be the total of all this data. If you use Klocwork incremental analysis, the object file size and table size is needed only once per project.

Some sample projects to show how size can vary

Project Language Lines of code Object file size
(Mbytes)
Table size (Mbytes) Database size (Mbytes) Total size (Mbytes)
Boost C/C++ 140,000 393 17 84 1,638
Firefox C/C++ 1,600,000 2,800 606 702 3,174
X.org C 1,500,000 2,600 608 720 3,928
Linux C 3,100,000 7,200 1,100 1,200 8,089
Common C++ C/C++ 20,000 168 23 45 236
Python C 214,000 114 52 84 143
MySQL C/C++ 350,000 781 133 167 463

Processor and RAM requirements

Server and complete installations

  • Processor speed: 2 GHz or better
  • RAM: Minimum 2 Gbytes for a single core machine and a minimum of 1 GB of memory per processor or core on multicore machines. More than 2 Gbytes may be required for very large analyses. Note that the size of a build and its RAM requirements depend not only on the lines of code, but also on the number and complexity of relationships in the code.

User installations

Klocwork client Processor speed RAM
Klocwork for C/C++ 1 GHz or better 1 Gbyte. On Windows and with precompiled headers, the minimum RAM is 2 GB.
Klocwork for Java 1 GHz or better 1 Gbyte.
Klocwork Review and Klocwork Cahoots 1 GHz or better 1-2 Gbytes recommended

Java Virtual Machine requirements

Windows

If you don't have Java 1.7 Update 25 installed, the Server, Desktop plug-in or Distributed Analysis installation package will install Java 1.7 Update 25. It will be installed in <server_install>/_jvm/bin/ and <desktop_plugin>/_jvm/bin/. Your system must meet the requirements for this version of Java.

If you have a later update of Java 1.7, Java will not be installed, and Insight will use the already installed version.

The installation package detects whether you have a 32-bit or 64-bit operating system and installs the appropriate version of Java.

Linux and Solaris

Insight installs Java 1.7 Update 25. Your system must meet the requirements for this version of Java.

On Linux, there is a separate installation package for both 32-bit and 64-bit Java. Select the one that matches your operating system.

Only 32-bit Java is supported for Solaris.

Mac

You must install JVM 1.6 on your machine before installing the Klocwork Server package or a desktop analysis plug-in. If you have a previous JVM version installed and you try to install the Server, you will see the error message, "Version of Java is too old". Apple supplies their own version of Java. Use the Software Update feature on your Mac.

Only 32-bit Java is supported for Mac.

AIX

Insight installs and uses IBM Java 1.6, so your system must meet the requirements for Java 1.6. At the time of publication, the link to supported system configurations for IBM Java 1.6 was:

http://www.ibm.com/developerworks/java/jdk/aix/service.html

Only 32-bit Java is supported for AIX.

IDE plug-ins

The Klocwork Desktop Java Plug-ins for Eclipse and IntelliJ IDEA require Java 1.6 or greater. You must ensure that your IDE is running on Oracle (Sun) Java 1.6 or greater.

Ports used by the Klocwork servers

The following table shows the default port numbers for a new installation of the Klocwork servers.

Default port numbers

Server name Port
Database Server 3306
License Server 27000 plus 33133
Klocwork Server 8080 plus 8081

You can choose to use alternative ports to the defaults, but first you need to ensure that the ports you choose are not already in use. The default port for each server is the typical port for that type of server (for example, port 3306 is the typical port for a MySQL server), so if you will be running the Klocwork servers on the default ports, ensure that you are not already running other servers on these ports.

Important:

  • If you migrated from a previous version of Klocwork Insight, your servers will be running on the ports stored in the old projects_root.
  • Each Klocwork server must run on a dedicated port. Do not set any other application to use the same port numbers.
  • The Klocwork Server uses two consecutive ports (the one you choose, plus the next one).
  • When the Klocwork servers are running behind a firewall, the firewall needs to be configured to allow client communication to the servers.
  • If port 33133 is not available for use by the License Server, follow the instructions in Changing the vendor daemon port in your license file.

For more information about setting your ports, see Setting the ports used by the Klocwork Servers.

Supported IDEs

Note: Klocwork Insight also has successful integrations with other Eclipse-based IDEs.

Supported C/C++ IDEs

IDE Version
Eclipse 3.4, 3.5, 3.6, 3.7, 4.2 and 4.3
Wind River Workbench 3.1, 3.2, 3.3
QNX Momentics 4.6, 4.7
Microsoft Visual Studio .NET 2005, .NET 2008, .NET 2010, .NET 2012, .NET 2013. The Express edition of Visual Studio is not supported.

Supported C# IDEs

Klocwork C# analysis is available for Microsoft Visual Studio .NET 2005, 2008, 2010, 2012, and 2013. The Express edition of Visual Studio is not supported.

The Smart Device project type is not supported.

Supported Java IDEs

IDE Version
Eclipse 3.4, 3.5, 3.6, 3.7, 4.2, 4.3
JetBrains IntelliJ IDEA 10.0, 10.5, 11.x, 12.x, 13
IBM Rational Application Developer for WebSphere 7.5.x at the level of "Ready for IBM Rational Software" for Eclipse-based solutions

Supported browsers

A browser is required for Klocwork Review and for Klocwork Cahoots.

  • Mozilla Firefox - the current, latest release except for the AIX platform, which is at 3.5.13.1
  • Internet Explorer 8*, 9 and 10
  • Apple Safari 5.x
  • Google Chrome - the current latest release

*Not supported for Klocwork Cahoots

Note: Klocwork Review and Klocwork Cahoots also require that you enable cookies in your browser.

Supported source code management systems for Klocwork Cahoots

Cahoots has been tested with the following, for both pre-checkin and post-checkin code reviews:

SCM Supported plug-ins
Base ClearCase 7.x Eclipse, IntelliJ IDEA, Visual Studio*
CVS 1.12.x Eclipse, IntelliJ IDEA
Git 1.7.x Eclipse, IntelliJ IDEA, Visual Studio**
TFS 2010 Visual Studio
Perforce server 2005.2 or higher Eclipse, Visual Studio
Subversion 1.4.x, 1.6.x, 1.7.x Eclipse, IntelliJ IDEA, Visual Studio

*Base ClearCase is not supported in Visual Studio 2005/2008
**Git is not supported in Visual Studio 2005
***Subversion 1.4.x is not supported by the Visual Studio desktop analysis plug-in

Note: All of the SCM's are supported by using the commands kwcodereview (pre-checkin) or kwscm (post-checkin) on the command-line.

For other SCMs, please contact Klocwork Customer Support.

C/C++ compilers supported for build integration

As part of creating a build specification, Klocwork Insight automatically searches for the following compiler types by default. If your compiler is not on this list, contact Klocwork Customer Support so that we can support your compiler. For details on compilers and on creating build specifications generally, see Creating a C/C++ build specification.

Compiler type Klocwork compiler code Names of common compiler variants Introduced Improved
Analog Devices Blackfin and TigerSHARC dsp ccblkfn, ccts 9.5
Archelon C archelon mcc 10.0
ARM armcc
armlink
ar
armcc, armcpp, tcc, tcpp
armlink
armar
Pre-9.5
CADUL C cross compiler for Intel 80X86 cadul_compile
cadul_link
ccu38o
lnku38a
9.6
CEVA compiler (NVIDIA) ceva c16cc 10.0
Clang gnu clang
clang++
9.6 SR3
CodeWarrior Freescale S12 chc12 chc12 9.5
Compiler caching tools ccache ccache, distcc 9.5
Cosmic cosmiccompile
cosmiclink
cxs12x, cx6812, cx6816, cxstm8
clnk
9.5 9.6
Embarcadero compiler/linker bcc
blink
bcc32
ilink32
9.5
Fujitsu FR Family fcc fcc911s, fcc907s 9.5
GNU gnu
gnu_ld
gcc, g++, cc, c++
ld
Pre-9.5
GNU ar ar ar Pre-9.5
Green Hills GHS ghs
ghscom
ghslink
ghsar
gcc, gcx, ccarm, cxarm, ccmips, cxmips, ccintppc, cxintppc
ecomarm, ecomppc
elxr
ax
Pre-9.5 9.6
Hexagon Tools qdsp qdsp-gcc, qdsp-g++ 9.5
HI-TECH C compiler/linker picc
piclink
picc
hlink
9.6
Hitachi ch38 ch38 ch38.exe Pre-9.5
IAR 78k iar_78_compile icc78k0r 10.0
IAR H8 iar_h8_compile icch8 10.0
IAR M32C iar_m32c_compile iccm32c 10.0
IAR SH compiler/linker iar_sh_compile iccsh 10.0
IAR Systems C compiler/linker for 8051/NEC V850/MSP430/M16C/Renesas RX210/CR16C/ARM/Atmel AVR
(see Limitations)
icc8051
iccv850
icc430
xlink
iccm16c
iar_rx_compile
iar_rx_link
icccr16c
iccarm
ilinkarm
iar_avr_compile_filter
icc8051
iccv850
icc430
xlink
iccm16c
iccrx
ilinkrx
icccr16c
iccarm
ilinkarm
iccavr
Pre-9.5 9.6
IBM XL C/C++ xlc cc, xlc, xlC and related commands (see <klocwork_install>/config/kwfilter.conf for full list) 9.5
ImageCraft AVR iccavr iccavr, iccavr32 9.5 10.0
Intel C++ icc
icl
icc, icpc
icl
Pre-9.5
Intel iC-386 c386 c386a 9.6
Keil CA51 c51
lx51
c51, cx51, c166, c251
lx51, l166, l251
9.5 9.6
Marvell C compiler/linker marvell_compile ccmsa 10.0
MetaWare High C/C++ arc
ararc
ldarc
mcc
hcarc, hcac
ararc, arac
ldarc, ldac
mcc
Pre-9.5 9.5
Metrowerks CodeWarrior mwc mwcc, mwccmcf Pre-9.5
Microchip MPLAB pic24 pic30 pic30-gcc 9.5
Microchip MPLAB pic32 pic32 pic32-gcc, pic32-g++, xc32-gcc, xc32-g++ 10.0
Microsoft Visual C++ mscompile
mslink
cl, clarm
link, lib
Pre-9.5
Microtec mcx
mlk
mcx
mlk
9.5
Microware Ultra C for OS-9 ultra xcc 10.0
Motorola DSP563 moto563compile
moto563link
g563c
dsplnk
9.6
MPLAB C18 mcc18
mplink
mcc18
mplink
9.5
Nvidia CUDA nvcc nvcc 9.6
Panasonic C cc103S
ld103S
cc103S
ld103S
9.5
Paradigm C/C++ pcc
plink
pcc
plink
9.6
Plan 9 C plan9
ar
0c, 1c, 2c, 5c, 6c, 7c, 8c, 9c, kc, qc, vc
ar.l
9.5
QNX qnx qcc Pre-9.5
Renesas 78K0R ren_cc78
cc78k0r
ren_lk78
lk78k0r
9.6
Renesas CX ren_cx cx 10.0
Renesas M32R family compiler/linker ren_m32_compile/ren_m32_link cc32r (compiler)
lnk32r (linker)
10.0
Renesas SuperH and RX family rxcompile
rxlink
rxc, shc
optlnk
9.5
Renesas R8C and M16C families nc30 nc30 9.5
Renesas V850 ca850
ld850
ca850
ld850
9.5
Rowley Crossworks for MSP430 rowley_compile hcl 10.0
SN Systems compiler for Sony snc psp2snc, ps3ppusnc 10.0
Star Core Freescale scc
sc100-ld
scc
sc100-ld
Pre-9.5
Sun Studio C/C++ sun CC, cc Pre-9.5
Target Chess chess chesscc 10.0
Tasking 68K Toolset compiler/linker tasking_68_compile
tasking_68_link
c68360, cp68360, c68332, cp68332 (compiler)
llink (linker)
10.0
Tasking ARM Toolset compiler/linker tasking_arm_compile
tasking_arm_link
ccarm (compiler)
lkarm (linker)
10.0
Tasking Classic Toolset for C166 compiler/linker tasking_classic_166_compile
tasking_classic_166_link
cc166
l166
9.5 9.6
Tasking IFX SLE88 cj2 cj2 9.5
Tasking Tricore tricore_compile
tricore_link
cctc
ltc
9.5
Tasking VX Toolset for C166 compiler/linker tasking_166_compile
tasking_166_link
cc166
lk166
9.6
Tensilica Xtensa C/C++ xtensa xt-xc
xt-xc++
9.6


TI ARP32 C/C++ cl_arp32 cl-arp32 9.5
TI msp430 C/C++ cl430 cl430 9.5
TI tms320c6x and tms320c55x cl6x
link6x
ar6x
cl6x, cl55
link6x
ar6x
Pre-9.5
TI tms320C3x/4x C cl30/lnk30 cl30 (compiler)
lnk30 (linker)
10.0
TI tms320c28x cl2000
lnk2000
ar
cl2000
lnk2000
ar2000
9.5
TI tms470 cl470
lnk2000
ar
cl470
lnk470
ar470
9.6
TriMedia tmcc tmcc tmcc, tmCC Pre-9.5
Watcom compiler/linker watcom_compile
watcom_link
wcc, wpp, wcc386, wpp386 (for compiler)
wlink (for linker)
10.0
WinAVR gnu
ar
avr-gcc, avr-g++
avr-ar
9.6
Wind River Diab diab
dld
ar
dcc, dplus
dld
dar
Pre-9.5
Wind River GCC gnu ccppc 9.5
ZiLOG eZ80 ez80cc
ez80link
ez80cc
ez80link
9.5

Supported C# language specifications

Klocwork Insight support versions 1.0, 2.0 and 3.0 of the C# language specification.

Application servers supported by Klocwork JSP scanning

Klocwork’s JSP scanning supports the following application servers:

Application server Version
Apache Tomcat 5.5, 6.0, 7.0
BEA WebLogic 10

Supported versions of MySQL

For Windows, Linux and Mac, the Database Server is a MySQL 5.1.68 database server. For Solaris and AIX, the Database Server is a MySQL 5.1.66 database server. If you want to use your own manually installed MySQL database server, it must be the appropriate version. If necessary, upgrade your separate MySQL database before you install or upgrade Klocwork Insight.

Supported LDAP servers

  • Windows Server 2003: Microsoft Active Directory
  • Windows Server 2008: Microsoft Active Directory
  • Linux: OpenLDAP
  • Sun Java System Directory
  • Novell eDirectory