|
Installing and configuring OmniMark Concurrent Processing Engine on UNIX
On a UNIX machine, you install OmniMark Concurrent Processing Engine by untarring the files into a suitable directory. Once OmniMark Concurrent Processing Engine is installed, you must license it.
To license your copy of OmniMark Concurrent Processing Engine you must request a license key from Stilo.
To receive and install your license key
STEP 1
Run OmniMark Concurrent Processing Engine and issue the -reqkeygen command, saving the output to a file, with the following arguments:
- The serial number you received when you purchased OmniMark Concurrent Processing Engine.
- The email address you want the license key sent to.
- A string of your choice that will let you identify the license key you will receive. This is useful if you are licensing several copies of OmniMark Concurrent Processing Engine at once.
For example, suppose that your serial number is SN-Yy3X-ptdi-gpa-u[4 and you want to save the request key in the file "req.txt". Using a Bourne shell, you would enter:
omcpe -reqkeygen "SN-Yy3X-ptdi-gpa-u[4" [email protected] "Machine Sol23" 2> req.txtUsing the C shell:
omcpe -reqkeygen "SN-Yy3X-ptdi-gpa-u[4" [email protected] "Machine Sol23" >& req.txtOmniMark Concurrent Processing Engine will generate a request key and write it to the specified file.
STEP 2
Email the content of the request key file to [email protected]. You will receive a license key by return email.
STEP 3
Create an environment variable called OMNIMARK_INFO and give it the value "AUTH:" followed by your license key. For example: for Bourne shells (sh, ksh, bash and variants):
export OMNIMARK_INFO="AUTH:AU-tuRo-mXA#-+pXV-3rd#-mKfv-Jtnj-4+Q"If you already have an OMNIMARK_INFO environment variable, you can add your new key to the end of the existing key using a semi-colon as a separator:
export OMNIMARK_INFO="AUTH:fjeie89erhjefiou39;AUTH:AU-tuRo-mXA#-+pXV-3rd#-mKfv-Jtnj-4+Q"In C shells (csh , tcsh and variants):
setenv OMNIMARK_INFO "AUTH:AU-tuRo-mXA#-+pXV-3rd#-mKfv-Jtnj-4+Q"or for more than one environment variable:
setenv OMNIMARK_INFO "AUTH:fjeie89erhjefiou39;AUTH:AU-tuRo-mXA#-+pXV-3rd#-mKfv-Jtnj-4+Q"Configure the search paths for OmniMark Concurrent Processing Engine
OmniMark Concurrent Processing Engine ships with a number of external function libraries. Your OmniMark scripts can call functions in these libraries. You can also write your own external function libraries or obtain libraries from third parties.
You must configure your system so that OmniMark Concurrent Processing Engine can find the external function libraries you install. When you install OmniMark Concurrent Processing Engine on a UNIX system, external function library directories are not located automatically. You must do one of the following:
- set the OMNIMARK_XFLPATH environment variable
- use the -x command line options
When setting the OMNIMARK_XFLPATH variable under UNIX, paths should be separated by a colon. For example: for Bourne shells (sh, ksh, bash and variants):
export OMNIMARK_XFLPATH = /bin/omnimark/lib/:/bin/mystuff/lib/In C shells (csh, tcsh and variants):
setenv OMNIMARK_XFLPATH /bin/omnimark/lib/:/bin/mystuff/lib/If you want a specific OmniMark script to use a different set of external function libraries, you can specify their location on the OmniMark Concurrent Processing Engine command line using the -x command line option. You can prevent OmniMark Concurrent Processing Engine from searching the directories named in the environment with the -noenvarg or -noea command line option.
When OmniMark Concurrent Processing Engine attempts to load an external function library, the following locations will be searched, in order:
- the current directory
- directories that the operating system searches when attempting to load an external function library. (For example, on Linux, it is all directories specified by the LD_LIBRARY_PATH environment variable.)
- paths specified on the OmniMark Concurrent Processing Engine command line
- paths specified in environment variables
To use the OMDB library, you must set the LD_LIBRARY_PATH environment variable to the path of your ODBC driver. (See the example for OMNIMARK_XFLPATH.)
OmniMark Concurrent Processing Engine ships with a number of include files. Your OmniMark scripts can call functions in these files. You can also write your own include files, or obtain libraries from third parties.
If you want to run OmniMark Scripts from source, you must configure your system so that OmniMark Concurrent Processing Engine can find the include files you install. When you install OmniMark Concurrent Processing Engine on a UNIX system, directories containing the include files (".xin" files) are not located automatically. You must do one of the following:
- set the OMNIMARK_INCLUDE environment variable
- use the -i command-line options
When setting the OMNIMARK_INCLUDE variable under UNIX, paths should be separated by a colon. For example, if you are using a Bourne shell:
export OMNIMARK_INCLUDE = /bin/omnimark/xin/:/bin/mystuff/xin/If you are using a C shell, it would look like this:
setenv OMNIMARK_INCLUDE /bin/omnimark/xin/:/bin/mystuff/xin/If you want a specific OmniMark script to use a different set of include files, you can specify their location on the command line using the -i command line option. You can prevent OmniMark Concurrent Processing Engine from searching the directories named in the environment using the -noenvarg or -noea command line option.
When searching for include files, OmniMark Concurrent Processing Engine searches in the following order:
- the current directory
- paths specified on the OmniMark Concurrent Processing Engine command line
- paths specified in environment variables
OmniMark 9.1.0
EUM105 1108, generated: September 8, 2010 at 11:56:21 am
If you have any comments about this section of the documentation, send email to
[email protected]