Ensure that your scheduler supports job submission via the DRMAA API. Also ensure that libdrmaa.so is in your library path (by setting the LD_LIBRARY_PATH environment variable). We have only tested job submissions to SGE 6.x.
Set the following properties inside the opal.properties file: opal.jobmanager to edu.sdsc.nbcr.opal.manager.DRMAAJobManager, and drmaa.pe to the name of the parallel environment (PE) to be used to submit parallel jobs. You can ignore drmaa.pe if you do not plan on supporting parallel jobs. You can optionally set a DRMAA queue for job submission by setting the drmaa.queue property.
Note that the drmaa.pe and the drmaa.queue can also be overridden on a per-application basis within the application configuration file.
Reinstall Opal by running the following command:
ant install |
Restart Tomcat for the changes to take effect.
Note that we do not stage input and output files from the Opal server to the submit host if DRMAA is being used; hence, the machines should be on a shared file system for the DRMAA job manager to work correctly.
Also note that DRMAA support will not work correctly if you have another version of the drmaa.jar inside Tomcat's common/lib or server/lib directories, since that will be loaded first by Tomcat's class loader.