Sun N1 Grid Engine 6.1 User's Guide

ProcedureHow to Use the DRMAA 0.95 C Language Binding

The DRMAA shared library, which is enabled by default, supports version 1.0 of the DRMAA C Language Binding Specification. For reasons of backward compatibility, however, Grid Engine also includes an implementation of the 0.95 version of the DRMAA C Language Binding Specification. You should develop all new applications with the 1.0 shared library, but you might occasionally discover an application that requires the 0.95 implementation.

To enable the 0.95 version of the shared library, follow these steps:

  1. Log in as a user that has permissions to modify the Grid Engine installation.


    % su -
  2. Change to the sge-root/lib/arch directory.


    % cd /sge/lib/sol-sparc64
  3. Remove the libdrmaa.so symbolic link.


    %  rm libdrmaa.so
  4. Create a new symbolic link to the 0.95 library.


    % ln -s libdrmaa.so.0.95 libdrmaa.so

    On the Solaris and Linux platforms, the shared library is tagged with a version number. Applications compiled and linked against the 1.0 version will fail claiming that the library could not be found if the 0.95 version of the shared library is enabled, and vice versa. On other platforms, a 1.0 application will load the 0.95 shared library successfully but might fail due to unknown symbols. A 0.95 application will load the 1.0 shared library successfully but will likely fail due to DRMAA functions returning unexpected error codes.

    • To restore the 1.0 version of the shared library, perform steps 1 through 3 and create a new symbolic link to the 1.0 library.


      % ln -s libdrmaa.so.1.0 libdrmaa.so