Previous Topic

Next Topic

Book Contents

Book Index

Stand-alone PMOD Installation with USB Key Protection

Install USB Key Drivers

All the files required for the driver installation have been extracted during the installation of the PMOD software and stored in the PMOD directory tree. Browse to the directory
/Applications/Pmod3.1/hksetup/MacOSX

First double-click WkRuntimeUser_5.21.500.dmg, then WkInstall.pkg, and perform a standard installation

Note: If you experience problems during driver installation, you are recommended downloading the most recent drivers for the WIBU-KEY (Runtime Kit) from http://wibu.com/download_user.php and try the installation again. Also, in some cases, a reboot may be required after driver installation.

License File

In the delivery note you have received with the PMOD CD you find account information for logging into the support area of www.pmod.com. There you will find a license report, and a button for downloading the license file for your purchased configuration. Please download pstarter.lcs and copy it to the directory /Applications/Pmod3.1/properties/system/lcs.

Important Note: Please do not change pstarter.lcs in any way - a modified license file will not be accepted. Do not open pstarter.lcs in any program, do not rename it, and if you transfer it per FTP, use binary transfer.

Start PMOD

PMOD can now be started by double-clicking the RunPmod.command script in /Applications/Pmod3.1/Start/. Depending on the selected configuration it contains the following commands:

32-Bit (= JRE 1.5):

cd /Applications/Pmod3.1
java=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java
$java -version
$java -Xmx1800M -jar pmod.jar

64-Bit (= JRE 1.6):

cd /Applications/Pmod3.1
java=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
$java -version
$java -Xmx4000M -jar pmod.jar

Alternatively, the script can be dragged once from the finder to the Mac OS X taskbar to create a shortcut. From then on, PMOD can be started using this shortcut.

Notes: 

The script has been tailored to the installation directory. Therefore, if the Pmod3.1 directory is moved to a different location, the path needs to be adjusted.

The -Xmx1800M option specifies the maximum heap memory (1800 MB) that PMOD can allocate. To process large data sets this number should be increased. However, please note that currently there is an operating-system dependent limitation on 32-Bit operating systems: only a maximum of 1800M can be allocated, even if the physical RAM size is larger. Increasing -Xmx beyond 1800M might result in an error Could not reserve enough space for object heap. Caution: The P3D tool may crash, when the reserved space approaches the physical RAM size.

Change Permission Settings of Directories for writing

To allow other users than root the full usage of PMOD it is important to open some key PMOD directories for writing:
chmod -R ugo+w /Applications/Pmod3.1/properties
chmod -R ugo+w /Applications/Pmod3.1/data

There may be other directories you have to open for writing later on, if several users are working with the same PMOD installation.